You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use production propolis-server flags in PHD CI builds (#878)
We use the dev (e.g. non-release) build of propolis-server in PHD to get
debug assertions, which we want, but we should use the `omicron-build`
feature to be in line with production binaries.
`omicron-build` had also acquired code related to failure injection,
which we *also* want in CI so we can test migration failure codepaths.
That is moved to a new `failure-injection` feature flag with a bit of
ceremony to stop us early if we're ever inadvertently packaging a
propolis-server with `omicron-build` and `failure-injection`.
Fixes#412.
---------
Co-authored-by: Greg Colombo <greg@oxidecomputer.com>
Copy file name to clipboardexpand all lines: openapi/propolis-server.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1526,7 +1526,7 @@
1526
1526
]
1527
1527
},
1528
1528
"MigrationFailureInjector": {
1529
-
"description": "Describes a synthetic device that registers for VM lifecycle notifications and returns errors during attempts to migrate.\n\nThis is only supported by Propolis servers compiled without the `omicron-build` feature.",
1529
+
"description": "Describes a synthetic device that registers for VM lifecycle notifications and returns errors during attempts to migrate.\n\nThis is only supported by Propolis servers compiled with the `failure-injection` feature.",
0 commit comments