Repository navigation
fix(macos): allow cold ChatGPT Codex probes - #130541
Patrick-Erichsen wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 8:55 PM ET / August 27, 2026, 00:55 UTC. ClawSweeper reviewWhat this changesThis PR gives known macOS ChatGPT/Codex application-bundle binaries a three-second version-probe budget while retaining the generic 1.5-second probe budget elsewhere. Merge readinessKeep open. The targeted repair is source-sound, but this draft has a protected maintainer label, lacks direct Codex-source contract inspection in this environment, and overlaps an open predecessor PR that needs an explicit canonical-PR decision. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherOnboarding probes locally available AI command-line tools and feeds detected, authenticated candidates into setup selection. This change affects only the known macOS app-bundle Codex candidate before its login-status classification reaches the onboarding ladder. flowchart LR
A[Onboarding] --> B[Local CLI discovery]
B --> C[Known macOS Codex app bundle]
C --> D[Bounded version probe]
D --> E[Login-status classification]
E --> F[Setup candidate selection]
Decision needed
Why: Both open PRs implement the same narrow behavior, while this PR is the stated base of a newer stack and the older PR currently carries the stronger proof record. Before merge
Agent review detailsSecurityNone. PR surfaceSource +6, Tests +35. Total +41 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the per-known-app three-second budget, record direct Codex Do we have a high-confidence way to reproduce the issue? Yes at source level: current main applies the shared 1.5-second probe to the discovered app binary, and the added regression case demonstrates that this path drops the candidate unless it receives the 3-second exception. A fresh packaged-macOS run was not available in this read-only environment. Is this the best way to solve the issue? Yes, provisionally: specializing the timeout at the known app-bundle discovery owner preserves the generic probe contract rather than widening every local-tool probe. Direct Codex contract inspection and packaged-app evidence remain required before merge readiness. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 35adcc6c6f3b. 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
|
|
Superseded by #128819, which landed the exact same patch on Verified before closing:
Closing this duplicate; the cold-probe behavior is already present on |
Summary
Give known macOS ChatGPT/Codex app-bundle binaries a 3-second
--versionprobe budget so a cold signed binary is detected during the first onboarding pass. Generic PATH discovery, other tools, and non-macOS probes keep the existing 1.5-second budget.This is the bottom layer of the macOS onboarding/prewarm stack and replaces #128819. The commit preserves Hannes Rudolph's authorship.
Stack
Evidence
Draft status
Draft while the complete stack finishes packaged-app acceptance in the dedicated Mac Studio Parallels guest.