Repository navigation
fix(ci): replay frozen Windows failures with exact test selection - #155223
Conversation
Co-authored-by: RomneyDa <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: jalehman <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Co-authored-by: RomneyDa <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: jalehman <[email protected]>
|
Codex review: needs maintainer review before merge. Reviewed September 21, 2026, 6:05 PM ET / 22:05 UTC. ClawSweeper reviewWhat this changesAdds a Windows CI replay mode that accepts frozen runtime pins and ordered test selections, retains diagnostic evidence, and updates documentation and workflow guards. Merge readiness✅ Ready for maintainer review Keep open: this is a useful, bounded diagnostic capability absent from current main. No introduced correctness or security defect was established, and the protected maintainer label also prevents cleanup closure. Priority: P2 Review scores
Verification
How this fits togetherThe Windows Testbox Probe is a manually dispatched CI workflow. It prepares a selected source revision and runtime, invokes OpenClaw’s existing test dispatcher, and uploads results for maintainers. flowchart TD
A[Maintainer replay inputs] --> B[Validate source and toolchain pins]
B --> C[Prepare native Windows runtime]
C --> D[Existing test dispatcher]
D --> E[Check observed project sequence]
E --> F[Upload diagnostic evidence]
D --> G[Actions runner teardown]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +4, Docs +38, Config +185. Total +227 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep frozen replay in the existing probe, with the dispatcher owning test lifetime and diagnostic results clearly separated from runner-teardown qualification. Do we have a high-confidence way to reproduce the issue? Not applicable to the diagnostic capability itself; source confirms the missing replay mode. The motivating native teardown failure has not been reproduced by this review. Is this the best way to solve the issue? Yes: extending the existing probe and invoking the frozen dispatcher avoids a competing test controller while preserving ordinary CI behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1fab25b37f95. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…enclaw#155223) * fix(ci): replay frozen Windows failures with exact test selection Co-authored-by: RomneyDa <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: jalehman <[email protected]> * fix(ci): align Windows replay routing guards Co-authored-by: RomneyDa <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: jalehman <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: jalehman <[email protected]>
What Problem This Solves
A native Windows CI teardown failure cannot currently be replayed with its exact frozen source, runtime, worker count, and ordered test selection through the existing probe workflow.
Related: #154565. Original failure: CI run 35646578317, Windows test shard 5.
User Impact
No production behavior changes. Maintainers can compare a recorded failure with its baseline through two serialized, source-pinned Windows diagnostic runs. Normal CI policy, deadlines, assertions, resources, and failure requirements remain unchanged.
Why This Change Was Made
Extend the existing Windows Testbox Probe with a structured exact-replay input. It validates the frozen source and toolchain, invokes the existing test dispatcher with literal file arguments, and retains runtime, dependency, project-order, and outcome evidence. Replay is separate from broad CI, installed-startup, private Node, WSL, and keepalive modes.
The original dispatcher still owns test lifetime. A test process exit does not establish descendant settlement; final Actions runner teardown must be inspected separately. No new controller, SSH route, retry, failure waiver, or production logging is introduced.
Evidence
eba2d9f5da8c68a6276b481386fddb8374c89ebc.git diff --checkpass.953882c74a1fb8ea39a8d24437aafcc5fe62b148:8c56f7239e98dbee1369e036d6b594fd560b9d9d: passed.0d8593860a3a8b465d5f407bda3d69a9641ab000: passed.UV_HANDLE_CLOSING/ worker-exit failure did not reproduce in this pair. This is not a root-cause finding, repair claim, unrelatedness determination, or CI waiver.