Infra: catch rebase --abort failure to prevent stuck repo state

This commit is contained in:
Jie Lin 2026-03-03 21:12:56 -05:00
parent dc4441322f
commit 9de2e83a31

View File

@ -631,7 +631,7 @@ export async function runGatewayUpdate(opts: UpdateRunnerOptions = {}): Promise<
const abortResult = await runCommand(["git", "-C", gitRoot, "rebase", "--abort"], {
cwd: gitRoot,
timeoutMs,
});
}).catch(() => ({ stdout: "", stderr: "rebase --abort failed", code: -1 }));
steps.push({
name: "git rebase --abort",
command: "git rebase --abort",