Context Usage in status bar shows global/last-updated value instead of the active chat

Resolved 💬 3 comments Opened Oct 5, 2025 by meAloex Closed Oct 8, 2025
💡 Likely answer: A maintainer (gpeal, contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

Version 0.5.17

Which IDE are you using?

Visual Studio Code – Insiders 1.105.0-insider

What platform is your computer?

Microsoft Windows NT 10.0.26120.0 x64

What steps can reproduce the bug?

  1. Create several Codex chats: A, B, C, D, E (each has its own task)
  2. Stay focused on chat A (or even the home page)
  3. Trigger work in other chats (B/C run background actions)
  4. Watch the Context Usage meter in the bottom-right status bar

What is the expected behavior?

Actual behavior

  • The meter updates with whoever chat reports last
  • While viewing A, the number fluctuates as B/C/D/E progress, so you can't read A real context at that moment

Expected behavior

  • When a chat is focused, the status-bar meter should only reflect that chat’s usage

Artifacts:
Video:
https://github.com/user-attachments/assets/58f68521-0372-42fc-9fbf-273dd5edc914

What do you see instead?

On the home page, either:

  • a) show nothing
  • b) show a scoped value ("selected chat")
  • c) show a compact hint for the chat with the highest fill ratio (Max: 75% — "Hello, describe…") or (Max elsewhere: 92%). Clicking the status item opens that chat

Additional information

_No response_

View original on GitHub ↗

3 Comments

gpeal contributor · 10 months ago

This has been fixed and rolled out.

benapetr · 8 months ago

And how exactly was this fixed? For me it's showing different values in every window. I run some codex in separate VMs for safety / sandboxing and in each vscode window / session it's reporting something completely different.

benapetr · 8 months ago

These 2 are from same moment, same user account

<img width="959" height="191" alt="Image" src="https://github.com/user-attachments/assets/62ee3de2-3127-4ff1-a9f9-21a28103a514" />

<img width="1056" height="292" alt="Image" src="https://github.com/user-attachments/assets/72e34b2f-f141-40fe-b7ae-48302adb2aa1" />