Repository navigation
Share machine-local GitHub Quota waits with the Inbox - #2001
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
Writes are locked and atomic; expired waits are ignored. Credentials are never stored. Pass and running Command execution stays unchanged until the following Tickets.
Closes #1995
Evidence
Execution evidence
cargo test --bin thirdshift github::execution_tests::primary_quota_failure_records_a_shared_wait -- --exactfailed:primary quota failure left no shared Quota wait.After: the same command passed:
1 passed; 0 failed.cargo test --bin thirdshift github::execution_tests::quota_failure_uses_repository_host_instead_of_comment_url -- --exact --nocapturefailed: host wasdocs.example.net, expectedgithub.com.After: the same command passed:
1 passed; 0 failed. Regression retained.cargo test --bin thirdshift github::execution_tests::quota_failure_does_not_treat_a_close_comment_as_a_host_selector -- --exactfailed: the actual GitHub host had0waits, expected1.After: the same command passed:
1 passed; 0 failed. Close comments that look like flags are treated as payload.cargo test --test status merged_pull_request_takes_its_ready_row_into_resolved_saying_so -- --exact --nocapturefailed at the read-only call assertion, which rejectedapi user --hostname github.com.After: the same command passed:
1 passed; 0 failed. The assertions retain the read-only guarantee and permit that exact identity lookup.cargo test --bin thirdshift github::execution_tests::a_rest_quota_failure_in_a_repository_named_graphql_keeps_the_core_resource -- --exactfailed its REST core resource assertion.After: the same command passed:
1 passed; 0 failed. Repository names in REST error URLs no longer select the GraphQL resource.cargo clippy --all-targets -- -D warningsandcargo fmt --checkpassed.cargo test --test statuspassed: 78 tests, 1 intentionally ignored helper. Its primary-quota recovery case now verifies no reads before reset and recovery after the shared reset expires.scripts/affected-tests mainpassed onb8334db8: 4,194 Rust tests passed under nextest; all 190 Console browser tests passed; site, Go, Python, TypeScript and release-generator checks passed too.Test seams: the GitHub adapter through fake
gh; shared-record observation/read on a real temporary filesystem; wait planning with injected clock and random source; existing status and Console Inbox seams.Review coverage
Reviewed against
refs/remotes/origin/issue-1994at960513a91e3ca30df2dbfce46b625e91833d0e7cusingthirdshift-code-review. Standards: 0 findings. Spec: 2 findings, both reproduced, fixed and retained as tests. Each reviewer read all 12 changed files. Generated-output exclusions: none. Changed files left unread: none.Unaddressed findings
Standards
None.
Spec
None. Both findings were addressed.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The change adds a local record and replaces Inbox quota storage; it can be rolled back without migrating GitHub data.
Blast Radius: GitHub
Failure recording and Inbox quota pauses share machine-local state. Passes and running Commands do not wait or skip on this record yet.
Built with codex codex-cli 0.167.1 · gpt-6.1-sol · xhigh