test(update): cover authenticated restart updates

This commit is contained in:
Vincent Koc
2026-05-04 21:57:57 -07:00
parent 70f34bf177
commit 2de0113608
19 changed files with 838 additions and 57 deletions

View File

@@ -156,6 +156,7 @@ describe("scripts/lib/docker-e2e-plan", () => {
"update-channel-switch",
"upgrade-survivor",
"published-upgrade-survivor",
"update-restart-auth",
]);
expect(packageUpdateCore.lanes).toEqual(
expect.arrayContaining([
@@ -188,6 +189,11 @@ describe("scripts/lib/docker-e2e-plan", () => {
name: "published-upgrade-survivor",
stateScenario: "upgrade-survivor",
}),
expect.objectContaining({
name: "update-restart-auth",
command: "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:update-restart-auth",
stateScenario: "upgrade-survivor",
}),
]),
);
expect(pluginsRuntimePlugins.lanes.map((lane) => lane.name)).toEqual(["plugins"]);