Repository navigation
Conversation
Contributor
Tested commit Verification Summary
Test details# Base quattro failure reproducing leaked RPC method name:
$ bash test/shell.d/agent-usage-codex-scanner-test.sh
...
{"schemaVersion":1,"id":"codex",...,"usageStatusText":"Codex limits unavailable","authHelpText":"account/rateLimits/read"}
not ok - Codex collector keeps RPC method names out of the help text
# PR branch execution:
$ bash test/shell.d/agent-usage-codex-scanner-test.sh
ok - Codex collector uses the supported approval policy
...
ok - Codex collector reads limits even when account/read never answers
ok - Codex collector keeps RPC method names out of the help text
$ bash test/shell.d/agent-usage-update-test.sh
ok - update reports a failing collector
...
ok - update with agent arguments only runs the named collectors
$ bash test/shell.d/agents-panel-test.sh
ok - agents panel launches the default agent
...
ok - agents right click no longer refreshes
$ python3 -m py_compile bin/omarchy-agent-usage-codex
$ bash -n test/shell.d/agent-usage-codex-scanner-test.sh
|
|
Agree that stuffing Two merge notes:
The race that makes limits unavailable in the first place is still #13703 / #13816 / #13773 — this PR only cleans the failure text. |
This was referenced Oct 1, 2026
This was referenced Oct 1, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #13733.
Problem
When a Codex limits read fails,
fetch_codex_rpc()writesstr(exc)intoauthHelpText.rpc_requestraisesTimeoutError(method), so the Agents panel's help card shows the bare RPC method name. Before #13733 that wasaccount/read; now it'saccount/rateLimits/read.The panel shows
authHelpTextas guidance under "Codex limits unavailable", so a method name that looks like a permission reads as a sign-in or authorization problem. It sent me looking for a Codex sign-out/sign-in option, even though Codex was signed in and working the whole time.Change
usageStatusText("Codex limits unavailable") stays as it was.account/rateLimits/readnever answers. It asserts that the status is reported and that no method name appears in the help text. The new test fails onquattroand passes with this change.Testing
test/shell.d/agent-usage-codex-scanner-test.sh,agent-usage-update-test.shandagents-panel-test.shpass.