semantic-release / semantic-release/github
Something went wrong while executing your query. Status 502
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 534
- Forks
- 150
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
After merging beta branch into main, semantic release properly created the version tags and released the npm package but then failed with the following error:
[3:31:41 PM] [semantic-release] [@semantic-release/github] › ℹ Published GitHub release: https://github.com/***/core/releases/tag/v2.0.0
[3:31:41 PM] [semantic-release] › ✔ Completed step "publish" of plugin "@semantic-release/github"
[3:31:41 PM] [semantic-release] › ℹ Start step "publish" of plugin "@semantic-release/exec"
[3:31:41 PM] [semantic-release] [@semantic-release/exec] › ℹ Call script echo "version=2.0.0" >> "$GITHUB_OUTPUT"
[3:31:41 PM] [semantic-release] › ✔ Completed step "publish" of plugin "@semantic-release/exec"
[3:31:41 PM] [semantic-release] › ℹ Start step "success" of plugin "@semantic-release/github"
[3:32:57 PM] [semantic-release] › ✘ Failed step "success" of plugin "@semantic-release/github"
[3:32:57 PM] [semantic-release] › ℹ Start step "success" of plugin "@semantic-release/exec"
[3:32:57 PM] [semantic-release] › ✔ Completed step "success" of plugin "@semantic-release/exec"
[3:32:57 PM] [semantic-release] › ℹ Start step "success" of plugin "semantic-release-major-tag"
[3:32:57 PM] [semantic-release] [semantic-release-major-tag] › ℹ Pushing version tag 'v2' to git.
remote: Bypassed rule violations for refs/tags/v2:
remote:
remote: - Cannot create ref due to creations being restricted.
remote:
To https://github.com/eviden-parallel/core.git
* [new tag] v2 -> v2
[3:32:58 PM] [semantic-release] › ✔ Completed step "success" of plugin "semantic-release-major-tag"
[3:32:58 PM] [semantic-release] › ✘ An error occurred while running semantic-release: RequestError [HttpError]: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query on 2025-04-02T15:32:57+00:00. This may be the result of a timeout, or it could be a GitHub bug. Please include `9A38:206CD1:6437ECA:67033E9:67ED589E` when reporting this issue."}]}
at fetchWrapper (file:///__w/core/core/node_modules/@octokit/request/dist-bundle/index.js:122:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async requestWithGraphqlErrorHandling (file:///__w/core/core/node_modules/@octokit/plugin-retry/dist-bundle/index.js:36:20)
at async Job.doExecute (/__w/core/core/node_modules/bottleneck/light.js:405:18) {
status: 502,
request: {
method: 'POST',
url: 'https://api.github.com/graphql',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': '@semantic-release/github v11.0.1 octokit-core.js/6.1.4 Node.js/22',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: [Object: null prototype] {
query: '#graphql\n' +
' query getAssociatedPRs($owner: String!, $repo: String!) {\n' +
' repository(owner: $owner, name: $repo) {\n' +
' commitf4b662: object(oid: "f4b662facd3dd855ec77dbf451ed4146c91f7199") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commit73abf7: object(oid: "73abf7f9f50090c28411d684c8abf1a277d1bc82") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commit3e9e60: object(oid: "3e9e60a8fe22606eb732dc4af8712af0821c5f2f") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commit8f2145: object(oid: "8f2145cf61ad59c2edfdb2eaa2c8c753f56a07e2") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commitcda6ce: object(oid: "cda6cef95f09bee2e89eed0e4be0eb5b22cfdfaa") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commitb4e404: object(oid: "b4e4046d39d043d4241f3be4d39bcc5d336c2522") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commitd95b70: object(oid: "d95b7021541b9933f3e7baecf97945d2c23bc617") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commitd2069b: object(oid: "d2069b76ef187b82a36ba591f89a9c21aadcd590") {\n' +
' ...on Commit {\n' +
' oid\n' +
' associatedPullRequests(first: 100) {\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' nodes {\n' +
' \n' +
' __typename\n' +
' id\n' +
' title\n' +
' body\n' +
' url\n' +
' number\n' +
' createdAt\n' +
' updatedAt\n' +
' closedAt\n' +
' comments {\n' +
' totalCount\n' +
' }\n' +
' state\n' +
' author {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' __typename\n' +
' }\n' +
' authorAssociation\n' +
' activeLockReason\n' +
' labels(first: 40) {\n' +
' nodes {\n' +
' id\n' +
' url\n' +
' name\n' +
' color\n' +
' description\n' +
' isDefault\n' +
' }\n' +
' }\n' +
' milestone {\n' +
' url\n' +
' id\n' +
' number\n' +
' state\n' +
' title\n' +
' description\n' +
' creator {\n' +
' login\n' +
' url\n' +
' avatarUrl\n' +
' }\n' +
' createdAt\n' +
' closedAt\n' +
' updatedAt\n' +
' }\n' +
' locked\n' +
'\n' +
' mergeable\n' +
' changedFiles\n' +
' mergedAt\n' +
' isDraft\n' +
' mergedBy {\n' +
' login\n' +
' avatarUrl\n' +
' url\n' +
' }\n' +
' commits {\n' +
' totalCount\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }commit1dc3ff: object(oid: "1dc3ff27547cf6c9ad6074eca6588cc21f3721d'... 112743 more characters,
variables: [Object]
},
request: {
agent: undefined,
hook: [Function: bound bound register],
retryCount: 3,
retries: 3,
retryAfter: 16
}
},
response: {
url: 'https://api.github.com/graphql',
status: 502,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset',
'content-type': 'application/json',
date: 'Wed, 02 Apr 2025 15:32:57 GMT',
server: 'github.com',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-github-request-id': '9A38:206CD1:6437ECA:67033E9:67ED589E'
},
data: { data: null, errors: [Array] }
},
pluginName: '@semantic-release/github'
}
AggregateError:
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query on 2025-04-02T15:32:57+00:00. This may be the result of a timeout, or it could be a GitHub bug. Please include `9A38:206CD1:6437ECA:67033E9:67ED589E` when reporting this issue."}]}
at fetchWrapper (file:///__w/core/core/node_modules/@octokit/request/dist-bundle/index.js:122:11)
at async requestWithGraphqlErrorHandling (file:///__w/core/core/node_modules/@octokit/plugin-retry/dist-bundle/index.js:36:20)
at async Job.doExecute (/__w/core/core/node_modules/bottleneck/light.js:405:18)
at file:///__w/core/core/node_modules/semantic-release/lib/plugins/pipeline.js:55:13
at async pluginsConfigAccumulator.<computed> [as success] (file:///__w/core/core/node_modules/semantic-release/lib/plugins/index.js:87:11)
at async run (file:///__w/core/core/node_modules/semantic-release/index.js:218:3)
at async Module.default (file:///__w/core/core/node_modules/semantic-release/index.js:278:22)
at async default (file:///__w/core/core/node_modules/semantic-release/cli.js:55:5) {
errors: [
RequestError [HttpError]: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query on 2025-04-02T15:32:57+00:00. This may be the result of a timeout, or it could be a GitHub bug. Please include `9A38:206CD1:6437ECA:67033E9:67ED589E` when reporting this issue."}]}
at fetchWrapper (file:///__w/core/core/node_modules/@octokit/request/dist-bundle/index.js:122:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async requestWithGraphqlErrorHandling (file:///__w/core/core/node_modules/@octokit/plugin-retry/dist-bundle/index.js:36:20)
at async Job.doExecute (/__w/core/core/node_modules/bottleneck/light.js:405:18) {
status: 502,
request: [Object],
response: [Object],
pluginName: '@semantic-release/github'
}
]
}
Error: Process completed with exit code 1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the @semantic-release/github success step and the @octokit/request GraphQL call shown in the log, especially the associatedPullRequests query. First determine whether the 502 is reproducible and whether the failure is specific to the GitHub API request. Done means the release success step handles this failure appropriately and the relevant behavior is covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, javascript, node.js
- Domain
- release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100