Skip to content

[codex] Fix stale shared broker auth after account switch#303

Draft
spnotold wants to merge 1 commit intoopenai:mainfrom
spnotold:codex-fix-stale-broker-auth
Draft

[codex] Fix stale shared broker auth after account switch#303
spnotold wants to merge 1 commit intoopenai:mainfrom
spnotold:codex-fix-stale-broker-auth

Conversation

@spnotold
Copy link
Copy Markdown

@spnotold spnotold commented May 7, 2026

Summary: Detect when a shared Codex broker is serving stale account state after Codex login switches accounts; compare broker auth against a freshly started app-server and discard stale broker sessions; ignore dead broker endpoints when reporting session runtime status; add regression coverage for stale broker auth and current login tracking. Root cause: the plugin reuses a long-lived codex app-server broker inside Claude Code, and that process can keep serving the previous account after Codex login changes the local account. Testing: npm test; npm run build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant