From 7be0d6e76d5caf87416ba686ac7f40b5326f649a Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 2 May 2026 16:33:57 -0700 Subject: [PATCH] fix(ci): pass upgrade survivor matrix to package planning --- .../workflows/openclaw-live-and-e2e-checks-reusable.yml | 3 +++ test/scripts/package-acceptance-workflow.test.ts | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml b/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml index 0be79eb5039..f68ade6b501 100644 --- a/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml +++ b/.github/workflows/openclaw-live-and-e2e-checks-reusable.yml @@ -1248,6 +1248,9 @@ jobs: LANES: ${{ inputs.docker_lanes }} INCLUDE_RELEASE_PATH_SUITES: ${{ inputs.include_release_path_suites }} INCLUDE_OPENWEBUI: ${{ inputs.include_openwebui }} + OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC: ${{ inputs.published_upgrade_survivor_baseline }} + OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPECS: ${{ inputs.published_upgrade_survivor_baselines }} + OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS: ${{ inputs.published_upgrade_survivor_scenarios }} run: | set -euo pipefail mkdir -p .artifacts/docker-tests diff --git a/test/scripts/package-acceptance-workflow.test.ts b/test/scripts/package-acceptance-workflow.test.ts index 01904225d67..0e6ada7d37a 100644 --- a/test/scripts/package-acceptance-workflow.test.ts +++ b/test/scripts/package-acceptance-workflow.test.ts @@ -220,6 +220,13 @@ describe("package artifact reuse", () => { expect(workflow).toContain("node .release-harness/scripts/test-docker-all.mjs --plan-json"); expect(workflow).toContain("node .release-harness/scripts/docker-e2e.mjs github-outputs"); expect(workflow).toContain("bash .release-harness/scripts/ci-docker-pull-retry.sh"); + const prepareDockerImage = workflowJob(LIVE_E2E_WORKFLOW, "prepare_docker_e2e_image"); + expect(workflowStep(prepareDockerImage, "Plan Docker E2E images").env).toMatchObject({ + OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPEC: "${{ inputs.published_upgrade_survivor_baseline }}", + OPENCLAW_UPGRADE_SURVIVOR_BASELINE_SPECS: + "${{ inputs.published_upgrade_survivor_baselines }}", + OPENCLAW_UPGRADE_SURVIVOR_SCENARIOS: "${{ inputs.published_upgrade_survivor_scenarios }}", + }); expect(workflow).toContain("plan_docker_lane_groups:"); expect(workflow).toContain("targeted_docker_lane_group_size:"); expect(workflow).toContain("Docker E2E targeted lanes (${{ matrix.group.label }})");