Repository navigation
fix(test): keep fork E2E setup builds observable - #120653
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
Codex review: needs maintainer review before merge. Reviewed August 8, 2026, 2:48 PM ET / 18:48 UTC. ClawSweeper reviewWhat this changesThe PR streams E2E global-setup build output into Vitest and keeps setup descendants in Vitest’s process group so the existing watchdog can observe and cancel them. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessNo blocking code finding: this is the owner-boundary repair for a current fork-E2E observability defect, and current main still has the buffered setup implementation. Keep it open for protected-label maintainer review and exact-head check completion. Priority: P2 Review scores
Verification
How this fits togetherFork E2E jobs run global setup before their parallel workers start. Setup builds shared artifacts, and its output and lifecycle feed the Vitest watchdog that determines progress reporting and cancellation cleanup. flowchart LR
ForkPR[Fork pull request] --> Vitest[Vitest E2E runner]
Vitest --> Setup[Global setup builds]
Setup --> Streams[Forwarded build output]
Streams --> Watchdog[Existing inactivity watchdog]
Watchdog --> Workers[E2E workers]
Watchdog --> Cleanup[Group cancellation cleanup]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +150. Total +150 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the streamed-output, shared-process-group approach after protected-label review confirms the latest review actions and the exact head is green. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main buffers setup-build output while the outer watchdog only observes Vitest streams, so a progressing build can appear silent until timeout. Is this the best way to solve the issue? Yes. Forwarding setup output and keeping descendants inside the already-owned Vitest group fixes observability and cleanup without creating a competing timeout policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 82f6280fa86a. 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
|
|
Land-ready at exact head
Native commands completed: |
|
Merged via squash.
|
1 similar comment
|
Merged via squash.
|
…0807 * origin/main: fix(qa): honor Crabbox SSH fallback ports (openclaw#120539) refactor(core): adopt normalization-core leaf helpers across production (openclaw#120350) fix(release): scope upgrade plugin credentials (openclaw#120666) fix(ai): preserve long Responses sessions after server compaction (openclaw#120457) fix(test): keep fork E2E setup builds observable (openclaw#120653) fix(cloud-workers): retain provider operation ownership (openclaw#120661) docs: runners plan — one placement model for sessions, devices, and cloud (openclaw#120657) refactor(cli): inline state migration policy (openclaw#120641) feat(update): scheduled update campaigns with countdown, dev-channel auto-update, and Updates settings page (openclaw#120506) chore(i18n): refresh native locales (openclaw#120614) fix(ci): retry transient artifact API reads (openclaw#120654) fix(clawrouter): honor advertised reasoning efforts (openclaw#120631) fix(infra): unify env-truthiness, missing-path, realpath, and abort-sleep semantics (openclaw#120359) fix(maintainers): parse merge comment URL structurally (openclaw#120649) fix(ui): label only operator-pinned runtimes in model picker rows (openclaw#120646) docs(agents): replace exact-head re-review gate with 12-hour review window # Conflicts: # src/agents/payload-redaction.ts
* fix(test): stream E2E setup build progress * fix(test): keep E2E setup builds in runner group * fix(test): own E2E setup streams and signals * test(ci): route E2E setup regression correctly
* fix(test): stream E2E setup build progress * fix(test): keep E2E setup builds in runner group * fix(test): own E2E setup streams and signals * test(ci): route E2E setup regression correctly
Related: #119267
What Problem This Solves
Fixes an issue where fork pull-request E2E jobs could time out after five minutes even while their setup builds were still making progress.
Why This Change Was Made
The E2E global setup now forwards build output through owned pipes and keeps build processes in Vitest's process group. The existing outer inactivity watchdog remains the single timeout owner, and setup failures still propagate immediately.
User Impact
There is no product-runtime change. Contributors get reliable GitHub-hosted fork CI, and cancelled jobs clean up the setup build and its descendants.
Evidence
git diff --check, TruffleHog, and autoreview passed.