Repository navigation
quota-current: retry failed read once, report transport distinctly (#10816) - #10842
Conversation
…10816) A transient sandbox→laptop transport stall collapsed into a 'file missing' verdict and aborted the steward run. Read the file twice (250ms pause), verdict missing only on double ENOENT, transport on other read failures, unparseable on bad bytes; live source warns and names the transport case in quota provenance.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Closes #10816.
Evidence 2026-11-16: the steward reported quota-current.json missing while the gatherer had just written it (atomic tmp+rename writer) — a sandbox→laptop transport stall collapsed into a 'missing' verdict.
Change:
Verification: test/quota-current.test.ts 73 pass; tsc clean; quota/usage suites 97 pass with 1 pre-existing server-boot hook timeout (quota-contract.test.ts beforeAll boots src/server.ts, fails standalone in this env too — same family as the documented clean-tree baseline timeouts).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.