mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
fix(e2e): isolate upgrade survivor matrix artifacts
This commit is contained in:
@@ -168,6 +168,7 @@ export function expandUpgradeSurvivorBaselineLanes(poolLanes, rawBaselineSpecs,
|
||||
const suffix = suffixParts.join("-");
|
||||
const name = suffix ? `${poolLane.name}-${suffix}` : poolLane.name;
|
||||
const commandPrefix = [
|
||||
`OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/${name}"`,
|
||||
baselineSpec ? `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC=${shellQuote(baselineSpec)}` : "",
|
||||
scenario ? `OPENCLAW_UPGRADE_SURVIVOR_SCENARIO=${shellQuote(scenario)}` : "",
|
||||
]
|
||||
|
||||
@@ -382,6 +382,9 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
),
|
||||
}),
|
||||
]);
|
||||
expect(plan.lanes[0]?.command).toContain(
|
||||
'OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/published-upgrade-survivor-2026.4.29"',
|
||||
);
|
||||
});
|
||||
|
||||
it("expands the published upgrade survivor lane across scenarios", () => {
|
||||
@@ -409,6 +412,12 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
||||
}),
|
||||
]),
|
||||
);
|
||||
expect(
|
||||
plan.lanes.find((lane) => lane.name === "published-upgrade-survivor-2026.4.29-tilde-log-path")
|
||||
?.command,
|
||||
).toContain(
|
||||
'OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/published-upgrade-survivor-2026.4.29-tilde-log-path"',
|
||||
);
|
||||
});
|
||||
|
||||
it("expands reported upgrade issue scenarios", () => {
|
||||
|
||||
Reference in New Issue
Block a user