fix(update): drop restore control-ui step

This commit is contained in:
Istvan Hornyak 2026-01-29 18:11:41 +01:00
parent cb4b3f74b5
commit 006ae27e0a
2 changed files with 0 additions and 12 deletions

View File

@ -112,7 +112,6 @@ describe("runGatewayUpdate", () => {
"pnpm install": { stdout: "" }, "pnpm install": { stdout: "" },
"pnpm build": { stdout: "" }, "pnpm build": { stdout: "" },
"pnpm ui:build": { stdout: "" }, "pnpm ui:build": { stdout: "" },
[`git -C ${tempDir} checkout -- dist/control-ui/`]: { stdout: "" },
"pnpm moltbot doctor --non-interactive": { stdout: "" }, "pnpm moltbot doctor --non-interactive": { stdout: "" },
}); });

View File

@ -676,17 +676,6 @@ export async function runGatewayUpdate(opts: UpdateRunnerOptions = {}): Promise<
); );
steps.push(uiBuildStep); steps.push(uiBuildStep);
// Restore dist/control-ui/ to committed state to prevent dirty repo after update
// (ui:build regenerates assets with new hashes, which would block future updates)
const restoreUiStep = await runStep(
step(
"restore control-ui",
["git", "-C", gitRoot, "checkout", "--", "dist/control-ui/"],
gitRoot,
),
);
steps.push(restoreUiStep);
const doctorStep = await runStep( const doctorStep = await runStep(
step( step(
"moltbot doctor", "moltbot doctor",