`gh pr view --json commits` is limited to 100 commits
Offen
core
enhancement
gh-pr
- Vorherrschende Sprache
- Go
- Sterne
- 46.3k
- Forks
- 9k
- Ø Merge
- 2 T. 6 Std.
- Gemergte PRs (30 T.)
- 97
Beschreibung
When requesting commits in a PR with `gh pr view --json commits`, only the first 100 commits are shown. All commits should be returned. In my use case I only need the latest commit (to update a PR check status), and it becomes inaccessible for PRs with more than 100 commits.
I assume this is related to #3040 and #5368.
Beitragsleitfaden
Rechercherichtung
Start by reading related issues #3040 and #5368, then trace the implementation of `gh pr view --json commits`. Reproduce the behavior with a pull request containing more than 100 commits and verify that all commits, including the latest one, are returned.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, go
- Bereich
- api, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100