Repository navigation
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a localized bug fix that makes incompatible optional CLI executables fail gracefully, preserves unrelated defects, and surfaces a useful architecture diagnostic through existing discovery and UI fields. The production behavior change is narrow and supported by targeted regression tests, with no schema or deployment impact. You can add or adjust custom eligibility rules. Learn more. |
|
Important Review skippedWe couldn't safely recover the incremental review. No full review was started, and the last reviewed checkpoint was preserved. Retry later, or explicitly request a full review by commenting You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe server now identifies bad-CPU-type spawn errors and reports them as unavailable GitHub CLI probes with executable-specific details. Source-control discovery passes those details to auth status, and settings display them for unavailable items. ChangesSpawn error conversion
GitHub CLI error classification
Discovery detail propagation
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is established. Incompatible GitHub CLI executables are reported as unavailable with useful diagnostics while other process requests remain usable. Merge after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The fix keeps incompatible executables unavailable rather than treating them as authenticated or granting additional execution privileges. The diagnostic is displayed as plain text. No introduced security vulnerability was established, but production access enforcement and interruption cleanup were not fully verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Verified locally on Apple Silicon with the same Intel Before the fix, source-control discovery fails with With the fix, the environment stays connected and Git remains available. GitHub is marked unavailable with the resolved This reproduction uses the real Intel binary, rather than an injected spawn error. |
Dismissing prior approval to re-evaluate b4c95d2
Dismissing prior approval to re-evaluate 4a09f4e
|
Note Written by Hi! We are cleaning up open PRs, and this one appears to have been created with an older model ( |
|
Rebuilt this PR with GPT-6.1 Sol ( Commit The new regression tests fail on This rebuild was checked on Linux. The original Apple Silicon captures remain historical evidence; I have not claimed a fresh macOS or native-client run. The description now states these limits and links the overlapping open implementation in #21606. The rebuild is ready, but GitHub reports |


An Intel-only
ghon an Apple Silicon Mac is marked missing during source-control discovery, but the installation hint does not explain which executable cannot run or why. This fixes the remaining diagnostic from #14590. The synchronous spawn failure and connection handling are already addressed on currentmain.The rebuilt fix recognizes raw and platform-wrapped macOS architecture errors, names the executable and the server architecture, and preserves the installation guidance. It uses the existing
installHintconsumed by Settings, Git actions, and shared project-readiness checks. Git and Jujutsu use the same diagnostic. No client or contract changes are needed.Fixes #14590. Scope approved in the maintainer reply. Related open PR #21606 addresses the same remaining diagnostic.
Verification
main: incompatible executables returned onlyInstall GitHub CLI.They pass with this fix for synchronous errno -86, symbolicEBADARCH, and platform-wrapped errors. Ordinary missing and permission errors retain their hints; Linux errno -86 is not misclassified.Rebuilt with GPT-6.1 Sol (
gpt-6.1-sol, high reasoning effort) through the Codex harness in T3 Code.