Repository navigation
fix: resolve Windows Codex spawn failures for local review runs - #250
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 3, 2026, 6:36 PM ET / 22:36 UTC. Summary Reproducibility: yes. source-reproducible: current main hardcodes Review metrics: 2 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:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the narrow Windows-safe Codex launcher update for review-adjacent subprocesses after standard validation, and leave broader repair-lane Windows support to a separate follow-up if maintainers want that scope. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: current main hardcodes Is this the best way to solve the issue? Yes for the stated local-review failure: the patch follows the Windows AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 74f63a090af7. 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
|
7eb79c6 to
9f02387
Compare
9f02387 to
13e1c01
Compare
|
@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:
|
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Adds a 'local-review' CLI command that reviews the current branch diff against a base branch using Codex, without requiring a GitHub PR. Includes all prerequisites for local runs: - CODEX_BIN env var support (Windows .cmd wrapper compatibility) - shell: true on win32 for all Codex spawn sites - CLAWSWEEPER_CODEX_LOGIN_METHOD for ChatGPT Pro OAuth login - Applied to all 4 Codex subprocess launchers Merge order: this PR subsumes openclaw#250 (Windows spawn) and openclaw#251 (OAuth login). If this lands first, close those as superseded. If either lands first, this PR needs a trivial rebase (identical changes).
Adds a 'local-review' CLI command that reviews the current branch diff against a base branch using Codex, without requiring a GitHub PR. Includes all prerequisites for local runs: - CODEX_BIN env var support (Windows .cmd wrapper compatibility) - shell: true on win32 for all Codex spawn sites - CLAWSWEEPER_CODEX_LOGIN_METHOD for ChatGPT Pro OAuth login - Applied to all 4 Codex subprocess launchers - Clears stale output before each review run Merge order: this PR subsumes openclaw#250 (Windows spawn) and openclaw#251 (OAuth login). If this lands first, close those as superseded. If either lands first, this PR needs a trivial rebase (identical changes).
|
Review note from local harness testing: This is a useful narrow launcher fix. The I tested the later stacked local-review flow on Linux using the same Merge guidance: good to merge as an atomic prerequisite, or close as superseded if #253 lands first because #253 includes this behavior. |
0c024d4 to
876d969
Compare
…claw#250) * fix: support Codex launchers on Windows Co-authored-by: Cameron Beeley <[email protected]> * fix: harden Windows Codex process handling * chore: remove stale process import * fix: secure Codex process termination * fix: escape global Codex batch launchers --------- Co-authored-by: Peter Steinberger <[email protected]>
Summary
.cmd/.batlaunchers, including global npm shims and paths with spacesValidation
pnpm run checkm7i.large, leasecbx_247406f20340, runrun_9197b924d445: build, repair build, and four focused process tests passedRewritten on current
mainwhile preserving contributor credit.