Conversation
richardlau
left a comment
There was a problem hiding this comment.
Please undo the style changes causing the linter to fail. Also this doesn't work:
$ git rev-parse --short HEAD
8e866ef
$ node bin/ncu-ci.js --owner nodejs --repo node run 44961
✔ Jenkins credentials valid
⠋ Starting PR CI job(node:1644671) [https://github.com/node-fetch/node-fetch/issues/1167] DeprecationWarning: form-data doesn't follow the spec and requires special treatment. Use alternative package
(Use `node --trace-deprecation ...` to show where the warning was created)
✔ PR CI job successfully started
✖ Failed to start CI
$
More info on the failure -- the "Failed to start CI" message is from the try-catch handler node-core-utils/lib/ci/run_ci.js Line 102 in 8e866ef With additional debug: diff --git a/lib/ci/run_ci.js b/lib/ci/run_ci.js
index e850a7a..51d6fb4 100644
--- a/lib/ci/run_ci.js
+++ b/lib/ci/run_ci.js
@@ -99,6 +99,7 @@ export class RunPRJob {
}
} catch (err) {
+ console.error(err);
cli.stopSpinner('Failed to start CI', this.cli.SPINNER_STATUS.FAILED);
return false;
}the error is: |
|
Is the credential put in |
Yes. Credential is working -- the pull request job was successfully started and it's the additions in this PR that are not working. |
Yeap. On my local I stuck at credential issue. So I mark it as draft. |
|
@legendecas Is this because proxy issue, not supporting socks5 proxy ? Update: a China only issue, fucking gfw. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Now the issues is it's not auto-commenting pr ? which part should I check ? |
|
Looks good now (apart from the lint and test failures) and V8 CI is started: Started:
Refs: nodejs/node#44986 (comment)
This is done by the github-bot. I think this is the relevant code: https://github.com/nodejs/github-bot/blob/2f5b61f263ebeda2d9525733bb9dfa055fa24660/lib/push-jenkins-update.js#L15-L27 |
|
test fixed. please squash this commit for conventional commit. |
Codecov ReportBase: 84.03% // Head: 83.60% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #652 +/- ##
==========================================
- Coverage 84.03% 83.60% -0.43%
==========================================
Files 37 37
Lines 4077 4117 +40
==========================================
+ Hits 3426 3442 +16
- Misses 651 675 +24
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Not sure what I can help here? |
fixed, proxy compatibility issue |
|
@joyeecheung Can you review this ? |
|
@aduh95 @nodejs/node-core-utils Can you take a look at this ? thx |
|
This looks good to me. Is there anything we can/should do about the small decrease in test coverage? I'm not worried about it if there isn't much to do. |
Do you want to squash and force push to your branch? |
I would like merger do this like we do in |
It's a duplicate logic already tested (different URL and HTTP payload for v8 jenkins task). I think in this case, it's okay. |
|
@Trott Can you merge this and nodejs/github-bot#353 (already reviewed by @joyeecheung ) ? thx |
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Recent changes to node-core-utils attempt to read pull request labels when deciding whether or not to start a V8 CI. This requires a valid GitHub token with appropriate permissions to be set for node-core-utils. Refs: nodejs/node-core-utils#652 PR-URL: #45185 Fixes: #45163 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
fix: #559
test pr: nodejs/node#44986
Hopefully this will make us test v8 easier :)
local test
currently I run into Jenkins credentials invalid. But I have used this credential before, and it worked.
cc @targos @richardlau @nodejs/v8-update