land: merge-queue-lookup-5xx

Merged
AF
3d ago
+150-21

Accepted agent delivery; branch-keyed search descriptor included.


Summary by cubic

Fixes merge-queue PR lookups failing on intermittent HTTP 5xx replies from GitHub's commit-to-PR endpoint.

lookup_member_prs now fetches one page without --paginate/--slurp so the real HTTP status reaches gh's stderr, and refuses a full page of 100 results as incomplete. HTTP 5xx in stderr is treated as transient while 401/403/404 stay definite, and the retry budget is raised to six attempts with 2/5/10/20/30 s backoff.

  • Tests updated for the flat PR-list reply shape and the new attempt counts.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Makes merge-queue PR lookups more resilient to GitHub errors.

  • Merge-queue lookups retry temporary GitHub errors and reject full pages.

No actionable issues found. Tests were inspected but not run.

Reviews (1) · Last reviewed commit: "release notes and search-quality descrip..." · Reviewed by Greptile