Fix provider switcher shortcuts - #1260
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 1, 2026, 4:15 AM ET / 08:15 UTC. Summary Reproducibility: no. high-confidence before-fix reproduction was run in this review. The source path and merged related reports show the current shortcut implementation, and the PR body provides after-fix live output from the built app. Review metrics: 3 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 simpler menu key-equivalent path once maintainers accept the AppKit compatibility tradeoff and the draft/CI gates are ready. Do we have a high-confidence way to reproduce the issue? No high-confidence before-fix reproduction was run in this review. The source path and merged related reports show the current shortcut implementation, and the PR body provides after-fix live output from the built app. Is this the best way to solve the issue? Yes, subject to maintainer acceptance of the AppKit compatibility risk. Reusing AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 4756ba06bf42. Label changesLabel 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
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Closing this PR: live validation on macOS 26.5.1 (25F80) invalidated its premise. Retest protocolPackaged release build of this change rebased onto current main ( Result: zero selection changes recorded. None of the shortcuts worked. What this means
I could not reproduce this PR's original June 1 live proof on 26.5.1; on today's hardware retest the key-equivalent route never fired during tracking. Treat the monitor as the supported mechanism until AppKit offers a real key-equivalent hook for tracking sessions. |
Summary
Route provider switcher command-number shortcuts through
StatusItemMenuinstead of a custom event-tracking monitor.Context
Part of the UI hang/lag cleanup set: this removes a custom event-tracking shortcut monitor and uses the normal menu key-equivalent path instead.
Validation
swift test --filter 'StatusMenuSwitcherClickTests|StatusMenuPersistentRefreshTests|StatusItemControllerShutdownTests'make checkgit diff --checkRuntime Proof
Built and launched this PR branch from
7d3e97f3990a3a60e8cafacaf6a4b77f2dd0b800with the PR-built app isolated as the only running CodexBar status-item app.Redacted live state monitor while the visible menu was operated manually:
No screenshots or raw AX menu dumps were posted because the menu can contain private account/cost data.