Skip to content

Commit d9370bd

Browse files
committed
fix(ci): prepare sandbox before repo E2E
1 parent 2317ad0 commit d9370bd

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎.github/workflows/openclaw-live-and-e2e-checks-reusable.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ jobs:
977977
if: inputs.include_repo_e2e && inputs.live_suite_filter == ''
978978
continue-on-error: ${{ inputs.advisory }}
979979
runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
980-
timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
980+
timeout-minutes: 90
981981
env:
982982
OPENCLAW_BUILD_PRIVATE_QA: "1"
983983
OPENCLAW_ENABLE_PRIVATE_QA_CLI: "1"
@@ -1004,6 +1004,9 @@ jobs:
10041004
- name: Install Playwright Chromium
10051005
run: pnpm --dir ui exec playwright install --with-deps chromium
10061006

1007+
- name: Build sandbox image
1008+
run: scripts/sandbox-setup.sh
1009+
10071010
- name: Run repo E2E suite
10081011
run: pnpm test:e2e
10091012

‎test/scripts/ci-workflow-guards.test.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3190,6 +3190,14 @@ NODE
31903190
OPENCLAW_BUILD_PRIVATE_QA: "1",
31913191
OPENCLAW_ENABLE_PRIVATE_QA_CLI: "1",
31923192
});
3193+
expect(releaseChecks.jobs.validate_repo_e2e["timeout-minutes"]).toBe(90);
3194+
const repoE2eSteps = releaseChecks.jobs.validate_repo_e2e.steps as WorkflowStep[];
3195+
const sandboxSetupIndex = repoE2eSteps.findIndex(
3196+
(step) => step.name === "Build sandbox image" && step.run === "scripts/sandbox-setup.sh",
3197+
);
3198+
const repoE2eIndex = repoE2eSteps.findIndex((step) => step.name === "Run repo E2E suite");
3199+
expect(sandboxSetupIndex).toBeGreaterThanOrEqual(0);
3200+
expect(repoE2eIndex).toBeGreaterThan(sandboxSetupIndex);
31933201
const targetedGroupStep = releaseChecks.jobs.plan_docker_lane_groups.steps.find(
31943202
(step: WorkflowStep) => step.name === "Build targeted Docker lane groups",
31953203
);

0 commit comments

Comments
 (0)