| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
Co-authored-by: Chengzhong Wu <legendecas@gmail.com> Co-authored-by: Rich Trott <rtrott@gmail.com>
|
@aduh95 This is failing on every commit on main: 2023-03-23T15:02:14.2287511Z /home/runner/.npm/_npx/6e11f47436a5ebf9/node_modules/core-validate-commit/bin/cmd.js:154
2023-03-23T15:02:14.2288068Z if (err) throw err
2023-03-23T15:02:14.2288380Z ^
2023-03-23T15:02:14.2293763Z
2023-03-23T15:02:14.2294423Z Error: Command failed: git show --quiet --format=medium f51c152f6016fdf9ad9ec6ee246f83a7b4793043
2023-03-23T15:02:14.2296634Z fatal: not a git repository (or any of the parent directories): .git
2023-03-23T15:02:14.2297302Z
2023-03-23T15:02:14.2297652Z at ChildProcess.exithandler (node:child_process:419:12)
2023-03-23T15:02:14.2298370Z at ChildProcess.emit (node:events:513:28)
2023-03-23T15:02:14.2300984Z at maybeClose (node:internal/child_process:1091:16)
2023-03-23T15:02:14.2301585Z at Socket.<anonymous> (node:internal/child_process:449:11)
2023-03-23T15:02:14.2302024Z at Socket.emit (node:events:513:28)
2023-03-23T15:02:14.2352414Z at Pipe.<anonymous> (node:net:322:12) {
2023-03-23T15:02:14.2352748Z code: 128,
2023-03-23T15:02:14.2353070Z killed: false,
2023-03-23T15:02:14.2353359Z signal: null,
2023-03-23T15:02:14.2353843Z cmd: 'git show --quiet --format=medium f51c152f6016fdf9ad9ec6ee246f83a7b4793043'
2023-03-23T15:02:14.2354206Z }
2023-03-23T15:02:14.2354351Z
2023-03-23T15:02:14.2354505Z Node.js v18.15.0
2023-03-23T15:02:14.2731777Z ##[group]Run node <<<'EOF'
2023-03-23T15:02:14.2732155Z �[36;1mnode <<<'EOF'�[0m
2023-03-23T15:02:14.2732592Z �[36;1mconst invalidCommitMessageMatch = /\s\(\#\d+\)$/.exec(process.env.COMMIT_MESSAGE);�[0m
2023-03-23T15:02:14.2732986Z �[36;1mif (match == null) process.exit(1)�[0m
2023-03-23T15:02:14.2733332Z �[36;1mconsole.log(`PR_ID=${match[0]}`)�[0m
2023-03-23T15:02:14.2733821Z �[36;1mEOF >> $GITHUB_ENV || true�[0m
2023-03-23T15:02:14.2786579Z shell: /usr/bin/bash -e {0}
2023-03-23T15:02:14.2786898Z env:
2023-03-23T15:02:14.2787182Z INVALID_COMMIT_MESSAGE: 1
2023-03-23T15:02:14.2787825Z COMMIT_MESSAGE: util: reduce javascript call for ToUSVString
PR-URL: https://github.com/nodejs/node/pull/47192
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
2023-03-23T15:02:14.2788303Z ##[endgroup]
2023-03-23T15:02:14.3230731Z [stdin]:1
2023-03-23T15:02:14.3233009Z EOF
2023-03-23T15:02:14.3233426Z ^
2023-03-23T15:02:14.3233963Z
2023-03-23T15:02:14.3234300Z ReferenceError: EOF is not defined
2023-03-23T15:02:14.3234560Z at [stdin]:1:1
2023-03-23T15:02:14.3234816Z at Script.runInThisContext (node:vm:129:12)
2023-03-23T15:02:14.3235106Z at Object.runInThisContext (node:vm:307:38)
2023-03-23T15:02:14.3235394Z at node:internal/process/execution:79:19
2023-03-23T15:02:14.3235836Z at [stdin]-wrapper:6:22
2023-03-23T15:02:14.3236102Z at evalScript (node:internal/process/execution:78:60)
2023-03-23T15:02:14.3236382Z at node:internal/main/eval_stdin:30:5
2023-03-23T15:02:14.3236671Z at Socket.<anonymous> (node:internal/process/execution:195:5)
2023-03-23T15:02:14.3236955Z at Socket.emit (node:events:525:35)
2023-03-23T15:02:14.3237231Z at endReadableNT (node:internal/streams/readable:1359:12)
2023-03-23T15:02:14.3237411Z
2023-03-23T15:02:14.3237489Z Node.js v18.15.0
2023-03-23T15:02:14.3270572Z ##[error]Process completed with exit code 1.
Looks like it might be more than one error causing this. |
Sorry, something went wrong.
PR-URL: #47178 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: #47178 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
PR-URL: #47178 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
| Back | FazBrowse Home | New Git URL |
Check every commits that land on main with core-validate-commit and send a message on Slack if it reports and error. If the commit title contains a reference to a PR in the format that GitHub uses by default, it also adds a comment to the PR.
Refs: #47111 (comment)
/cc @nodejs/tsc