Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github publish: handle repos with >100 labels #803

snarfed opened this issue Mar 22, 2018 · 2 comments

github publish: handle repos with >100 labels #803

snarfed opened this issue Mar 22, 2018 · 2 comments


Copy link

snarfed commented Mar 22, 2018

@tantek recently published to w3c/csswg-drafts#2445 (log), which included the css-color-3 and Needs Edits labels, but only css-color-3 actually got attached to the github issue.

this is because i use github's GraphQL API to fetch the repo's labels, and it limits results to 100 items, and the csswg-drafts repo has more than 100 labels. (!)

i guess i should detect this and fetch more pages of labels when necessary. whee!

Copy link

tantek commented Jul 13, 2018

Here is another more recent example:


New issue, with two labels: css-overflow-4, css-scrollbars-1

Only the first label was added to the Bridgy Publish POSSE copy:


Is this the same problem? I thought perhaps with the switch from GraphQL to the GitHub v3 API a few weeks (months?) ago, this might have been fixed at the same time.

Whatever the cause is, some labels are still not getting through via publish.

(Originally published at:

Copy link
Owner Author

snarfed commented Jul 13, 2018

heh, sorry for the trouble. yup, same missing feature, paging through multiple pages of labels past the first 100 for a repo. the recent switch from graphql to rest v3 api was just a couple calls, not the whole codebase, and the rest v3 api has the same max 100 item per page limit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants