Repository navigation
fix: stabilize descendant cleanup CI proof - #107011
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 13, 2026, 10:57 PM ET / July 14, 2026, 02:57 UTC. Summary PR surface: Tests +1. Total +1 across 1 file. Reproducibility: yes. from source: the 50 ms timeout starts before the helper Node process initializes and reports its descendant PID, creating a clear loaded-runner race. The attached proof validates the repaired path, although it does not include a captured failing before-run. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Next step before merge
Security Review detailsBest possible solution: Land the narrow test-only timeout adjustment after the remaining required checks complete, without changing production process-cleanup behavior. Do we have a high-confidence way to reproduce the issue? Yes, from source: the 50 ms timeout starts before the helper Node process initializes and reports its descendant PID, creating a clear loaded-runner race. The attached proof validates the repaired path, although it does not include a captured failing before-run. Is this the best way to solve the issue? Yes. Increasing the timeout at the test boundary is the narrowest maintainable fix because it preserves the production implementation and every descendant-cleanup assertion; adding a new runtime synchronization seam would be broader than the CI-only problem. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b91a33d14a67. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +1. Total +1 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
Land-ready on current head
The test still asserts timeout termination, descendant PID capture, forced descendant cleanup, and observed descendant death. Runtime code is unchanged. |
|
Merged via squash.
|
What Problem This Solves
Resolves a problem where the descendant-cleanup process test could time out before its helper Node process started and reported the descendant PID on loaded CI runners.
Why This Change Was Made
The test timeout now leaves 500 ms for Node startup and PID reporting. The same test still requires timeout termination, forced descendant cleanup, and observed descendant death.
User Impact
No runtime behavior change. Maintainers get a less brittle CI signal for process-tree cleanup.
Evidence
tbx_01kxf74dvra8ztz1xhqea0j4sm: 20/20 full-file repetitions passed, 740 passing assertions total: https://github.com/openclaw/openclaw/actions/runs/29301060199git diff --check: passed