Repository navigation
Conversation
successCommentCondition: false skips the associated pull request lookup in the success step of @semantic-release/github, which runs past GitHub's 10-second GraphQL limit on large releases. It also turns off the released labels, which nothing in the repo uses.
langz
added a commit
that referenced
this pull request
Oct 28, 2026
Keep this pull request as the patch alternative; #10315 turns off the release comments instead.
Contributor
|
Branch Preview URL (stable): Deployment URL (unique): |
tujoworker
approved these changes
Oct 28, 2026
tujoworker
left a comment
Member
There was a problem hiding this comment.
Looks like the cleanest solution.
tujoworker
requested changes
Oct 28, 2026
tujoworker
left a comment
Member
There was a problem hiding this comment.
I think we can better. Because with that PRs do not get marked as released.
Member
Author
Yes, that's correct 👍 |
Member
|
Replaced by #10320, which keeps release confirmations and labels while moving notifications out of the publish job. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v11.16.1 release failed after it was published to npm and GitHub (Release run).
After publishing,
@semantic-release/githubcomments on every released pull request and adds thereleasedlabel. To find those pull requests, it asks GitHub's GraphQL API about 100 commits per request and sends all of these requests at once. GitHub stops a GraphQL request after 10 seconds, and a 100-commit request now takes longer, so the step fails withTypeError: Cannot destructure property 'repository' of '(intermediate value)' as it is undefined. The failed job then skipped the SBOM, the attestation and the portal deploy. Any release with about 100 or more commits fails the same way.This sets
successCommentCondition: false, which turns off those comments and labels and skips the lookup. Nothing in the repo uses thereleasedlabel, and the release notes already list the changes. It also makes releases faster: the step took 18.5 minutes for v11.16.0.This is an alternative to #10314, which keeps the comments and labels by patching the plugin to send smaller queries. Only one of the two is needed.