feat: harden rotation behavior and dashboard controls#4
Open
jorgitin02 wants to merge 2 commits intoguard22:mainfrom
Open
feat: harden rotation behavior and dashboard controls#4jorgitin02 wants to merge 2 commits intoguard22:mainfrom
jorgitin02 wants to merge 2 commits intoguard22:mainfrom
Conversation
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.
Hello there!! I use this repo a lot a decided to make a few upgrades/changes. if you like them you can merge them into the main repo! thanks.
This update hardens account rotation behavior and dashboard controls for multi-account Codex usage:
Why this matters
Key behavior changes
429, code computesrateLimitedUntilfrom:Retry-AfterrateLimitedUntil > now./api/settingsapply to selection logic immediately.Compatibility and risk
Verification executed
Run locally in repo root:
Latest observed results:
lint: passtest:unit: pass (9 suites, 125 tests)build: passLive checks performed against local dashboard (
127.0.0.1:3434):/api/stateand restored successfully.dist/web.js.Recommended reviewer focus
src/index.tsandsrc/rate-limits.ts:429handling and reset inference.src/rotation.tsandsrc/force-mode.ts: strict force semantics and runtime strategy path.src/settings.ts: runtime settings precedence and sync semantics.src/web.ts: strategy/force UI placement and tooltip copy.