App lags and freezes when opening CodexBar menu with both Codex and Claude logins active (Mac)
Bug Report: App Lags and Freezes When Opening CodexBar Menu
Description
When both Codex and Claude are logged in simultaneously, clicking the CodexBar icon in the Mac menu bar causes the app to lag and freeze. The menu becomes unresponsive and the application hangs when trying to open the CodexBar dropdown.
Steps to Reproduce
- Log in to Codex within the app
- Log in to Claude within the app
- Click the CodexBar icon in the Mac top menu bar
- Observe the app lagging and freezing when the menu attempts to open
Expected Behavior
The CodexBar menu should open quickly and remain fully responsive regardless of how many accounts/services are logged in.
Actual Behavior
The app lags and freezes when attempting to open the CodexBar menu. The UI becomes unresponsive.
Environment
- OS: macOS
- Trigger: Having both Codex and Claude logged in at the same time
Additional Context
The issue appears to be specifically related to having both Codex and Claude sessions active simultaneously. The freeze occurs at the point of opening the menu bar dropdown. and when i try to move between tabs claude codex or main tab
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 11, 2026, 12:48 AM ET / 04:48 UTC.
Summary Current main contains a directly relevant unreleased performance fix that removes live Codex account reconciliation from menu tracking, but the issue was filed afterward without identifying the tested version and also reports provider-tab switching, so there is not enough evidence to conclude that current main fully resolves it.
Reproducibility: no. not at high confidence: the interaction sequence is concrete and maps to known menu-tracking work, but the affected build is unknown and no current-main trace, timing log, or failing test demonstrates the freeze.
Ways to help us reproduce this
- Add a screenshot or short recording showing the behavior.
- Add expected vs actual behavior.
Next step A maintainer should request the affected version and a retest or timing logs from current main before deciding whether the existing unreleased fix is sufficient or a new repair is needed.
Review details
Best possible solution:
Retest opening and repeatedly switching the Codex, Claude, and overview tabs on a build containing f1c1b6c; if the hang remains, use the existing slow menu-operation timing logs to isolate and defer the remaining synchronous account, layout, or view-reconciliation work.
Do we have a high-confidence way to reproduce the issue?
No, not at high confidence: the interaction sequence is concrete and maps to known menu-tracking work, but the affected build is unknown and no current-main trace, timing log, or failing test demonstrates the freeze.
Is this the best way to solve the issue?
Unclear for the complete report: cached Codex account projections are the right narrow solution for reconciliation stalls, but provider-tab switching must be retested on that implementation before assuming the entire hang is fixed.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- The report does not identify the CodexBar version, macOS version, freeze duration, or any slow-menu log output.
- The issue was filed 97 minutes after the relevant commit, but that commit is not in v0.32.5, so the reporter may have been using the released build rather than current main.
- The reported tab-switch freeze may involve menu width, view reconciliation, or another synchronous rendering path not covered by the Codex account projection change.
Codex review notes: model internal, reasoning high; reviewed against 4c964ccc91e0.
Label changes
Label changes:
- add
P2: The issue reports loss of responsiveness in the primary menu workflow, but its current-main status is uncertain and the impact appears limited to a specific provider combination. - add
impact:crash-loop: The reported app hang makes the menu unavailable and falls within process-level availability impact. - add
issue-rating: π platinum hermit: Current issue advisory state selects this label. - add
clawsweeper:needs-live-repro: Current issue advisory state selects this label. - add
clawsweeper:no-new-fix-pr: Current issue advisory state selects this label. - add
clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
Label justifications:
P2: The issue reports loss of responsiveness in the primary menu workflow, but its current-main status is uncertain and the impact appears limited to a specific provider combination.impact:crash-loop: The reported app hang makes the menu unavailable and falls within process-level availability impact.
Evidence reviewed
What I checked:
- Directly relevant current-main change: The current implementation renders the Codex account menu from a cached projection and documents that menu rendering must avoid auth.json reads, JWT parsing, and fingerprint hashing. (
Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift:254, f1c1b6cdf3ea) - Menu-open scheduling: After rebuilding menu content, current main schedules Codex account projection revalidation and provider refresh rather than awaiting them in menuWillOpen. (
Sources/CodexBar/StatusItemController+Menu.swift:122, 4c964ccc91e0) - Git-history provenance: Git blame ties the menu-open projection revalidation to the June 11 performance commit titled βperf: keep Codex account reconciliation off menu tracking.β. (
Sources/CodexBar/StatusItemController+Menu.swift:124, f1c1b6cdf3ea) - Unreleased provenance: No tag contains the performance commit, and it is not an ancestor of v0.32.5, so users of the latest release do not have this change. (f1c1b6cdf3ea)
- Project direction: VISION.md requires fast refreshes and lists bounded performance and bug fixes as merge-by-default work. (
VISION.md:3, 4c964ccc91e0)
Likely related people:
- Peter Steinberger: Authored the current-main account-reconciliation performance change and the adjacent provider-switch menu-width fix, and has the largest history in the central menu files. (role: recent area contributor; confidence: high; commits: f1c1b6cdf3ea, 0e0102c30fe6; files:
Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift,Sources/CodexBar/StatusItemController+Menu.swift,Sources/CodexBar/StatusItemController+AccountMenuDisplay.swift) - bcssewl: Recently implemented menu-card view recycling and in-place content reconciliation in the same menu construction path. (role: recent adjacent contributor; confidence: medium; commits: f927e8ad90ae; files:
Sources/CodexBar/StatusItemController+Menu.swift,Tests/CodexBarTests/MenuCardViewRecyclingTests.swift) - Joshua Vial: Recently fixed menu-open refresh-delay behavior, making this history relevant if the apparent freeze is refresh scheduling rather than reconciliation. (role: recent adjacent contributor; confidence: medium; commits: 3c2d53de57c1; files:
Sources/CodexBar/StatusItemController+Menu.swift,Sources/CodexBar/StatusItemController+MenuRefreshScheduling.swift)
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
- Maintainer-only repair and merge flows require explicit commands such as
@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review. - Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
update to the just released 0.33
Consolidating this into #1387, the earlier heavily subscribed report tracking the same menu lag and freezing. The Codex-plus-Claude reproduction details here are useful; please retest on 0.33.0 and add any remaining timings or samples to #1387.