Skip to content

fix: PR status lookup in large repos + gw --pr shortcut (#38) - #38

Merged
jondeibel merged 2 commits into
mainfrom
fix-pr-status
Mar 9, 2026
Merged

jondeibel merged 2 commits into
mainfrom
fix-pr-status

Conversation

@jondeibel

Copy link
Copy Markdown
Owner

Summary

  • Fix PR status not showing in large repos. The old batch_pr_status() used gh pr list --limit 100, which missed tracked branches' PRs in repos with many open PRs (e.g. webflow with 100k+ PRs). Now queries each tracked branch individually with gh pr list --head <branch>, all spawned in parallel so latency is ~one round-trip.
  • Add gw --pr shortcut for gw log --pr.

Test plan

  • All 156 tests pass
  • gw log --pr shows PR status on webflow repo
  • gw --pr works as shortcut

jondeibel and others added 2 commits March 9, 2026 10:36
The old approach used gh pr list --limit 100 which missed PRs in
repos with many open PRs. Now queries each tracked branch with
gh pr list --head <branch>, spawned in parallel so latency is
roughly one network round-trip regardless of branch count.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jondeibel
jondeibel merged commit 15aece0 into main Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant