Repository navigation
Cross-check REST and GraphQL candidate listings to avoid missed Ready/Triage issues (#2304) - #2313
Merged
Merged
Conversation
Merged
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
Cross-check REST
?labels=candidate listings against GraphQLrepository.issues(union of both sources) in Pickup and Triage Passes, and log any disagreement so a stale REST label index cannot silently hide eligible work.Confirmed root cause:
ready::searchandtriage::pass::runqueried only RESTrepos/{repo}/issues?state=open&labels=...viaGitHub::open_issues_labelled, so when GitHub's REST label index omitted an openready-for-agentorneeds-triageissue, Pickup saw no candidates and logged onlyno Ready issue.Evidence
Execution evidence
Before:
Command:
Output (
Command exited with code 101, panicked attests/pickup_run.rs:182:5):After:
Command:
Output:
Full validation on
HEAD(5b11c9d1):cargo fmt --check: passed.cargo clippy --all-targets --locked -- -D warnings: passed.scripts/affected-tests refs/remotes/origin/main < /dev/null:PASS cargo test (1553.94s)(4867 passed; 0 failed; 219 ignoredacross119test result summaries, with< /dev/nullso spawned child processes intests/experimentsdid not treat the wrapper PTY as an interactive confirmation terminal).verify-pickupmodel and mutation checks:cargo test --locked --test pickup_model -- --nocapture:4 passed; 0 failed; 1 ignoredassert_requested_property,no-claim-count,no-empty-lease): produced the expected counterexamples.Merge Danger
Door: Two-way
Reverting restores REST-only candidate listing in
ready::searchandtriage::pass::runwithout affecting repository state or persisted logs.Blast Radius: Low
Adds 1 GraphQL request (
repository.issues, 1 GraphQL rate-limit point per 100-issue page) per Pickup or Triage Pass.GitHub::open_issues_labelledcallers (Sweep,agent-failed,architect-plan/architect-idea,base-fix) remain REST-only. Unchanged listing disagreements inactivity.logdeduplicate per label under ADR-0011 without alteringactivity::last_ofskip deduplication orhistory::read.Review Coverage
All 16 changed files were read by both Standards and Spec reviewers against
refs/remotes/origin/main; 0 changed files remain unread and no generated-output exclusions apply.Unaddressed findings
None — Spec review raised 0 actionable findings, and all 4 Standards findings (
activity.logdeduplication under ADR-0011,verify-pickupmulti-request documentation and commit sync,LabelledCandidates/logs::listing_disagreementinterface cleanup, andopen_candidate_issuesdocstring wording) were addressed on branchissue-2304.Closes #2304
Built with agy 1.5.6 · gemini-4-hydrogen-xhigh · default effort
Security review outcome
No unaddressed introduced findings.