fix: bound codex provider executions#116
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed May 26, 2026, 7:01 PM ET / 23:01 UTC. Summary Reproducibility: yes. from source inspection: current main calls the Codex JSON provider without Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance: Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Restore the changelog header, then merge a Codex timeout that matches the existing provider timeout pattern once maintainers explicitly accept the 180-second default or choose a different upgrade policy. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current main calls the Codex JSON provider without Is this the best way to solve the issue? Mostly, but not merge-ready as submitted: the provider change follows existing timeout-helper patterns, but the branch should restore the changelog header and maintainers need to accept or revise the 180-second upgrade behavior. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against ed3d5750ff89. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat 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
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
Local verification from the contributor branch is complete:
The upstream CI and CodeQL runs are currently blocked in |
e17bd4a to
05e2454
Compare
|
Updated the PR body with real timeout behavior proof and removed the release-owned changelog edit in commit @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Summary
CLAWPATCH_CODEX_TIMEOUT_MSand fallbackCLAWPATCH_PROVIDER_TIMEOUT_MS.codexexecutable.Behavior proof
Targeted proof command:
Observed output from the contributor branch:
What this proves: the test puts a fake
codexexecutable first onPATH; the fake process never exits. WithCLAWPATCH_CODEX_TIMEOUT_MS=50, the provider rejects withcommand timed out after 50msinstead of waiting indefinitely.Compatibility note: the default is intentionally bounded at 180 seconds. Slow legitimate Codex runs can opt into a longer timeout with
CLAWPATCH_CODEX_TIMEOUT_MSor the genericCLAWPATCH_PROVIDER_TIMEOUT_MS.Verification
pnpm test src/provider.test.ts: 134 passed after changelog cleanuppnpm format:check: passed after changelog cleanuppnpm typecheck: passedpnpm lint: passedpnpm build: passedpnpm test: passed, 717 passed and 1 skippedpnpm pack:smoke: passedcodex review --uncommitted: no actionable bugs found