Repository navigation
fix(ci): prepare sandbox before repo E2E - #122525
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper status |
|
🦞👀
|
|
Codex review: needs maintainer review before merge. Reviewed August 12, 2026, 4:05 AM ET / 08:05 UTC. ClawSweeper reviewWhat this changesThe PR builds OpenClaw’s default sandbox image before repository E2E in the reusable release workflow and gives that job a fixed 90-minute timeout. Merge readinessKeep open for release-owner review: the PR repairs a source-proven missing prerequisite in the reusable repository-E2E job, but intentionally raises the stable/beta job budget to 90 minutes. Priority: P2 Review scores
Verification
How this fits togetherRelease validation calls a reusable workflow that checks out the selected revision, builds artifacts, and runs repository E2E. The E2E suite includes Docker-sandbox tests that require the default sandbox image to exist before test execution. flowchart LR
A[Release workflow caller] --> B[Reusable validation workflow]
B --> C[Repository E2E job]
C --> D[Build artifacts and browser]
D --> E[Build sandbox image]
E --> F[Repository E2E suite]
F --> G[Release validation result]
Decision needed
Why: The source proves the prerequisite gap, but the added timeout is a release-capacity policy choice rather than a correctness fact. Before merge
Agent review detailsSecurityNone. PR surfaceTests +8, Config +3. Total +11 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the canonical sandbox builder in the reusable E2E job, retain the ordering guard, and use a release-owner-approved budget that covers both image preparation and the suite. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main’s job runs repository E2E without creating the default image required by sandbox E2E tests; this read-only review did not execute the release lane. Is this the best way to solve the issue? Yes: the reusable job owns the prerequisite boundary, and it invokes the existing canonical image builder instead of duplicating setup in individual tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 5a643e354310. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Release-owner decision: approved the unified 90-minute stable/beta repository-E2E budget. This is intentional so the job can build the required sandbox image and complete the suite within one bounded release-validation lane. ClawSweeper reported no actionable findings; its optional rank-up move is satisfied by this explicit approval. |
|
Merged via squash.
|
What Problem This Solves
Resolves a release-validation problem where the repository E2E lane could run without the sandbox image it exercises and could time out after 60 minutes on non-full profiles.
Why This Change Was Made
The reusable release workflow now builds the canonical sandbox image before starting repository E2E and gives that lane a consistent 90-minute budget. Workflow guards lock both the ordering and timeout without changing the sandbox setup script.
User Impact
Maintainers get deterministic repository E2E validation for frozen release candidates instead of a missing-prerequisite failure or premature timeout.
Evidence
node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts(114 passed, 2 skipped)node scripts/check-changed.mjs -- .github/workflows/openclaw-live-and-e2e-checks-reusable.yml test/scripts/ci-workflow-guards.test.ts(Testbox green; testRoot and tooling lanes)git diff --checkAI-assisted: yes. The change and evidence were reviewed by the maintainer before publication.