fix(e2e): isolate upgrade survivor matrix artifacts · openclaw/openclaw@c48c3ec
vincentkoc
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -168,6 +168,7 @@ export function expandUpgradeSurvivorBaselineLanes(poolLanes, rawBaselineSpecs,
|
168 | 168 | const suffix = suffixParts.join("-"); |
169 | 169 | const name = suffix ? `${poolLane.name}-${suffix}` : poolLane.name; |
170 | 170 | const commandPrefix = [ |
| 171 | +`OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/${name}"`, |
171 | 172 | baselineSpec ? `OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC=${shellQuote(baselineSpec)}` : "", |
172 | 173 | scenario ? `OPENCLAW_UPGRADE_SURVIVOR_SCENARIO=${shellQuote(scenario)}` : "", |
173 | 174 | ] |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -382,6 +382,9 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
382 | 382 | ), |
383 | 383 | }), |
384 | 384 | ]); |
| 385 | +expect(plan.lanes[0]?.command).toContain( |
| 386 | +'OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/published-upgrade-survivor-2026.4.29"', |
| 387 | +); |
385 | 388 | }); |
386 | 389 | |
387 | 390 | it("expands the published upgrade survivor lane across scenarios", () => { |
@@ -409,6 +412,12 @@ describe("scripts/lib/docker-e2e-plan", () => {
|
409 | 412 | }), |
410 | 413 | ]), |
411 | 414 | ); |
| 415 | +expect( |
| 416 | +plan.lanes.find((lane) => lane.name === "published-upgrade-survivor-2026.4.29-tilde-log-path") |
| 417 | +?.command, |
| 418 | +).toContain( |
| 419 | +'OPENCLAW_UPGRADE_SURVIVOR_ARTIFACT_DIR="$PWD/.artifacts/upgrade-survivor/published-upgrade-survivor-2026.4.29-tilde-log-path"', |
| 420 | +); |
412 | 421 | }); |
413 | 422 | |
414 | 423 | it("expands reported upgrade issue scenarios", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。