Repository navigation
Conversation
|
🦞👀 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. |
|
Codex review: needs real behavior proof before merge. Reviewed September 28, 2026, 7:44 AM ET / 11:44 UTC. ClawSweeper reviewWhat this changesThe browser plugin passes the Windows browser executable path to PowerShell through an environment variable and captures probe stderr, with an updated version-probe test. Merge readiness⛔ Blocked before merge - 2 items remain Current main and the latest release still contain the reported Windows PowerShell failure path. This PR is a focused candidate fix with no demonstrated patch defect, but its after-fix behavior has not been shown on Windows. Priority: P2 Review scores
Verification
How this fits togetherThe browser plugin finds a local Chrome executable and reads its version for Doctor's browser readiness report. If metadata lookup fails, it can infer a version from an unambiguous installation directory. flowchart LR
A[Browser configuration] --> B[Chrome executable discovery]
B --> C[Windows version probe]
C --> D{Metadata readable?}
D -->|Yes| E[Doctor version report]
D -->|No| F[Version directory fallback]
F --> E
Before merge
Agent review detailsSecurityNone. PR surfaceSource +4, Tests +3. Total +7 across 2 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Browser Doctor should report the installed Chrome version for ordinary Windows paths with spaces while keeping its JSON diagnostics free of probe stderr and retaining the directory fallback for genuine metadata failures. Do we have a high-confidence way to reproduce the issue? Yes. The linked report supplies a Windows 11 and PowerShell 5.1 command and ParserError, and current main retains the triggering invocation; this review did not independently run Windows. Is this the best way to solve the issue? Yes, provisionally. Passing the path as data and capturing stderr repairs the existing probe at its owner; an actual Windows after-fix run is still needed to confirm the result. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 659f4b73d8e2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Thanks @Ayushdevo. This fix landed through #160432 (68a9ce0), which takes the same approach (passing the executable path through an environment variable instead of an appended |
Closes #160377
What Problem This Solves
Fixes the Windows browser version probe failing for paths with spaces, including Chrome's default
C:\Program Filesinstallation, and printing a PowerShell parse error duringdoctor --json.User Impact
The browser path is passed to PowerShell through a child-process environment variable instead of being appended to the
-Commandprogram. Probe stderr is captured, so a failed metadata read falls back without printing into command output.Why This Change Was Made
Windows PowerShell 5.1 treats text after
-Commandas part of the script; the old$args[0]was empty and an unquoted path became script text. The existing fallback for version directories remains.Evidence
execFileSyncwithstdio: ["ignore","pipe","pipe"]captures a failing child's stderr without echoing it.