-
Notifications
You must be signed in to change notification settings - Fork 15
DNM engineering: Add --runtime flag
#385
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
ab8e75c
d95b7a3
701d53e
5777a91
bdf5656
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -24,6 +24,7 @@ pub(crate) fn update( | |||||
| host_config: &HostConfiguration, | ||||||
| state: &mut DataStore, | ||||||
| allowed_operations: &Operations, | ||||||
| expect_runtime: bool, | ||||||
|
||||||
| expect_runtime: bool, | |
| runtime: bool, |
Copilot
AI
Dec 9, 2025
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.
The new AbUpdateRuntimeFlagMismatch error behavior lacks test coverage. Given that this repository has comprehensive test coverage for other error cases and the update function handles critical update logic, this new error path should be tested to ensure it correctly prevents A/B updates when the --runtime flag is set.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -155,6 +155,9 @@ Options: | |||||
| -v, --verbosity <VERBOSITY> | ||||||
| Logging verbosity [OFF, ERROR, WARN, INFO, DEBUG, TRACE] | ||||||
| [default: DEBUG] | ||||||
| --runtime | ||||||
| Boolean indicating that a runtime update is expected and an | ||||||
| A/B update should result in a fatal error | ||||||
| -s, --status <STATUS> | ||||||
| Path to save the resulting Host Status | ||||||
| -e, --error <ERROR> | ||||||
|
|
@@ -183,6 +186,11 @@ Possible values: | |||||
| Default: `stage,finalize` | ||||||
|
|
||||||
|
|
||||||
| #### <span>--runtime <RUNTIME></span> | ||||||
|
ayaegashi marked this conversation as resolved.
|
||||||
| #### <span>--runtime <RUNTIME></span> | |
| #### <span>--runtime</span> |
Uh oh!
There was an error while loading. Please reload this page.