Skip to content

fix(github): follow pagination for repos, runners and workflows - #57

Merged
JustMaris merged 1 commit into
mainfrom
feat/paginate-lists
Nov 19, 2026
Merged

JustMaris merged 1 commit into
mainfrom
feat/paginate-lists

Conversation

@JustMaris

Copy link
Copy Markdown
Member

Repos, Runners and Workflows read one page of 100 and stopped, with a note to add pagination past 100. They now follow the Link header's next page like Releases, RunsCreatedSince and RunJobs already do, so an org past 100 repos (or 100 runners, or a repo with 100+ workflows) is no longer cut off. No total-count check is needed: the Link header says whether another page exists. The results are already held for the poll's cache TTL by the fetchers, so nothing else needs keeping in memory. Tests: a two-page server for each of the three.

@JustMaris
JustMaris merged commit 1008c45 into main Nov 19, 2026
8 checks passed
@JustMaris
JustMaris deleted the feat/paginate-lists branch November 19, 2026 11:25
@dnb-robot dnb-robot Bot mentioned this pull request Nov 19, 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