mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
## Why Account-update notifications include authentication mode and plan information but omit the email, causing `/status` to lose the signed-in account's email after an update. ## What changed Fetch the ChatGPT account email asynchronously after account updates, with a 30-second timeout, without blocking terminal input. Apply the result only if its request ID is still current, invalidating pending results on subsequent account updates and disconnects. ## Testing Extend the account-update test to verify that the email is restored and a stale result is ignored. Update the status snapshot to include the account email and plan alongside credits and limits. GitOrigin-RevId: 202421f78f3d6a7b373194f9c65d1c22d70a04c1