Repository navigation
Description
Problem
Lines are cited at 910b823 (main and release/v0.2.29). A bare :N is a line of src/devops_cli/github/rate_limiter.py. The Service image runs the same code: its tracebacks raise at :886, called from calculate_delay at :938.
What fails. Between 2026-10-05 03:32Z and 2026-10-07 23:32Z, the roadmap Service logged 18 errors reading GitHubRateLimitError: Rate limit state for subcommand 'core' is in an unknown or broken state and could not be refreshed from GitHub. The count is from Loki over the 9 days up to 2026-10-08 01:31Z, the time of the check: sum(count_over_time({namespace="devops", container="service"} |= "unknown or broken" [9d])). The errors came from six pods, one per rollout, and from two managed repositories: this one and one other.
- 8 Service rounds failed before any job ran (
Service job execution failed,src/devops_cli/server/service.py:173-185). Examples are the change read (roadmap/run.py:687) and the config read. Every job due in that round waited for the next 300 s poll. - 2 single jobs failed.
- reprioritize, at 2026-10-05 04:37:12Z.
- close, at 2026-10-07 23:32:07.7Z, in
plan_close->merged_pull_requests. This is one reason v0.2.28's delivered items were still open when release.yml closed the milestone at 23:44:21Z. fix(roadmap): closure closes the items delivered into a release whose milestone has already closed #1362 makes such a miss recoverable.
- 8 metrics reads were dropped with a WARNING (
github/metrics.py:275,:344,:371,:403): Actions runs, milestones, open issues and traffic views. - No other limiter error appears in the same window (about 360k lines scanned): no
Failed to refresh rate limits, no empty or malformedrate_limitanswer, notime until reset must be non-negative, noreset_epoch is unknown, noremaining requests is unknown. So every call togh api rate_limitsucceeded and returned a usable answer.
Every failure falls in the second or two after a core window's reset. The pause between requests is the time to reset divided by the remaining requests (calculate_request_delay, :422-444). It reads 0.00s just before a window ends and 0.72s (3,600 s / 5,000) in a fresh window:
Last 0.00s pause |
Failure(s) | First fresh 0.72s pause |
|---|---|---|
| 2026-10-05 13:01:20.93Z | 13:01:22.70, 13:01:23.07 | 13:01:23.45 |
| 2026-10-06 04:15:44.73Z | 04:15:45.46, 04:15:45.80 | 04:15:46.17 |
| 2026-10-07 23:32:06.24Z | 23:32:07.72 | 23:32:08.16 |
GitHub's reset is a whole second. In each row the stored reset was still in the future at the last 0.00s pause, and GitHub's answer was already at or before the clock at the first failure. That brackets the reset:
- 2026-10-06: the reset is :45. On the pod's clock, GitHub still reported the old window 0.80 s after it, and the new one by 1.17 s.
- 2026-10-07: the reset is :07. The old window was still reported 0.72 s after it, and the new one by 1.16 s.
- 2026-10-05: the reset is :21 or :22. The old window was still reported 1.07 to 2.07 s after it, and the new one by 1.45 to 2.45 s.
So, on the pod's clock, GitHub keeps reporting a window for up to about 2 s after its reset. The logs can't tell whether that is GitHub's rollover or the pod's clock running ahead.
Why it raises. The call path is acquire -> _acquire_locked -> calculate_delay -> _resolve_quota_state (:863-895).
- A stored quota is usable only while
reset_epoch > nowand it was updated in the last 300 s (QuotaState.is_valid,:150-164;DEFAULT_GH_QUOTA_MAX_AGE_SECONDS,config/defaults.py:772). Roadmap and metrics reads don't pass-i, so they carry no headers. The stored reset is therefore the one the last refresh read. - Once the pod's clock passes that reset, the limiter refreshes once from
gh api rate_limit(:876-884,_refresh_from_github:897-927). - GitHub still reports the window that is ending.
resetis "the time at which the current rate limit window resets in UTC epoch seconds" [sourced: GitHub REST docs, rate limits for the REST API], so it is whole seconds. For up to about 2 s after it (above), the answer carries a reset at or before the pod's clock. _resolve_quota_statechecks that answer against thenowit read before the refresh (:871,:882), finds it not valid, and raises (:886-895). A failed refresh never reaches this raise, because_refresh_from_githubraises its own error first (:909-924). So the raise only fires after a successful refresh.- A second check at the same boundary is latent. Suppose the refresh returns a reset that falls between that
nowand the end of the refresh. Thencalculate_delayraisestime until reset must be non-negative(:948-954).test_calculate_delay_rejects_negative_time_left(tests/test_github_rate_limiter.py:138-146) pins that behaviour by patching the private_resolve_quota_state. It has not fired yet.
The refresh doesn't say what it covered. _extract_rate_limit_endpoint_response (:1496-1511) returns nothing. _update_single_resource_quota (:1483-1493) silently skips a resource that is missing or has no remaining. The disk sync keeps in-memory entries that the disk no longer holds (:788-792). So a stored entry the answer didn't cover survives the refresh unchanged, and _resolve_quota_state can't tell "the answer lacked core" from "the answer repeated an old reset".
The rest of the module already treats a passed reset as a reset. _acquire_locked restarts its schedule when reset_epoch <= now (:1017-1020), and _calculate_primary_delay returns no wait (:671-673). Only _resolve_quota_state and calculate_delay treat a passed reset as broken. PyGithub, locked at 2.10.0 (pyproject.toml:16), waits for the reset "plus 1s as it is not clear when in that second the reset occurs" [sourced: PyGithub 2.10.0 github/GithubRetry.py:173-174].
Why it recurs on a beat. The Service polls every 300 s (DEFAULT_SERVICE_POLL_INTERVAL_SECONDS, config/defaults.py:963). When the token is idle between polls, a window opens with one poll's first request. It ends 3,600 s later, at the start of the twelfth poll after that one, so that poll's first calls land in the reset second. On 2026-10-06 one pod failed at 04:15:45, 06:20:45, 07:20:47, 10:30:45 and 11:35:45.
Threads: no race, but each thread fails separately.
- One limiter serves the whole process (
get_github_rate_limiter,:1351). Each managed repository'sRepoWorkerthread uses it (server/service.py:63-90). calculate_delayholdsself._lock, an RLock, for the whole refresh (:935-940). The refresh runs gh throughrun_subprocess, which never calls back into the limiter. So_is_refreshing(:756,:876-881) is never true when it is read; it is dead code.- Each thread that reaches the boundary runs its own refresh and fails in turn. On 2026-10-06, the two repositories' workers failed on Actions-runs reads at 11:35:45.62 and 11:35:45.98.
The saved ledger doesn't help. _load_disk_quota drops entries whose reset has passed (:280-307). A restart at the boundary therefore takes the same path.
The log lacks the numbers. The error's details (remaining, reset) never reach the log line. No record shows the reset or how far the clock was past it.
Cost. A failed job is not stamped (roadmap/run.py:780), so it runs again on the next poll. A failed change read loses the whole round. The 2026-10-07 failure hit close 11 minutes before the v0.2.28 release pull request merged.
Acceptance criteria
- A passed reset means the window has ended. It is not unknown state.
- When the stored reset is at or before now,
_resolve_quota_staterefreshes once, as it does today. - GitHub's answer may still have a reset at or before now, by no more than the clock bound below. In that case the call waits until that reset plus 1 s, then runs. No
GitHubRateLimitErroris raised. - The wait is
acquire's existing sleep (:998-1004), which runs afterself._lockis released (:989-996). Other repositories' worker threads are not held behind it.
- When the stored reset is at or before now,
- A clock far from GitHub's still fails closed.
- Suppose GitHub's fresh answer has a reset more than the bound (proposed 5 s) before the local clock. Then
_resolve_quota_stateraisesGitHubRateLimitError, and the command never runs. - The message says the clocks disagree. It names the resource, the reported reset and the local clock in UTC, and the gap in seconds.
- The gap is measured only on GitHub's fresh answer. A stored entry whose reset passed long ago, as after an idle hour, refreshes and paces as today.
- Suppose GitHub's fresh answer has a reset more than the bound (proposed 5 s) before the local clock. Then
- Both numbers are named constants: the 1 s margin and the clock bound. They go in
config/constants.py, or besidegithub/rate_limiter.pyif docs(agents): a matching table lives beside its one owner, and moves to config/ only when a second package imports it #1016's placement invariant has landed first.- The margin's comment cites GitHub's whole-second
resetand PyGithub's margin. - The bound's comment cites the gaps measured above.
- The margin's comment cites GitHub's whole-second
- A passed reset means the same thing everywhere in the module.
_resolve_quota_stateandcalculate_delayfollow the rule that_acquire_locked(:1017-1020) and_calculate_primary_delay(:671-673) already apply. Thetime until reset must be non-negativeraise (:948-954) is gone.test_calculate_delay_rejects_negative_time_leftis deleted; test (1) covers the behaviour throughrun_gh. - A request sent after the reset is not counted against the old window.
_acquire_lockedalready records use only on a valid entry (:1033-1034), and that stays. The next call refreshes again and paces from the new window. - Truly unknown state still fails closed.
_resolve_quota_stateraises when:- the refresh fails (
_refresh_from_github's errors, unchanged); - GitHub's answer has no usable entry for the resource. This holds even when a stale stored entry with a passed reset exists. The refresh reports the resources it updated, from the parsed
resourceskeys_extract_rate_limit_endpoint_responsealready holds (:1504-1511). The message names the resource and those resources.
- the refresh fails (
- The boundary shows in the log. Each wait at a passed reset logs one INFO record. It names the resource, the reported reset in UTC, how many seconds the clock is past it, and the wait.
-
_is_refreshingis deleted (:756,:876-881). The lock already serializes the refresh, and nothing calls back into it. - Tests go in
tests/test_github_rate_limiter.py, or its mirrored path if test(cli): every test file sits in the directory mirroring the package it tests or in tests/invariants/, and the root conftest holds only the hermetic floor #1313's move has landed. They patch no devops-cli name (test(cli): tests double only process edges and mirror the source tree #1307).- gh is faked at the stdlib process edge,
subprocess.run, astests/test_github_rate_limiter.py:1148already does. If test(github): github/ is tested through its public interface over the gh process and session fakes, with no internal patches or private imports #1321's gh process fake has landed, they use that instead. - The fake answers
gh auth token,gh api rate_limitand the command, and records each argv. Refreshes are counted as thegh api rate_limitcalls it saw. - Time is frozen and waits are recorded with refactor(cli): tests control time: time-machine fakes wall-clock reads, and retry and rate-limit waits return at once and are recorded #1320's clock fixture if it has landed. Otherwise the tests patch
time.timeandtime.sleep. - Stored quota is seeded through the public
update_quota. - The tests make no network call, and each test's call phase stays under 1 s.
- Cases:
- (1) Boundary. The stored core reset is 0.5 s behind the clock, and
gh api rate_limitanswers with the same reset.run_gh(["api", "repos/o/r/issues"])runs the command once, after exactly one refresh and a recorded wait of 0.5 s, and raises nothing. - (2) New window after idle. The stored core reset is an hour behind the clock. The refresh answers 5,000 remaining with the reset 3,600 s ahead. The recorded wait is 0.72 s, and there is no clock error.
- (3) Clock ahead, within the bound. The reset is 2 s behind the clock, and every refresh repeats it. The command runs with no wait, and the next
run_ghrefreshes again before it runs. - (4) Clock ahead, past the bound. GitHub's answer has the reset 60 s behind the clock. The error says the clocks disagree and names the reported reset, the local clock and the 60 s gap. The command never runs.
- (5) Refresh fails.
gh api rate_limitexits 1 withHTTP 502. TheGitHubRateLimitErrornames the gh failure, and the command never runs. - (6) Resource missing over a stale entry. A stored
coreentry has its reset 0.5 s behind the clock. The answer listsgraphqlandsearchbut nocore. The error namescoreand the listed resources, and the command never runs. - (7) Two worker threads. Two threads call
run_ghat the boundary from case (1). Both commands run, and neither raises.
- (1) Boundary. The stored core reset is 0.5 s behind the clock, and
- gh is faked at the stdlib process edge,
-
uv run devops cipasses within its 5-minute budget. -
changelog.d/<n>.mdrecords the change.CHANGELOG.mdanddocs/ROADMAP.mdare untouched (uv run devops pr check-readinesspasses). - Pending a person, after merge and once the Service runs an image with this fix:
- 7 days later,
sum(count_over_time({namespace="devops", container="service"} |= "unknown or broken" [7d]))returns no data. - In the same 7 days, the INFO record from the log criterion appears at least once, which shows the boundary path ran. Every gap it reports is below the clock bound.
- 7 days later,
Key questions
- Wait until the reset plus 1 s, or go at once? Proposed: wait.
- GitHub asks clients not to retry until after
x-ratelimit-resetonce the quota is used up, and the old window may have 0 left. - The 1 s covers the whole-second rounding, as PyGithub does. It doesn't guarantee the new window: on 2026-10-05 GitHub reported the old one up to 2.07 s after its reset.
- The cost is at most 1 s, once an hour.
- Alternative: go at once when GitHub's answer shows remaining above 0. That saves under a second and adds a branch.
- GitHub asks clients not to retry until after
- What is the clock bound? Proposed: 5 s, not user-configurable.
- The largest gap measured at a real boundary is 2.07 s, so 5 s leaves more than twice that.
- A clock 5 s off GitHub's is a fault for a person to fix, not something to pace around.
- The INFO record shows the gap growing before it trips.
- Alternative: 10 s. That tolerates more drift, and for longer, while every call runs unpaced.
- After the wait, refresh again and raise if GitHub still reports the old window? Proposed: no.
- The next call refreshes anyway.
- Raising would bring the failure back whenever GitHub reports the old window more than 1 s past its reset, as on 2026-10-05.
- A clock far ahead is caught by the bound instead.
- A request that lands in an exhausted old window gets a 403.
_calculate_primary_delayreturns no wait once the reset has passed, socalculate_backoff_delayfalls through to the secondary backoff (:1205-1215). That backoff is at least 60 s (DEFAULT_GH_SECONDARY_RATE_WAIT,config/defaults.py:827), and it happens once, only when the old window ended at 0.
- Does this belong in refactor(github): the github session owns transport, ledger, error classes and link pagination #983? Proposed: no, but both edit the same raise.
- refactor(github): the github session owns transport, ledger, error classes and link pagination #983 (P1, no milestone) moves transport and the ledger into a session and routes refresh failures through its error classifier. Its 2026-10-04 section also reclassifies "the broken-state error that
_get_quota_lockedraises when a refresh fails". At 910b823 that is this raise (:886-895), and a refresh failure never reaches it:_refresh_from_githubraises first. - After this item, the raise covers only a resource missing from GitHub's answer and the clock bound. refactor(github): the github session owns transport, ledger, error classes and link pagination #983's classifier then belongs on
_refresh_from_githubalone. Whichever item lands second rebases. - The root cause differs. refactor(github): the github session owns transport, ledger, error classes and link pagination #983 never addresses the reset boundary, and this item stops a failure that happens several times a day now.
- refactor(github): the github session owns transport, ledger, error classes and link pagination #983's planned refresh before
_is_graphql_quota_exhaustedwould meet the same boundary, so it should reuse this rule. fix(github): project reconcile reads an unknown quota, fixes existing cards first, and says when it stopped early #892 relies on that refresh. - The clock error keeps
GitHubRateLimitError, the class of the raise it replaces. refactor(github): the github session owns transport, ledger, error classes and link pagination #983 owns error classes.
- refactor(github): the github session owns transport, ledger, error classes and link pagination #983 (P1, no milestone) moves transport and the ledger into a session and routes refresh failures through its error classifier. Its 2026-10-04 section also reclassifies "the broken-state error that
- Does this belong in fix(github): gh calls no longer stall silently for up to a minute behind a fixed 60-call window, and the unmaintained
ratelimitpackage is removed #1118? Proposed: no.- fix(github): gh calls no longer stall silently for up to a minute behind a fixed 60-call window, and the unmaintained
ratelimitpackage is removed #1118 (P2) removes theratelimitburst ceiling:_burst_protected_subprocessand its decorator (:64-92), and its call sites (:1561,:1657,:1769). - The root cause and the lines are different. The only overlap is the module, so whichever lands second rebases.
- The same goes for fix(github): a paginated gh api read fails closed on a page that is not the expected json, instead of returning a short listing #1034 (paginated reads, v0.2.29).
- fix(github): gh calls no longer stall silently for up to a minute behind a fixed 60-call window, and the unmaintained
- Does the module's "no unknown state" premise still hold? Proposed: yes. A missing entry, a failed refresh or a clock far off GitHub's still raises. A reset that has just passed is not unknown: GitHub's own answer says the window has ended.
- Should the Service add jitter so its poll stops lining up with the window? Proposed: no. The boundary belongs to GitHub, and any caller can hit it. Jitter would only make the failure rarer.
Strategic alignment
- P1 bug. Every gh call in the Service and the CLI goes through this path. The Service hits it several times a day because each window ends as a poll starts: 18 times in 3 days. Each hit loses a Service round, a job or a metrics sample. The 2026-10-07 hit held up closure just before v0.2.28 shipped.
- Value: high. Effort: S.
- Three methods and one function change.
_extract_rate_limit_endpoint_responseand_refresh_from_githubreturn the resources updated._resolve_quota_stateapplies the rule and the bound.calculate_delayloses its raise. - Two constants, one deleted flag, one deleted test, seven tests.
- Three methods and one function change.
- Library-first. It follows GitHub's documented reset semantics and the margin PyGithub, a locked dependency, already uses. It adds no dependency and no helper. PyGithub's
GithubRetrycan't be reused directly: it is a urllib3Retryfor PyGithub's own HTTP requests, whilerun_ghruns gh processes. - Milestone: left to the release-start fill. v0.2.29 already holds 12 open items.
- Related:
- refactor(github): the github session owns transport, ledger, error classes and link pagination #983: shares the broken-state raise; its GraphQL quota refresh should reuse this rule.
- fix(github): project reconcile reads an unknown quota, fixes existing cards first, and says when it stopped early #892 (v0.2.29): reconcile's quota read and the "reset time has passed" case.
- fix(github): gh calls no longer stall silently for up to a minute behind a fixed 60-call window, and the unmaintained
ratelimitpackage is removed #1118 and fix(github): a paginated gh api read fails closed on a page that is not the expected json, instead of returning a short listing #1034: same module. - docs(agents): a matching table lives beside its one owner, and moves to config/ only when a second package imports it #1016: placement of the two constants.
- test(cli): tests double only process edges and mirror the source tree #1307: tests patch no devops-cli name. refactor(cli): tests control time: time-machine fakes wall-clock reads, and retry and rate-limit waits return at once and are recorded #1320 is the clock fixture, test(github): github/ is tested through its public interface over the gh process and session fakes, with no internal patches or private imports #1321 the gh process fake, test(cli): every test file sits in the directory mirroring the package it tests or in tests/invariants/, and the root conftest holds only the hermetic floor #1313 the test move.
- feat(cli): service mode for
devops servewith github webhooks, a polling tick and per-repo job queues #752 (closed, v0.2.26), for context: per-repo workers share one limiter. - feat(cli): correct secondary-limit backoff and retry-after handling in
run_gh#705 (closed, v0.2.24), for context: its backoff already treats a passed reset as a reset. - fix(roadmap): closure closes the items delivered into a release whose milestone has already closed #1362: closure of a shipped release's items, which the 2026-10-07 close failure left open.
- fix(roadmap): board writes go to the card by node id and read only that card, so intake keeps the card it added and a write costs a few GraphQL points instead of about 320 #1361: GraphQL reserve refusals pause every Service worker until the reset. The state errors left after this item carry no reset and pause nothing.
Update 2026-10-08: delivered scope
- Where the boundary is logged: in
calculate_delay's passed-reset branch (_passed_reset_delay), not in_resolve_quota_state.- The record names the time the call waits until at least, the reset plus the 1 s margin, rather than a number of seconds: a write's own pacing (
mutation_min_interval, the write slot) can lengthen the wait. It also covers a reset that passes between the two clock reads. - It is written on every call at a passed reset, including when the clock is already more than 1 s past it and the wait is 0 s.
- The record names the time the call waits until at least, the reset plus the 1 s margin, rather than a number of seconds: a write's own pacing (
- The wait is
max(min_interval, reset + 1 s − now, 0). A clock 1–5 s past the reset runs at once, and the next call refreshes again. - Clock check: the clock is read just before the refresh, so a slow
gh api rate_limitcall can't push a correct clock past the 5 s bound. - What counts as covered by the refresh: only resources whose answer had both
remainingandreset. A resource withremainingbut noresetfails closed as missing. - Error details use
reported_reset,local_clock,gap_secondsandreported_resources, neverreset_epoch, so fix(roadmap): a GraphQL budget refusal pauses every Service worker until the reset, and each Service round ends with its spend line #1400's pause never keys on these errors. - Placement: docs(agents): a matching table lives beside its one owner, and moves to config/ only when a second package imports it #1016, refactor(cli): tests control time: time-machine fakes wall-clock reads, and retry and rate-limit waits return at once and are recorded #1320, test(github): github/ is tested through its public interface over the gh process and session fakes, with no internal patches or private imports #1321 and test(cli): every test file sits in the directory mirroring the package it tests or in tests/invariants/, and the root conftest holds only the hermetic floor #1313 have not landed, so the constants are in
config/constants.pyand the tests intests/test_github_rate_limiter.py.- The tests patch only
subprocess.run,time.timeandtime.sleep, and assert the whole list of recorded waits.
- The tests patch only
- Docs: AGENTS.md's
run_ghsummary and the rate limiter docstrings describe the wait at a passed reset. - Priority: the board Priority is P2-Medium (set at intake), not the P1 this body proposes.
- Not changed:
_load_disk_quotastill drops passed resets. - Found while delivering:
ratelimit's 60-calls-per-60-s ceiling trips inside the fulldevops cirun, a 60 s spin in fix(github): a paginated gh api read fails closed on a page that is not the expected json, instead of returning a short listing #1034's page-cap test. The evidence is on fix(github): gh calls no longer stall silently for up to a minute behind a fixed 60-call window, and the unmaintainedratelimitpackage is removed #1118.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty-bot commentedon Oct 8, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
18 production errors over 9 days caused 8 failed service rounds and 2 failed jobs, but the failure window is 1–2 s per reset and the service self-recovers on the next poll.Eliminates intermittent job failures and dropped metrics reads at every rate-limit reset, improving service reliability for all managed repositories.Requires adjusting the quota-validity check and refresh logic in rate_limiter.py to tolerate a small reset-boundary tolerance, plus regression tests covering the race.dan-petty commentedon Oct 8, 2026
Placed in v0.2.29 by the owner on 2026-10-08. The owner's instruction was to pull every issue that keeps the roadmap service from working into the current milestone and complete them. This is a person's placement and should stay in the release (#1349). Implementation started the same day, so the board Status is In Progress.
fix(github): a gh call at a quota window's reset waits out the reset …
dan-petty-bot commentedon Oct 8, 2026
What changed
#1413, merged into
release/v0.2.29as 2f1f4f0.6 file(s) changed.
How it was verified
Check runs at f2f4928:
Acceptance Criteria of
docs/agent/tasks/task-1364-quota-reset-boundary.md:acquire's sleep, outsideself._lock. Tests:test_a_call_just_past_a_reset_waits_out_the_reset_second(one refresh, one recorded 0.5 s wait, the command once) andtest_a_clock_within_the_bound_past_the_reset_runs_and_refreshes_again(no wait, a refresh before each call).GitHubRateLimitErrorsaying the clocks disagree. The error names the resource, the reported reset and the local clock in UTC, and the gap. The command never runs. The gap is measured on GitHub's fresh answer only: a stored window that ended an hour ago refreshes into the new one and paces from it. Tests:test_a_clock_past_the_bound_fails_closed_naming_both_clocksandtest_a_call_after_an_idle_hour_paces_from_the_new_window(one recorded 0.72 s wait).src/devops_cli/config/constants.py:CONST_GH_RATE_LIMIT_RESET_MARGIN_SECONDScites GitHub's whole-secondresetand PyGithub 2.10.0's margin (github/GithubRetry.py:173-174), andCONST_GH_RATE_LIMIT_CLOCK_SKEW_BOUND_SECONDScites the measured 0.72–2.07 s gaps.test_calculate_delay_rejects_negative_time_leftare deleted. The boundary tests cover the behaviour throughrun_gh._acquire_lockedstill records use only on a valid entry. The boundary test reads the storedcorequota back unchanged (remaining7,used4993).test_a_failed_refresh_fails_closed_naming_the_gh_failure). An answer without the resource raises naming it and the resources the answer does report, even over a stale stored entry (test_an_answer_without_the_resource_fails_closed_over_a_stale_entry). In both cases the command never runs.[RateLimit] '<resource>' quota window reset at <UTC>, <s>s ago; waiting until at least <UTC>, the reset plus the margin. A write may wait longer, for its own pacing._is_refreshingis deleted.test_two_workers_at_the_reset_both_wait_it_out_and_run).tests/test_github_rate_limiter.py. They fake gh atsubprocess.runonly, rely on the autousepin_github_sessionfor the token, freezetime.time, recordtime.sleep, seed the stored quota throughupdate_quota, make no network call and patch no devops-cli name. They assert the whole list of recorded waits.changelog.d/1364.mdrecords the fix.CHANGELOG.mdanddocs/ROADMAP.mdare untouched.uv run devops cipasses.sum(count_over_time({namespace="devops", container="service"} |= "unknown or broken" [7d]))returns no data.{namespace="devops", container="service"} |= "quota window reset at"shows at least one line, and every<s>s agoit reports is below 5 s.feat(release): v0.2.29 (#1455)