mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:10:58 +00:00
fix(ci): continue Windows upgrade fallback checks
This commit is contained in:
@@ -53,6 +53,7 @@ import {
|
||||
resolveRunnerMatrix,
|
||||
resolveStaticFileContentType,
|
||||
shouldExerciseManagedGatewayLifecycleAfterInstall,
|
||||
shouldRunPackagedUpgradeStatusProbe,
|
||||
shouldRunWindowsInstalledBrowserOverrideImportSmoke,
|
||||
shouldSkipInstallerDaemonHealthCheck,
|
||||
shouldStopManagedGatewayBeforeManualFallback,
|
||||
@@ -716,6 +717,27 @@ describe("scripts/openclaw-cross-os-release-checks", () => {
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("skips the packaged upgrade status probe after the Windows fallback install", () => {
|
||||
expect(
|
||||
shouldRunPackagedUpgradeStatusProbe({
|
||||
platform: "win32",
|
||||
usedWindowsPackagedUpgradeFallback: true,
|
||||
}),
|
||||
).toBe(false);
|
||||
expect(
|
||||
shouldRunPackagedUpgradeStatusProbe({
|
||||
platform: "win32",
|
||||
usedWindowsPackagedUpgradeFallback: false,
|
||||
}),
|
||||
).toBe(true);
|
||||
expect(
|
||||
shouldRunPackagedUpgradeStatusProbe({
|
||||
platform: "linux",
|
||||
usedWindowsPackagedUpgradeFallback: true,
|
||||
}),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it("does not recover unrelated packaged update failures", () => {
|
||||
expect(
|
||||
isRecoverableWindowsPackagedUpgradeSwapCleanupFailure(
|
||||
|
||||
Reference in New Issue
Block a user