Repository navigation
Skip every Pass during GitHub Quota waits - #2006
Merged
Merged
Conversation
This was referenced Nov 11, 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
Every Pass checks the machine's Quota wait and both GitHub quota reserves before remote preparation or taking a Command-limit slot.
Skips exit 0 with no stdout or Run notification. Activity reasons deduplicate per Pass kind, including alternating named Custom processes.
statusand the Inbox display the machine's wait until reset; open Inbox pages update at reset. The manual and hand-written pages describe skips and the quota budget shared by one GitHub user across hosts.Closes #1996
Evidence
Execution evidence
Test seams: the CLI binary against fake
gh, real Git and the email stand-in; the Console's HTTP Inbox and SSE change stream.cargo test --test pass_quotafailed: Architect began an Architecture review during the low-quota case and returnedSome(1)instead ofSome(0).After: the quota regression matrix passes for all seven Pass kinds, both resources, recorded waits, exactly 500, reset recovery, non-quota failures and exhaustion. The same whole-file command passed:
6 passed; 0 failed; 1 ignored(the ignored case is a subprocess fixture entry point).cargo test --test pass_quota unchanged_quota_wait_deduplicates_alternating_custom_processes -- --exact --nocapturefailed: quota line count3, expected1.After: the same command passed:
1 passed; 0 failed.cargo test --test pass_quota unchanged_quota_wait_deduplicates_process_names_with_spaces -- --exact --nocapturefailed: quota line count2, expected1.After: the same command passed:
1 passed; 0 failed.npm run docs:check --prefix sitepassed.cargo test --locked --test pickup_model -- --nocapturepassed its claimed-dispatch checks and retained known literal-property counterexample; this does not prove the broader literal property.cargo test --test console github::github_issue_closure_wakes_needs_you_and_status_reuses_the_answer -- --exactfailed withunchanged read woke the Inbox: event: commands. After: the same command passed,1 passed; 0 failed; all 13 Inbox GitHub-refresh regressions also passed.ghcalls. They now permit only the required quota probe; 15 affected admission regressions pass.cargo test --test console github::relearning_quota_identity_without_a_wait_keeps_the_inbox_idle -- --exactfailed withidentity bookkeeping woke the Inbox: event: commands. After: the same command passed, and the full 13-case Inbox GitHub-refresh group passed.XDG_CONFIG_HOMEreproduced the initial-wait fixture failure. The Console fixture now uses the same isolated auth/config environment as the CLI; the entire 13-case Inbox group passes under that foreign parent environment.node --test --test-name-pattern='^Inbox row Dismiss works in ready for review with JavaScript on a phone$' console/tests/inbox.test.cjs(1 passed; 0 failed), using the immutable binary and installed Chromium. The full local Console browser suite passed, and the failed CI Console job passed on retry. All applicable CI checks are green on1839371c.1839371c: formatting, clippy, and4,202 passed; 0 failed; 98 skippedin nextest (1,513.179 seconds for test execution, plus compilation).scripts/affected-tests mainpassed (exit 0): Go, Python, TypeScript typecheck/tests, 68 site browser tests, 190 Console browser tests, all 4,202 Rust tests (98 skipped), and the release-generator tests. Total wall time was 3,957.03 seconds; the Rust command took 3,339.39 seconds including compilation, with 3,272.755 seconds of test execution. Local Rust used three test threads; Console browser tests used two files at a time and an immutable binary throughTHIRDSHIFT_BINARY. Go 1.24.5, Bun 1.4.4 and Chromium were installed for the selected checks.Visual evidence
Inbox, 1440×900
Inbox, 390×844
User manual, 1440×900
User manual, 390×844
Review
Reviewed against
refs/remotes/origin/issue-1994(f55519a7105ebd45631dc92bdfca15b3b05a6fd3): Standards raised 2 findings, both addressed; Spec raised 1 finding, addressed with both reproducer tests retained.Final review coverage: Standards read 25 of 30 changed files;
src/logs.rs,src/github/quota/store.rs,tests/architect_run.rs,tests/pickup_run.rsandtests/process.rsremained unread on that axis. Spec covered 26 of 30 final changed files; the later amendment tosrc/github/quota/store.rs,tests/architect_run.rs,tests/pickup_run.rsandtests/process.rsremained unread. These amendments followed the single coverage follow-up. Later CI amendments to already-readsrc/console/changes.rsandtests/console/github.rswere not re-reviewed. Both axes inspected the generated manual; no generated-output exclusions.Unaddressed findings
Standards
None.
Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Reverting restores prior Pass admission. The shared Quota wait record format is unchanged.
Blast Radius: Passes
Admission affects every unattended or manually started Pass on the machine; quota probe failures unrelated to exhaustion preserve normal work.
Built with codex codex-cli 0.167.1 · gpt-6.1-sol · xhigh