You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our repo has been in a pre-release state for some time and we're nearing the deadline, so we tried to exit pre and run version on the repo. Currently, we have 425 changesets pending. When trying to run pnpm changeset version
GitHub API call errors with "Something went wrong while executing your query ..."
A call to the GitHub API is placed that fails on GitHub side. I've investigated a bit and saw that the query payload sent to the API is 338KB of GraphQL (?) like this:
It seems this happens because we're generating a changelog for every changeset made since pre enter, which it'll perform a ton of queries to check each commit's linked PR, authors, etc. And I think we should address the root problem here because it's often not ideal anyways to list all changelogs from pre versions because some/most are not relevant to the final stable release anyways.
#240 highlights this issue. What I think we should do is to not generate all the changelogs on pre exit (not even prompting like #240 suggests), we'll generate the changelogs as usual for unreleased changesets, or otherwise produce an empty changelog for the stable release.
In addition to the linked PR, #2121 should also fix this by setting a batch size when fetching github for the commit info. If you do not need most of the changesets for the final release, you can delete them from the .changeset/pre/ folder.
Activity
pngwn commentedon Jun 13, 2025
This was the result of running that script for context: gradio-app/gradio#9612
gfellerph commentedon Jul 28, 2025
Awesome! Thank you @dominikg and @pngwn I'll definitely have a look at the script (and the live session!).
bluwy commentedon Nov 19, 2025
It seems this happens because we're generating a changelog for every changeset made since
pre enter, which it'll perform a ton of queries to check each commit's linked PR, authors, etc. And I think we should address the root problem here because it's often not ideal anyways to list all changelogs from pre versions because some/most are not relevant to the final stable release anyways.#240 highlights this issue. What I think we should do is to not generate all the changelogs on
pre exit(not even prompting like #240 suggests), we'll generate the changelogs as usual for unreleased changesets, or otherwise produce an empty changelog for the stable release.oliverschuerch commentedon Apr 22, 2026
@gfellerph this issue should be added to the v10 milestone, imo.
bluwy commentedon Jul 30, 2026
In addition to the linked PR, #2121 should also fix this by setting a batch size when fetching github for the commit info. If you do not need most of the changesets for the final release, you can delete them from the
.changeset/pre/folder.