mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:30:44 +00:00
test(release): skip restart in package upgrade lane
This commit is contained in:
@@ -765,15 +765,7 @@ async function runUpgradeLane(params) {
|
||||
|
||||
logLanePhase(lane, "update");
|
||||
const updateEnv = buildRealUpdateEnv(env);
|
||||
const updateArgs = [
|
||||
"update",
|
||||
"--tag",
|
||||
params.candidateUrl,
|
||||
"--yes",
|
||||
"--json",
|
||||
"--timeout",
|
||||
String(updateStepTimeoutSeconds()),
|
||||
];
|
||||
const updateArgs = buildPackagedUpgradeUpdateArgs(params.candidateUrl);
|
||||
const updateResult = await runOpenClaw({
|
||||
lane,
|
||||
env: updateEnv,
|
||||
@@ -1345,6 +1337,19 @@ export function verifyPackagedUpgradeUpdateResult(result, _options) {
|
||||
);
|
||||
}
|
||||
|
||||
export function buildPackagedUpgradeUpdateArgs(candidateUrl) {
|
||||
return [
|
||||
"update",
|
||||
"--tag",
|
||||
candidateUrl,
|
||||
"--yes",
|
||||
"--json",
|
||||
"--no-restart",
|
||||
"--timeout",
|
||||
String(updateStepTimeoutSeconds()),
|
||||
];
|
||||
}
|
||||
|
||||
export function isRecoverableWindowsPackagedUpgradeSwapCleanupFailure(
|
||||
result,
|
||||
platform = process.platform,
|
||||
|
||||
Reference in New Issue
Block a user