refactor: update keyauth middleware to use shared extractors (#3747) #2968
release-drafter.yml
on: push
update_release_draft
11m 19s
Annotations
2 errors and 4 warnings
|
update_release_draft
HttpError: Invalid response body while trying to fetch https://api.github.com/graphql: Premature close
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7168:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '17859256378',
name: 'push',
payload: {
after: '147104902ae91c902ac5a1ae01999c4825296672',
base_ref: null,
before: 'b92ffd24f33b65c736bbc6be45cbf603a7ea2d3f',
commits: [
{
author: {
email: 'sixcolors@mac.com',
name: 'Jason McNeil',
username: 'sixcolors'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '147104902ae91c902ac5a1ae01999c4825296672',
message: 'refactor: update keyauth middleware to use shared extractors (#3747)\n' +
'\n' +
'* refactor: integrate shared extractors into KeyAuth middleware and enhance token validation\n' +
'\n' +
'* refactor: simplify token validation logic and update test cases for isValidToken68\n' +
'\n' +
'* refactor: error handling for missing API key in KeyAuth middleware\n' +
'\n' +
'* refactor: update KeyAuth documentation and improve test cases for token validation\n' +
'\n' +
'* refactor: move token validation to extractors and update related tests\n' +
'\n' +
'* refactor: enhance extractor tests\n' +
'\n' +
'* refactor: update error assertions in extractor tests to use require.ErrorIs\n' +
'\n' +
'* refactor: update test assertions for HeaderSchemeMultipleSpaces to check for unauthorized status\n' +
'\n' +
'* refactor: capture loop variable in test cases for parallel execution\n' +
'\n' +
'* refactor: rm capture loop variable in test cases for parallel execution',
timestamp: '2025-09-19T15:09:41+02:00',
tree_id: '5e7bdf966c3f78a24cc2bb73aa868ab5dd8a1f11',
url: 'https://github.com/gofiber/fiber/commit/147104902ae91c902ac5a1ae01999c4825296672'
}
],
compare: 'https://github.com/gofiber/fiber/compare/b92ffd24f33b...147104902ae9',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'sixcolors@mac.com',
name: 'Jason McNeil',
username: 'sixcolors'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '147104902ae91c902ac5a1ae01999c4825296672',
message: 'refactor: update keyauth middleware to use shared extractors (#3747)\n' +
'\n' +
'* refactor: integrate shared extractors into KeyAuth middleware and enhance token validation\n' +
'\n' +
'* refactor: simplify token validation logic and update test cases for isValidToken68\n' +
'\n' +
'* refactor: error handling for missing API key in KeyAuth middleware\n' +
'\n' +
'* refactor: update KeyAuth documentation and improve test cases for token validation\n' +
'\n' +
'* refactor: move token validation to extractors and update related tests\n' +
'\n' +
'* refactor: enhance extractor tests\n' +
'\n' +
'* refactor: update error assertions in extractor tests to use require.ErrorIs\n' +
'\n' +
'* refactor: update test assertions for HeaderSchemeMultipleSpaces to check for unauthorized status\n' +
'\n' +
'* refactor: capture loop variable in test cases for parallel execution\n' +
'\n' +
'
|
|
update_release_draft
Invalid response body while trying to fetch https://api.github.com/graphql: Premature close
{
name: 'HttpError',
id: '17859256378',
status: 500,
request: {
method: 'POST',
url: 'https://api.github.com/graphql',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.4 (linux; x64)',
'x-github-delivery': '17859256378',
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 $pullRequestLimit: Int!\\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: $pullRequestLimit) {\\n nodes {\\n title\\n number\\n url @include(if: $withPullRequestURL)\\n body @include(if: $withPullRequestBody)\\n author {\\n login\\n __typename\\n url\\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":"fiber","owner":"gofiber","targetCommitish":"main","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"pullRequestLimit":5,"after":"147104902ae91c902ac5a1ae01999c4825296672 1999"}}',
request: { retryCount: 3, retries: 3, retryAfter: 16 }
},
event: {
id: '17859256378',
name: 'push',
payload: {
after: '147104902ae91c902ac5a1ae01999c4825296672',
base_ref: null,
before: 'b92ffd24f33b65c736bbc6be45cbf603a7ea2d3f',
commits: [
{
author: {
email: 'sixcolors@mac.com',
name: 'Jason McNeil',
username: 'sixcolors'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '147104902ae91c902ac5a1ae01999c4825296672',
message: 'refactor: update keyauth middleware to use shared extractors (#3747)\n' +
'\n' +
'* refactor: integrate shared extractors into KeyAuth middleware and enhance token validation\n' +
'\n' +
'* refactor: simplify token validation logic and update test cases for isValidToken68\n' +
'\n' +
'* refactor: error handling for missing API key in KeyAuth middleware\n' +
'\n' +
'* refactor: update KeyAuth documentation and improve test cases for token validation\n' +
'\n' +
'* refactor: move token validation to extractors and update related tests\n' +
'\n' +
'* refactor: enhance extractor tests\n' +
'\n' +
|
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|