Repository navigation
test(onboard): remove redundant inference test bridge - #121574
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
c7cef8c to
f57aa6e
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 10, 2026, 7:44 AM ET / 11:44 UTC. ClawSweeper reviewWhat this changesThe branch deletes a redundant direct Codex-app discovery test, its test-support bridge, and the production test-mode global used only by that bridge. Merge readinessKeep open. This active maintainer cleanup removes a test-only global exposure whose only direct assertion is already covered through the public onboarding inference path. Priority: P3 Review scores
Verification
How this fits togetherOnboarding combines existing configuration, environment credentials, and local CLI probes into ranked inference-backend candidates for guided setup. This change only removes a test-only shortcut into that detection flow. flowchart LR
A[Configuration and environment] --> C[Onboarding inference detection]
B[Local CLI probes] --> C
C --> D[Ranked backend candidates]
D --> E[Guided setup]
F[Focused onboarding tests] --> C
Before merge
Agent review detailsSecurityNone. PR surfaceSource -28, Tests -13. Total -41 across 3 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain the public-path login and macOS-app discovery coverage while deleting the private global bridge and its duplicate direct assertion. Do we have a high-confidence way to reproduce the issue? Not applicable — this cleanup does not report a user bug; source inspection shows the retained tests exercise the observable detection path. Is this the best way to solve the issue? Yes — the private helper has one production caller, while retained exported-API tests cover login probing and every macOS application path, making deletion of the bridge the leaner solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c3f4d5ee601a. 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
|
f57aa6e to
9e4ce77
Compare
|
Land-ready at Validation:
ClawSweeper had no code findings; its only rank-up move was exact-head CI, now satisfied. No proof gaps remain for this behavior-neutral test cleanup. |
|
Merged via squash.
|
What Problem This Solves
Removes a redundant private-detector test and the test-only global bridge it required.
Why This Change Was Made
The retained owner-boundary tests already cover Codex login status, all six macOS app paths, and inference precedence and ranking.
User Impact
None.
Evidence