Skip to content

Handle missing Codex rate limits via app-server fallback#3

Open
smoochy wants to merge 2 commits intoxiangz19:mainfrom
smoochy:fix/app-server-ratelimit-fallback
Open

Handle missing Codex rate limits via app-server fallback#3
smoochy wants to merge 2 commits intoxiangz19:mainfrom
smoochy:fix/app-server-ratelimit-fallback

Conversation

@smoochy
Copy link
Copy Markdown

@smoochy smoochy commented Mar 8, 2026

Summary

  • add a local codex app-server fallback for rate limits when newer token_count events omit rate_limits
  • fall back to the most recent session snapshot with rate_limits if the app-server path is unavailable
  • show the active rate-limit source in the tooltip, details view, and optionally in the status bar
  • add explicit log levels (debug, info, warn, error) plus clearer source-switch logging
  • prefer bundled Codex executables before codex on PATH and avoid noisy per-candidate failure logs when a later candidate succeeds
  • add a packaging helper that writes codex-ratelimit-<version>.vsix
  • update the README and changelog to document the new behavior

Display

Status Bar

grafik

Mouse-over in Status Bar

grafik

Details view

grafik

Testing

  • npm run compile
  • npm run package:vsix
  • manual validation in VS Code against local Codex session data, including app-server fallback and source display

Note

All code, documentation, and packaging changes in this PR were created with AI assistance.

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