libsql: Fix bootstrap error handling #5321
release-drafter.yml
on: pull_request
update_release_draft
1m 2s
Annotations
2 errors
|
update_release_draft
HttpError: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '17232184815',
name: 'pull_request',
payload: {
action: 'opened',
number: 2148,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/139391156?v=4',
description: 'The next evolution of SQLite.',
events_url: 'https://api.github.com/orgs/tursodatabase/events',
hooks_url: 'https://api.github.com/orgs/tursodatabase/hooks',
id: 139391156,
issues_url: 'https://api.github.com/orgs/tursodatabase/issues',
login: 'tursodatabase',
members_url: 'https://api.github.com/orgs/tursodatabase/members{/member}',
node_id: 'O_kgDOCE7wtA',
public_members_url: 'https://api.github.com/orgs/tursodatabase/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tursodatabase/repos',
url: 'https://api.github.com/orgs/tursodatabase'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/tursodatabase/libsql/issues/2148/comments'
},
commits: {
href: 'https://api.github.com/repos/tursodatabase/libsql/pulls/2148/commits'
},
html: { href: 'https://github.com/tursodatabase/libsql/pull/2148' },
issue: {
href: 'https://api.github.com/repos/tursodatabase/libsql/issues/2148'
},
review_comment: {
href: 'https://api.github.com/repos/tursodatabase/libsql/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/tursodatabase/libsql/pulls/2148/comments'
},
self: {
href: 'https://api.github.com/repos/tursodatabase/libsql/pulls/2148'
},
statuses: {
href: 'https://api.github.com/repos/tursodatabase/libsql/statuses/6c86667ff1378d80853a07cf7a3cf525cdc3d4ef'
}
},
active_lock_reason: null,
additions: 23,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'tursodatabase:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: false,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/tursodatabase/libsql/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/tursodatabase/libsql/assignees{/user}',
blobs_url: 'https://api.github.com/repos/tursodatabase/libsql/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/tursodatabase/libsql/branches{/branch}',
clone_url: 'https://github.com/tursodatabase/libsql.git',
collaborators_url: 'https://api.github.com/repos/tursodatabase/libsql/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/tursodatabase/libsql/comments{/number}',
commits_url: 'https://api.github.com/repos/tursodatabase/libsql/commits{/sha}',
compare_url: 'https://api.github.com/repos/tursodatabase/libsql/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/tursodatabase/libsql/contents/{+path}',
contributors_url: 'https://api.github.com/repos/tursodatabase/libsql/contributors',
created_at: '2022-09-29T18:56:16Z',
default_branch: 'main',
|
|
update_release_draft
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
{
name: 'HttpError',
id: '17232184815',
status: 502,
response: {
url: 'https://api.github.com/graphql',
status: 502,
headers: {
connection: 'close',
'content-length': '150',
'content-type': 'text/html',
date: 'Tue, 26 Aug 2025 08:15:30 GMT',
server: 'github.com',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-github-request-id': '4800:371E12:197D071:5CE9655:68AD6D17'
},
data: '<html>\r\n' +
'<head><title>502 Bad Gateway</title></head>\r\n' +
'<body>\r\n' +
'<center><h1>502 Bad Gateway</h1></center>\r\n' +
'<hr><center>nginx</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
},
request: {
method: 'POST',
url: 'https://api.github.com/graphql',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.4 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"query":"\\n query findCommitsWithAssociatedPullRequests(\\n $name: String!\\n $owner: String!\\n $targetCommitish: String!\\n $withPullRequestBody: Boolean!\\n $withPullRequestURL: Boolean!\\n $since: GitTimestamp\\n $after: String\\n $withBaseRefName: Boolean!\\n $withHeadRefName: Boolean!\\n ) {\\n repository(name: $name, owner: $owner) {\\n object(expression: $targetCommitish) {\\n ... on Commit {\\n history(first: 100, since: $since, after: $after) {\\n totalCount\\n pageInfo {\\n hasNextPage\\n endCursor\\n }\\n nodes {\\n id\\n committedDate\\n message\\n author {\\n name\\n user {\\n login\\n }\\n }\\n associatedPullRequests(first: 5) {\\n nodes {\\n title\\n number\\n url @include(if: $withPullRequestURL)\\n body @include(if: $withPullRequestBody)\\n author {\\n login\\n }\\n baseRepository {\\n nameWithOwner\\n }\\n mergedAt\\n isCrossRepository\\n labels(first: 100) {\\n nodes {\\n name\\n }\\n }\\n merged\\n baseRefName @include(if: $withBaseRefName)\\n headRefName @include(if: $withHeadRefName)\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n","variables":{"name":"libsql","owner":"tursodatabase","targetCommitish":"refs/pull/2148/merge","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"since":"2025-02-14T12:10:54Z"}}',
request: { retryCount: 3, retries: 3, retryAfter: 16 }
},
event: {
id: '17232184815',
name: 'pull_request',
payload: {
action: 'opened',
number: 2148,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/139391156?v=4',
description: 'The next evolution of SQLite.',
events_url: 'https://api.github.com/orgs/tursodatabase/events',
hooks_url: 'https://api.github.com/orgs/tursodatabase/hooks',
id: 139391156,
issues_url: 'https://api.github.com/orgs/tursodatabase/issues',
login: 'tursodatabase',
members_url: 'https://api.github.com/orgs/tursodatabase/members{/member}',
node_id: 'O_kgDOCE7wtA',
public_members_url: 'https://api.github.com/orgs/tursodatabase/public_members{/member}',
repos_url: 'https://api.github.com/orgs/tursodatabase/repos',
url: 'https://api.g
|