-
Notifications
You must be signed in to change notification settings - Fork 10
release: rebuild open main PR wave with review fixes #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
353de84
6e42f28
a17a58c
7a713ad
2ab9dd9
89bafc4
2a4324a
37d260b
f71fd30
c1223f4
7026dfe
dd05d20
ed433d1
db1a6da
58baa58
3c942a7
31d9706
6070594
9c19243
7348396
206eba2
967cfe3
de034fd
3326204
8299f52
5ee72f3
90f45ae
af3e487
864fefb
b6d0d96
5cf1472
a6e6784
654ca27
5d7f546
299fd05
372da70
9a3c5b2
91d310f
f035e7b
a344bd1
571a24d
aaad109
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ Codex CLI-first multi-account OAuth manager for the official `@openai/codex` CLI | |
| - Interactive dashboard for account actions and settings | ||
| - Experimental settings tab for staged sync, backup, and refresh-guard controls | ||
| - Forecast, report, fix, and doctor commands for operational safety | ||
| - Runtime request budget, cooldown, and traffic observability in `codex auth status` / `codex auth report` | ||
| - Flagged account verification and restore flow | ||
| - Session affinity and live account sync controls | ||
| - Proactive refresh and preemptive quota deferral controls | ||
|
|
@@ -156,6 +157,14 @@ If browser launch is blocked, use the alternate login paths in [docs/getting-sta | |
| | `codex auth report --live --json` | How do I get the full machine-readable health report? | | ||
| | `codex auth fix --live --model gpt-5-codex` | How do I run live repair probes with a chosen model? | | ||
|
|
||
| ### Reliability behavior | ||
|
|
||
| - whole-pool replay is disabled by default when every account is rate-limited | ||
| - active requests use a bounded outbound request budget so one prompt cannot walk the full pool indefinitely | ||
| - repeated cross-account 5xx bursts trigger a short cooldown instead of continuing aggressive rotation | ||
| - proactive refresh is staggered to reduce background refresh bursts | ||
| - `codex auth status` surfaces recent runtime request metrics in text output, and `codex auth report --json` exposes the machine-readable cooldown/runtime snapshot | ||
|
|
||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| --- | ||
|
|
||
| ## Dashboard Hotkeys | ||
|
|
@@ -190,6 +199,7 @@ If browser launch is blocked, use the alternate login paths in [docs/getting-sta | |
| | Accounts | `~/.codex/multi-auth/openai-codex-accounts.json` | | ||
| | Flagged accounts | `~/.codex/multi-auth/openai-codex-flagged-accounts.json` | | ||
| | Quota cache | `~/.codex/multi-auth/quota-cache.json` | | ||
| | Runtime observability | `~/.codex/multi-auth/runtime-observability.json` | | ||
| | Logs | `~/.codex/multi-auth/logs/codex-plugin/` | | ||
| | Per-project accounts | `~/.codex/multi-auth/projects/<project-key>/openai-codex-accounts.json` | | ||
|
|
||
|
|
@@ -265,6 +275,9 @@ codex auth login | |
|
|
||
| - `codex auth` unrecognized: run `where codex`, then follow `docs/troubleshooting.md` for routing fallback commands | ||
| - Switch succeeds but wrong account appears active: run `codex auth switch <index>`, then restart session | ||
| - Requests fail fast with a pool cooldown message: wait for the cooldown window or inspect `codex auth status` | ||
| - Requests fail fast after repeated upstream 5xx errors: inspect `codex auth report --json` for runtime traffic and cooldown details | ||
|
Comment on lines
+278
to
+279
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# verify whether windows-specific EBUSY/EPERM handling and messaging exists in storage clear paths/docs.
# expected: code has explicit windows-safe retries/handling and docs mention user action.
rg -n -C3 --type=ts 'EBUSY|EPERM|rename|unlink|rm|account-clear|clearAccountStorageArtifacts'
rg -n -C3 --type=md 'EBUSY|EPERM|windows|storage clear|account clear|cleanup'Repository: ndycode/codex-multi-auth Length of output: 50382 🏁 Script executed: # Find the storage/account-clear file
fd -type f -name "*account*clear*" -o -name "*clear*account*" lib/
# Check README.md around the fail-fast bullets
sed -n '270,290p' README.md
# Search specifically for storage-related error handling docs
rg -n "windows|cleanup|storage.*clear|account.*clear" README.md -A2 -B2Repository: ndycode/codex-multi-auth Length of output: 1505 🏁 Script executed: # Look for the actual account-clear implementation
find lib/ -type f -name "*.ts" | xargs grep -l "EBUSY\|EPERM\|clearAccountStorage" | head -10Repository: ndycode/codex-multi-auth Length of output: 372 🏁 Script executed: # Check what the documentation test expects for storage/windows
rg -B5 -A5 "eperm.*ebusy|ebusy.*eperm" test/documentation.test.tsRepository: ndycode/codex-multi-auth Length of output: 50 🏁 Script executed: # Search for account-clear related functions more broadly
rg -n "clearAccountStorageArtifacts|account.*clear|storage.*clear|AccountClear" lib/ --type ts -A3 -B1 | head -80Repository: ndycode/codex-multi-auth Length of output: 1781 🏁 Script executed: # Find and view the documentation test that checks for eperm/ebusy
sed -n '370,380p' test/documentation.test.tsRepository: ndycode/codex-multi-auth Length of output: 553 🏁 Script executed: # Search README for any windows-specific troubleshooting
rg -n -i "windows|ebusy|eperm|file.*lock|access.*denied" README.mdRepository: ndycode/codex-multi-auth Length of output: 191 🏁 Script executed: # Read the account-clear.ts file to see EBUSY/EPERM handling
cat lib/storage/account-clear.tsRepository: ndycode/codex-multi-auth Length of output: 1293 🏁 Script executed: # Find where fieldInventory is built in documentation.test.ts
rg -B20 'expect.*fieldInventory.*eperm' test/documentation.test.ts | head -60Repository: ndycode/codex-multi-auth Length of output: 957 🏁 Script executed: # Check if README mentions account storage or storage clearing
rg -n -i "account storage|storage.*clear|clean.*storage" README.md -B2 -A2Repository: ndycode/codex-multi-auth Length of output: 477 🏁 Script executed: # Check docs/development/CONFIG_FIELDS.md to see what Windows notes exist
rg -B5 -A5 "eperm|ebusy|windows.*note|concurrency.*windows" docs/development/CONFIG_FIELDS.md | head -80Repository: ndycode/codex-multi-auth Length of output: 50 🏁 Script executed: # Check if CONFIG_FIELDS.md exists and has content
cat docs/development/CONFIG_FIELDS.md | head -100Repository: ndycode/codex-multi-auth Length of output: 3139 🏁 Script executed: # Search for where eperm and ebusy are mentioned in docs
fd --type f -path "docs/*" | xargs rg -l "eperm|ebusy" 2>/dev/nullRepository: ndycode/codex-multi-auth Length of output: 311 🏁 Script executed: # View the troubleshooting section of README more broadly
rg -n "troubleshooting|common symptoms|diagnostics" README.md -i -A 30 | head -100Repository: ndycode/codex-multi-auth Length of output: 3603 🏁 Script executed: # View more of CONFIG_FIELDS.md to find eperm/ebusy sections
cat docs/development/CONFIG_FIELDS.md | grep -B5 -A5 -i "eperm\|ebusy\|windows"Repository: ndycode/codex-multi-auth Length of output: 709 🏁 Script executed: # Check if there are any docs about storage cleanup or Windows issues
fd -type f docs/ | xargs rg -l "storage.*clear\|account.*clear\|ebusy\|eperm" 2>/dev/nullRepository: ndycode/codex-multi-auth Length of output: 240 🏁 Script executed: # Check docs/troubleshooting.md to see if Windows storage is documented there
cat docs/troubleshooting.md 2>/dev/null | head -150Repository: ndycode/codex-multi-auth Length of output: 3692 Add Windows file-locking symptom and recovery path to README troubleshooting. The Also add retry logic with exponential backoff to 🤖 Prompt for AI Agents |
||
| - Storage cleanup fails with `EBUSY` / `EPERM` (Windows): run `codex auth doctor --fix` to retry, or manually remove `~/.codex/multi-auth/<project-key>/` and re-login | ||
| - OAuth callback on port `1455` fails: free the port and re-run `codex auth login` | ||
| - Browser launch is blocked or you are in a headless shell: re-run `codex auth login --manual` or set `CODEX_AUTH_NO_BROWSER=1` | ||
| - `missing field id_token` / `token_expired` / `refresh_token_reused`: re-login affected account | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.