-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tools: refactor build-addons.js to ESM #43099
Conversation
Review requested:
|
0346d31
to
4ea0c86
Compare
Code LGTM but could you please try to remove the merge commit and rebase instead? Our tooling runs into problems with merge commits. |
@RaisinTen Done! Thanks for the review. |
This comment was marked as outdated.
This comment was marked as outdated.
@RaisinTen ci failed. I have no clue what caused it to fail. could you help to take a look? |
It's a timeout on ubi81_sharedlibs_openssl111fips_x64, will rerun CI. |
This comment was marked as outdated.
This comment was marked as outdated.
@RaisinTen jenkins ci timeout again. could you trigger a rerun? |
The pending status in the GitHub UI is misleading because the Jenkins CI is actually fully green now. |
great. then lets wait this pr merged. |
We can get this merged in 3 days or sooner if we get another approval. :) |
4b24eb5
to
e30b10b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Landed in b4398df |
PR-URL: #43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
@RaisinTen are multiple commits in one pr supported by node tooling? for example, I make an initial commit and then fix some code review problems on several additional commits. Now I always keep one commit in pr and force push to reflect code review requested change. I don't know which one is a better practice in node land. I used to always add a new commit when some change need to be added to the pr. |
@F3n67u yes, our tooling supports multiple commits. If the commits that come after the first one are just fixup commits, we can land the PR with the And for PRs where you would like those to land with several commits, we could signal that to the bot by applying the So my suggestion would be to avoid force-pushing your commits into a single change because it's easier for reviewers to track the changes that were made after their last reviews. :) However, you should consider rebasing and force-pushing if it's required to make sure that your PR works even after updating the base branch with the latest changes. And if it's the case that the commits that follow your first one are essentially a revert and a fresh rewrite of your PR, that's when you should consider rebasing and removing the initial changes because those might be distracting and are not really needed in your PR now. |
Got it. thanks for the info. |
PR-URL: #43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs/node#43099 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Changes
build-addons.js
to ESMMotivation
tools
directory's js file format more consistent