Repository navigation
test(review): prove sandbox failures stop publication - #1165
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 8:29 AM ET / 12:29 UTC. ClawSweeper reviewWhat this changesThis PR adds a Node test that runs the hosted-Linux setup action’s sandbox-preflight shell block with controlled commands and asserts a Codex failure exits the step. Merge readiness✅ Ready for maintainer review Keep open: current main has the production sandbox guard, but this PR adds its missing executable regression coverage; as a MEMBER-authored PR it is also non-closeable by cleanup policy. Priority: P3 Review scores
Verification
How this fits togetherThe review workflow invokes the Setup Codex composite action on hosted Linux before it reserves and runs a Codex review. The action’s sandbox preflight must fail the job so a broken isolated environment cannot proceed to review-result publication. flowchart LR
A[GitHub-hosted Linux runner] --> B[Setup Codex action]
B --> C[Sandbox preflight]
C -->|success| D[Review workflow]
C -->|failure| E[Job stops]
D --> F[Review result publication]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Land the focused regression test so future edits cannot silently ignore a hosted-Linux sandbox startup failure. Do we have a high-confidence way to reproduce the issue? Yes: Node 24 can run Is this the best way to solve the issue? Yes: parsing and executing the real action shell block is the narrowest maintainable way to protect its exit-status contract without duplicating the shell logic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dc147bfb39d8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
/clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
/clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
/clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
🦞👀 Pull request received. I will update this pull request when review starts. |
The hosted-Linux setup action already stops when Codex sandbox setup fails, but that production guard had no executable regression. Without one, a future action edit could swallow the failure and let review publication continue. This PR runs the real composite-action shell block with controlled
sysctlandcodexexecutables. When the fake Codex process exits23, the action returns23and the test passes.Proof
Node 24 ran the focused test on head
ef5943c1f63285a55be6c7078d2192ede100cf6a:The fixture makes
sysctltake the sandbox-start path and makescodexexit23. The test passes only when the real action shell block preserves that exit status.How to verify
This PR changes tests only; the production fix already merged in #1162. OpenClaw Bay is unaffected because no runtime, review metadata, lifecycle, status, route, data, or UI contract changes.