Skip to content

[codex] include plan type in account updates#13181

Merged
tibo-openai merged 1 commit intomainfrom
tibo/include-account-plan-type-in-account-updated
Mar 1, 2026
Merged

[codex] include plan type in account updates#13181
tibo-openai merged 1 commit intomainfrom
tibo/include-account-plan-type-in-account-updated

Conversation

@tibo-openai
Copy link
Copy Markdown
Collaborator

@tibo-openai tibo-openai commented Mar 1, 2026

This change fixes a Codex app account-state sync bug where clients could know the user was signed in but still miss the ChatGPT subscription tier, which could lead to incorrect upgrade messaging for paid users.

The root cause was that account/updated only carried authMode while plan information was available separately via account/read and rate-limit snapshots, so this update adds planType to account/updated, populates it consistently across login and refresh paths.

@tibo-openai tibo-openai marked this pull request as ready for review March 1, 2026 19:06
@tibo-openai tibo-openai enabled auto-merge (squash) March 1, 2026 19:13
@tibo-openai tibo-openai merged commit c9cef6b into main Mar 1, 2026
31 checks passed
@tibo-openai tibo-openai deleted the tibo/include-account-plan-type-in-account-updated branch March 1, 2026 21:43
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants