infix icon indicating copy to clipboard operation
infix copied to clipboard

Increase robustness of operational datastore

Open troglobit opened this issue 1 year ago • 1 comments

Description

... WIP ...

Fixes #558

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • [ ] Bugfix
    • [ ] Regression tests
    • [ ] ChangeLog updates (for next release)
  • [ ] Feature
    • [ ] YANG model change => revision updated?
    • [ ] Regression tests added?
    • [ ] ChangeLog updates (for next release)
    • [ ] Documentation added?
  • [ ] Code style update (formatting, renaming)
  • [ ] Refactoring (please detail in commit messages)
  • [ ] Build related changes
  • [ ] Documentation content changes
  • [ ] Other (please describe):

troglobit avatar Aug 17 '24 09:08 troglobit

Ugly intermediate state of this PR, which still shows the general direction where I'd like to take this:

  • make yanger more robust so that it does not break the operational ds
  • add more logging to yanger in cases where user gets an empty [] back
  • allow test framework to retry more, e.g., container hasn't stopped/started yet

troglobit avatar Aug 19 '24 11:08 troglobit

Squeaky clean! ✨

Thank you! Your last suggestion btw, about allowing errors to bubble up, already uncovered a few missing test files and error handling in tests. Which @mattiaswal is working on right now :sunglasses:

troglobit avatar Aug 22 '24 15:08 troglobit