Fix get commit function that was returning an array #107
flowzone.yml
on: pull_request
Matrix: Flowzone / Event Types
Flowzone
/
Clean GitHub release
0s
Flowzone
/
Pre-commit hooks
0s
Matrix: Flowzone / Test custom
Matrix: Flowzone / Clean custom
Matrix: Flowzone / Finalize custom
Matrix: Flowzone / Test rust
Flowzone
/
Finalize rust
0s
Matrix: Flowzone / Test npm
Flowzone
/
Finalize npm
0s
Flowzone
/
Finalize npm docs
0s
Matrix: Flowzone / Test python poetry
Flowzone
/
Finalize python
0s
Matrix: Flowzone / Test docker
Matrix: Flowzone / Finalize docker
Flowzone
/
Prepare deploy message
0s
Flowzone
/
Finalize GitHub release
0s
Matrix: Flowzone / Finalize balena
Matrix: Flowzone / Test CloudFormation
Matrix: Flowzone / Finalize CloudFormation
Matrix: Flowzone / Publish custom
Matrix: Flowzone / Publish rust
Matrix: Flowzone / Publish balena
Matrix: Flowzone / Publish docker
Matrix: Flowzone / Always custom
Flowzone
/
Auto-merge
0s
Annotations
35 errors and 1 warning
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment authored by bypass user:
tests/handlers/deployment-protection-rule.test.ts#L71
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:71:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles undefined BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L129
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:129:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles empty BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L157
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:157:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles multiple BYPASS_ACTORS values:
tests/handlers/deployment-protection-rule.test.ts#L179
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:179:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for APPROVED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L212
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:212:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for COMMENTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L245
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:245:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit author:
tests/handlers/deployment-protection-rule.test.ts#L280
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:280:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit committer:
tests/handlers/deployment-protection-rule.test.ts#L315
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:315:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > creates instructional comment for CHANGES_REQUESTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L350
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:350:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > avoids creating duplicate comments:
tests/handlers/deployment-protection-rule.test.ts#L380
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:380:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/18.20.5 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment authored by bypass user:
tests/handlers/deployment-protection-rule.test.ts#L71
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:71:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles undefined BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L129
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:129:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles empty BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L157
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:157:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles multiple BYPASS_ACTORS values:
tests/handlers/deployment-protection-rule.test.ts#L179
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:179:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for APPROVED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L212
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:212:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for COMMENTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L245
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:245:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit author:
tests/handlers/deployment-protection-rule.test.ts#L280
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:280:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit committer:
tests/handlers/deployment-protection-rule.test.ts#L315
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:315:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > creates instructional comment for CHANGES_REQUESTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L350
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:350:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > avoids creating duplicate comments:
tests/handlers/deployment-protection-rule.test.ts#L380
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:380:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/20.18.1 (linux; x64)"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment authored by bypass user:
tests/handlers/deployment-protection-rule.test.ts#L71
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:71:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/a
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles undefined BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L129
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:129:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles empty BYPASS_ACTORS:
tests/handlers/deployment-protection-rule.test.ts#L157
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:157:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > handles multiple BYPASS_ACTORS values:
tests/handlers/deployment-protection-rule.test.ts#L179
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:179:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for APPROVED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L212
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:212:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > approves deployment for COMMENTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L245
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:245:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit author:
tests/handlers/deployment-protection-rule.test.ts#L280
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:280:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > ignores reviews by commit committer:
tests/handlers/deployment-protection-rule.test.ts#L315
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:315:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > creates instructional comment for CHANGES_REQUESTED pull request review:
tests/handlers/deployment-protection-rule.test.ts#L350
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:350:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
tests/handlers/deployment-protection-rule.test.ts > Deployment Protection Rule Handler > avoids creating duplicate comments:
tests/handlers/deployment-protection-rule.test.ts#L380
AggregateError:
HttpError: Nock: No match for request {
"method": "GET",
"url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"
}
}
at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)
❯ node_modules/@octokit/request/dist-node/index.js:157:11
❯ sendRequestWithRetries node_modules/@octokit/auth-app/dist-node/index.js:411:12
❯ Job.doExecute node_modules/bottleneck/light.js:405:18
❯ node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ tests/handlers/deployment-protection-rule.test.ts:380:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/deploynaut/deploynaut/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}', name: 'HttpError', status: 500, request: { method: 'GET', url: 'https://api.github.com/repos/test-org/test-repo/commits/test-sha', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.8 octokit-core.js/5.2.0 Node.js/22', authorization: 'token [REDACTED]' }, request: { hook: 'Function<bound bound register>' } }, code: 500, headers: {}, event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, constructor: 'Function<RequestError>', toString: 'Function<toString>' } ], event: { name: 'deployment_protection_rule', payload: { action: 'requested', environment: 'test', event: 'pull_request', deployment_callback_url: 'https://api.github.com/repos/test-org/test-repo/actions/runs/1234/deployment_protection_rule', deployment: { sha: 'test-sha' }, installation: { id: 12345678 }, repository: { owner: { login: 'test-org' }, name: 'test-repo' }, pull_requests: [ { number: 123 } ] } }, errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "GET",\n "url": "https://api.github.com/repos/test-org/test-repo/commits/test-sha",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "user-agent": "probot/13.3.8 octokit-core.js/5.2.0 Node.js/22"\n }\n}\n at /home/runner/work/deploynaut/deploynaut/node_modules/@octokit/request/dist-node/index.js:157:11\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at sendRequestWithRetries (/home/runner/work/deploynaut/deploynaut/node_modules/@octokit/
|
Flowzone / Test docker (default, linux/arm64, self-hosted, ARM64, arm64v8, default)
Process completed with exit code 1.
|
Flowzone / Test docker (default, linux/amd64, self-hosted, X64, amd64, default)
Process completed with exit code 1.
|
Flowzone / Test custom (test)
Canceling since a higher priority waiting request for 'Flowzone-refs/pull/14/merge' exists
|
Flowzone / All tests
Process completed with exit code 1.
|
Flowzone / All jobs
Process completed with exit code 1.
|
Flowzone / Event Types (pull_request, synchronize)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
product-os~deploynaut~7FS3DJ.dockerbuild
|
30.3 KB |
|
product-os~deploynaut~XJ9S5A.dockerbuild
|
31.3 KB |
|
release-notes
Expired
|
321 Bytes |
|