test(release): skip restart in package upgrade lane · openclaw/openclaw@2511be5
vincentkoc
·
2026-05-05
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -765,15 +765,7 @@ async function runUpgradeLane(params) {
|
765 | 765 | |
766 | 766 | logLanePhase(lane, "update"); |
767 | 767 | const updateEnv = buildRealUpdateEnv(env); |
768 | | -const updateArgs = [ |
769 | | -"update", |
770 | | -"--tag", |
771 | | -params.candidateUrl, |
772 | | -"--yes", |
773 | | -"--json", |
774 | | -"--timeout", |
775 | | -String(updateStepTimeoutSeconds()), |
776 | | -]; |
| 768 | +const updateArgs = buildPackagedUpgradeUpdateArgs(params.candidateUrl); |
777 | 769 | const updateResult = await runOpenClaw({ |
778 | 770 | lane, |
779 | 771 | env: updateEnv, |
@@ -1345,6 +1337,19 @@ export function verifyPackagedUpgradeUpdateResult(result, _options) {
|
1345 | 1337 | ); |
1346 | 1338 | } |
1347 | 1339 | |
| 1340 | +export function buildPackagedUpgradeUpdateArgs(candidateUrl) { |
| 1341 | +return [ |
| 1342 | +"update", |
| 1343 | +"--tag", |
| 1344 | +candidateUrl, |
| 1345 | +"--yes", |
| 1346 | +"--json", |
| 1347 | +"--no-restart", |
| 1348 | +"--timeout", |
| 1349 | +String(updateStepTimeoutSeconds()), |
| 1350 | +]; |
| 1351 | +} |
| 1352 | + |
1348 | 1353 | export function isRecoverableWindowsPackagedUpgradeSwapCleanupFailure( |
1349 | 1354 | result, |
1350 | 1355 | platform = process.platform, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。