fix: expose safe restart deferral bypass (#78658)

Expose the existing safe-restart skipDeferral escape hatch through gateway RPC and the daemon CLI, document the flag, and add restart/CLI regression coverage.

Also keep CLI failure output off the cold bootstrap graph and align CLI guidance expectations needed by current CI.

Co-authored-by: Solomon Neas <solomonneas@users.noreply.github.com>
This commit is contained in:
Solomon Neas
2026-05-08 20:42:36 -04:00
committed by GitHub
parent 612e72ebbd
commit b81414be45
16 changed files with 263 additions and 18 deletions

View File

@@ -204,7 +204,7 @@ describe("models cli", () => {
command: modelsSetImageCommand,
},
])("rejects parent --agent for models $label", async ({ args, command }) => {
await expect(runModelsCommand(args)).rejects.toThrow("does not support `--agent`");
await expect(runModelsCommand(args)).rejects.toThrow("does not support --agent");
expect(command).not.toHaveBeenCalled();
});