codex - 💡(How to fix) Fix VS Code: "Rate limits remaining" missing from status bar in some windows [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18822Fetched 2026-04-22 07:52:08
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

The Rate limits remaining indicator is no longer shown in some VS Code windows.

This started appearing around last week. Before that, it was visible in every open VS Code window/session.

Root Cause

The Rate limits remaining indicator is no longer shown in some VS Code windows.

This started appearing around last week. Before that, it was visible in every open VS Code window/session.

RAW_BUFFERClick to expand / collapse

What version of the IDE extension are you using?

26.5417.40842

What subscription do you have?

Business

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Summary

The Rate limits remaining indicator is no longer shown in some VS Code windows.

This started appearing around last week. Before that, it was visible in every open VS Code window/session.

Actual behavior

In some VS Code windows, the Rate limits remaining status is missing from the bottom status bar.

Expected behavior

The Rate limits remaining indicator should be visible in the bottom status bar in every open VS Code window/session, as it was previously.

Regression

This seems to be a regression introduced sometime around last week.

Screenshot

Attached. The indicator should be visible in the bottom status bar.

What steps can reproduce the bug?

  1. Open multiple VS Code windows
  2. Start/use the extension in each window
  3. Check the bottom status bar
  4. Notice that some windows (most of the time just one) show the Rate limits remaining indicator and some do not

What is the expected behavior?

No response

Additional information

This used to work consistently across all open VS Code windows, so it looks like window/session-specific status bar state is no longer being updated or rendered reliably.

<img width="723" height="253" alt="Image" src="https://github.com/user-attachments/assets/210f04bc-e3cd-4b00-a486-524011232b7f" />

extent analysis

TL;DR

The issue can be mitigated by ensuring consistent status bar updates across all VS Code windows, potentially by reviewing the extension's window/session management code.

Guidance

  • Review the extension's code for any recent changes related to window or session management that could be causing the inconsistent status bar updates.
  • Verify that the Rate limits remaining indicator is correctly registered and updated for each VS Code window, potentially by checking the extension's initialization and update logic.
  • Test the extension with a minimal setup (e.g., a single VS Code window) to isolate the issue and determine if it's specific to multi-window scenarios.
  • Consider adding logging or debugging statements to track the status bar updates and identify any patterns or errors that could be contributing to the issue.

Example

No code snippet is provided due to the lack of specific code details in the issue.

Notes

The issue seems to be related to a regression introduced around last week, but without more information about the extension's code or recent changes, it's difficult to provide a more specific solution.

Recommendation

Apply a workaround by reviewing and updating the extension's window/session management code to ensure consistent status bar updates across all VS Code windows, as the root cause of the issue is likely related to this aspect.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The Rate limits remaining indicator should be visible in the bottom status bar in every open VS Code window/session, as it was previously.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING