Repository navigation
Runs wait out GitHub's limits instead of failing; refused writes are never "no file" - #499
Merged
Merged
Conversation
…never "no file" A fix round hit the installation's hourly GitHub limit: 29 writes and the diff came back "403 rate limit exceeded", and the run ended "the coder wrote no file ... That is CoderHelm's miss". The coder had written; GitHub refused. - GitHub client: outside_wait() tells GitHub refusing for a while (rate limit, a 5xx, no answer) from a real answer; a per-installation record says when GitHub refuses requests right now. GitHubPaused carries when the run goes on. - Tool loop: the first refused call gets "GitHub's rate limit is reached; the run will pause and continue at HH:MM UTC. Do not retry", later calls in the turn aren't run, and the pass ends with GitHubPaused. - Implement: write calls GitHub refused or rejected are recorded; the follow-up rounds that swallowed errors pass a pause on. - Empty-step check: refused writes (or an unreadable diff while GitHub refuses) are a wait; writes rejected for a real reason stop with that reason; only no write at all is "no write". An unread diff never says CoderHelm's miss. - Ticket runs: a GitHub pause sends the run again as itself at the reset, in hops of at most 900s, saying "Waiting for GitHub's hourly limit to reset at HH:MM UTC; continues by itself" on the run page. The wait adds no step, no continuation, no model retry, and re-entering the pass it interrupted is not a new pass for the guard. Bounded by 8 waits, then a stop that names GitHub. - Feedback and CI-fix rounds wait for GitHub the same way. - Reviews: a rate limit waits for the reset without spending an attempt and never ends in the gave-up note. - API: runs carry github_wait while waiting.
This was referenced Nov 7, 2026
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.
Summary
A ticket run hit GitHub's hourly limit: every write was refused, then the run failed saying the coder wrote no file and calling it CoderHelm's miss. Reviews on the same limit burned all their retries in minutes. Runs and reviews now wait for the reset and continue.
Changes
Verification
cargo fmt; clippy -D warnings for common, gateway, worker; cargo test: common 1501, gateway 748, worker 1352 passed, 0 failed.