Skip to content

Keep Codex limits when account/read times out - #13650

Closed
AnPod wants to merge 2 commits into
omacom:quattrofrom
AnPod:cursor/fix-codex-rpc-optional-account-e0d3
Closed

AnPod wants to merge 2 commits into
omacom:quattrofrom
AnPod:cursor/fix-codex-rpc-optional-account-e0d3

Conversation

@AnPod

@AnPod AnPod commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #13266
Also addresses #13425

When the Codex app-server never answers account/read (or hits a short RPC timeout), the agents panel dropped usage/limits entirely.

Change

  • Treat account/read as optional
  • Prefer rate-limits first with a longer timeout so limits still populate

Test plan

  • Codex usage scanner tests on the branch
  • Agents panel still shows Codex limits when account/read is slow/absent

AnPod and others added 2 commits September 27, 2026 22:30
* Clear setgid when hardening Windows VM mount folders

chmod 0700 leaves the setgid bit the container sets on ~/Windows, so
relaunch prep saw mode 2700 and failed closed after the first run.

Co-authored-by: AnPod <AnPod@users.noreply.github.com>

* Cover setgid clearing for Windows VM mount hardening

Add static, chmod-quirk, and prepare_user_mount_sources coverage so
relaunch prep cannot regress back to chmod 0700.

Co-authored-by: AnPod <AnPod@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: AnPod <AnPod@users.noreply.github.com>
Co-authored-by: AnPod <AnPod@users.noreply.github.com>
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.

Agents: Codex limits dropped when app-server never answers account/read

2 participants