post netlify build link comments in PR body #47
Annotations
5 errors
|
test
Process completed with exit code 1.
|
|
test/pullRequest/pullRequest.test.ts > Probot Pull Request Handlers > removes WIP prefix and adds RFR label for when draft converted:
test/pullRequest/pullRequest.test.ts#L367
AggregateError:
HttpError: Nock: No match for request {
"method": "PATCH",
"url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"content-type": "application/json; charset=utf-8",
"user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"
},
"body": "{/"body/":/"<!--- actual-bot-sections --->//n<hr />//n_Automated sections below_//n//n<!--- actual-pr-body-section key:netlify-previews start --->//n### Netlify Deploy Previews//n//nNetlify deploy previews are not available yet.//n//n<!--- actual-pr-body-section key:netlify-previews end --->/"}"
}
at /home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/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/probot/node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ test/pullRequest/pullRequest.test.ts:367:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}\n at /home/runner/work/actual-gh-bot/actual-gh-bot/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/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}', name: 'HttpError', status: 500, request: { method: 'PATCH', url: 'https://api.github.com/repos/your-repo/your-repo-name/pulls/1', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"<!--- actual-bot-sections --->\n<hr />\n_Automated sections below_\n\n<!--- actual-pr-body-section key:netlify-previews start --->\n### Netlify Deploy Previews\n\nNetlify deploy previews are not available yet.\n\n<!--- actual-pr-body-sec
|
|
test/pullRequest/pullRequest.test.ts > Probot Pull Request Handlers > adds WIP prefix and label when PR reopened:
test/pullRequest/pullRequest.test.ts#L127
AggregateError:
HttpError: Nock: No match for request {
"method": "PATCH",
"url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"content-type": "application/json; charset=utf-8",
"user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"
},
"body": "{/"body/":/"<!--- actual-bot-sections --->//n<hr />//n_Automated sections below_//n//n<!--- actual-pr-body-section key:netlify-previews start --->//n### Netlify Deploy Previews//n//nNetlify deploy previews are not available yet.//n//n<!--- actual-pr-body-section key:netlify-previews end --->/"}"
}
at /home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/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/probot/node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ test/pullRequest/pullRequest.test.ts:127:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}\n at /home/runner/work/actual-gh-bot/actual-gh-bot/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/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}', name: 'HttpError', status: 500, request: { method: 'PATCH', url: 'https://api.github.com/repos/your-repo/your-repo-name/pulls/1', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"<!--- actual-bot-sections --->\n<hr />\n_Automated sections below_\n\n<!--- actual-pr-body-section key:netlify-previews start --->\n### Netlify Deploy Previews\n\nNetlify deploy previews are not available yet.\n\n<!--- actual-pr-body-sec
|
|
test/pullRequest/pullRequest.test.ts > Probot Pull Request Handlers > adds WIP prefix and label when PR opened:
test/pullRequest/pullRequest.test.ts#L62
AggregateError:
HttpError: Nock: No match for request {
"method": "PATCH",
"url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",
"headers": {
"accept": "application/vnd.github.v3+json",
"authorization": "token test",
"content-type": "application/json; charset=utf-8",
"user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"
},
"body": "{/"body/":/"<!--- actual-bot-sections --->//n<hr />//n_Automated sections below_//n//n<!--- actual-pr-body-section key:netlify-previews start --->//n### Netlify Deploy Previews//n//nNetlify deploy previews are not available yet.//n//n<!--- actual-pr-body-section key:netlify-previews end --->/"}"
}
at /home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/request/dist-node/index.js:157:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at sendRequestWithRetries (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)
at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/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/probot/node_modules/@octokit/webhooks/dist-node/index.js:431:19
❯ test/pullRequest/pullRequest.test.ts:62:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _errors: [ { stack: 'HttpError: Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}\n at /home/runner/work/actual-gh-bot/actual-gh-bot/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/actual-gh-bot/actual-gh-bot/node_modules/@octokit/auth-app/dist-node/index.js:411:12)\n at Job.doExecute (/home/runner/work/actual-gh-bot/actual-gh-bot/node_modules/bottleneck/light.js:405:18)', message: 'Nock: No match for request {\n "method": "PATCH",\n "url": "https://api.github.com/repos/your-repo/your-repo-name/pulls/1",\n "headers": {\n "accept": "application/vnd.github.v3+json",\n "authorization": "token test",\n "content-type": "application/json; charset=utf-8",\n "user-agent": "probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)"\n },\n "body": "{\"body\":\"<!--- actual-bot-sections --->\\n<hr />\\n_Automated sections below_\\n\\n<!--- actual-pr-body-section key:netlify-previews start --->\\n### Netlify Deploy Previews\\n\\nNetlify deploy previews are not available yet.\\n\\n<!--- actual-pr-body-section key:netlify-previews end --->\"}"\n}', name: 'HttpError', status: 500, request: { method: 'PATCH', url: 'https://api.github.com/repos/your-repo/your-repo-name/pulls/1', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/13.3.0 octokit-core.js/5.2.0 Node.js/18.20.8 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"<!--- actual-bot-sections --->\n<hr />\n_Automated sections below_\n\n<!--- actual-pr-body-section key:netlify-previews start --->\n### Netlify Deploy Previews\n\nNetlify deploy previews are not available yet.\n\n<!--- actual-pr-body-sect
|
|
Unhandled error:
test/pullRequest/pullRequest.test.ts#L88
Error: Title update should not be called for new pull requests already containing WIP prefix
❯ Interceptor.fullReplyFunction test/pullRequest/pullRequest.test.ts:88:15
❯ start node_modules/nock/lib/playback_interceptor.js:184:26
❯ Immediate.<anonymous> node_modules/nock/lib/playback_interceptor.js:322:7
❯ processImmediate node:internal/timers:476:21
This error originated in "test/pullRequest/pullRequest.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "do not add WIP prefix if already present". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|