-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
o/confdbstate: add helper to schedule load confdb hook/tasks #15110
base: master
Are you sure you want to change the base?
o/confdbstate: add helper to schedule load confdb hook/tasks #15110
Conversation
The loading change will reuse GetStoredTransaction to obtain the transaction stored or linked by a task. However, the confdb loading doesn't commit anything so it doesn't make sense to store the task ID under "commit-task". This changes that to "tx-task". Signed-off-by: Miguel Pires <[email protected]>
Refactors the accumulating of custodian snap names into the same function that looks for relevant plugs so we don't need to duplicate it in when we implement something similar for the loading confdb change. Signed-off-by: Miguel Pires <[email protected]>
Signed-off-by: Miguel Pires <[email protected]>
Tue Feb 25 12:12:44 UTC 2025 Failures:Executing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, small question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Miguel Pires <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #15110 +/- ##
==========================================
+ Coverage 78.07% 78.15% +0.08%
==========================================
Files 1182 1177 -5
Lines 157743 157871 +128
==========================================
+ Hits 123154 123387 +233
+ Misses 26943 26830 -113
- Partials 7646 7654 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
81070b9 changes the key used to link tasks to the transaction carrying task
c3aca30 is a small refactor to prevent duplicating some code in the new helper
5490fc1 adds support for the query-view and load-view hooks as well as a helper that schedules tasks appropriately