fix(ci): prepare sandbox before repo E2E (#122525)

This commit is contained in:
Vincent Koc
2026-08-12 16:08:19 +08:00
committed by GitHub
parent b8a0fa2e7a
commit 716f996be8
2 changed files with 12 additions and 1 deletions
@@ -977,7 +977,7 @@ jobs:
if: inputs.include_repo_e2e && inputs.live_suite_filter == ''
continue-on-error: ${{ inputs.advisory }}
runs-on: ${{ inputs.use_github_hosted_runners && 'ubuntu-24.04' || 'blacksmith-32vcpu-ubuntu-2404' }}
timeout-minutes: ${{ inputs.release_test_profile == 'full' && 90 || 60 }}
timeout-minutes: 90
env:
OPENCLAW_BUILD_PRIVATE_QA: "1"
OPENCLAW_ENABLE_PRIVATE_QA_CLI: "1"
@@ -1004,6 +1004,9 @@ jobs:
- name: Install Playwright Chromium
run: pnpm --dir ui exec playwright install --with-deps chromium
- name: Build sandbox image
run: scripts/sandbox-setup.sh
- name: Run repo E2E suite
run: pnpm test:e2e
+8
View File
@@ -3208,6 +3208,14 @@ NODE
OPENCLAW_BUILD_PRIVATE_QA: "1",
OPENCLAW_ENABLE_PRIVATE_QA_CLI: "1",
});
expect(releaseChecks.jobs.validate_repo_e2e["timeout-minutes"]).toBe(90);
const repoE2eSteps = releaseChecks.jobs.validate_repo_e2e.steps as WorkflowStep[];
const sandboxSetupIndex = repoE2eSteps.findIndex(
(step) => step.name === "Build sandbox image" && step.run === "scripts/sandbox-setup.sh",
);
const repoE2eIndex = repoE2eSteps.findIndex((step) => step.name === "Run repo E2E suite");
expect(sandboxSetupIndex).toBeGreaterThanOrEqual(0);
expect(repoE2eIndex).toBeGreaterThan(sandboxSetupIndex);
const targetedGroupStep = releaseChecks.jobs.plan_docker_lane_groups.steps.find(
(step: WorkflowStep) => step.name === "Build targeted Docker lane groups",
);