-
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
build: stop pre-compiling lint-md
#55266
build: stop pre-compiling lint-md
#55266
Conversation
Review requested:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55266 +/- ##
=======================================
Coverage 88.42% 88.42%
=======================================
Files 654 654
Lines 187552 187552
Branches 36087 36087
=======================================
+ Hits 165839 165843 +4
- Misses 14950 14952 +2
+ Partials 6763 6757 -6 |
Let me see if I understood this correctly. You are adding dependabot flow for automatic updates of the And you also simplified the oh my fucking god (https://github.com/RedYetiDev/node/blob/main/tools/lint-md/lint-md.mjs) this is huge O.o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup of tech debt -- as far as I'm concerned, LGTM!
Exactly! |
I know this is just due to the fact we were using Rollup, but still, something definitely unnecessary nowadays. And it is good to remove rollup. |
Note that this probably breaks |
I have nothing to back this up, but I'd assume that other tests may also break without internet, regardless of this? |
It's not really a simplification. The |
Maybe, but not so long ago, we were careful not to break this use case (that's why unit tests that require internet are put in the separate |
That's also why we have |
Okay, so, what do you recommend? IMHO this is okay as is, and if that changes, it can always be reverted? |
I'd like to ping the people who care about this concern, but I don't remember who they are. |
I think that would either be @nodejs/distros (I know for example that RHEL's build system (for packages) has no internet access) and/or perhaps people in countries with potentially restricted Internet access (e.g. China). |
Distributions don't need those linters to build Node properly, so it's fine to not include them in the release tarball. |
IIRC @aduh95 |
Also FWIW |
There haven't been any objections by anyone here or that has been pinged, can this land? |
deb6214
to
e63b9af
Compare
I think another approval is required. |
One approval is enough as it's been over a week. However, the CI needs to pass first |
That's correct, worth noting that @trivikr has also approved (there have been pushes since that approval, but until it's dismissed, it still counts) |
These CI deadlocks are terrible 😅. I'm planning to some investigation into them over the weekend. For now, can someone resume the |
Landed in 5ce3d10 |
PR-URL: nodejs#55266 Reviewed-By: Claudio Wunder <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #55266 Reviewed-By: Claudio Wunder <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
IIUC there wasn't any discussion in #40180 and related PRs about why this file is precompiled locally. Similar to eslint (#54231), it always has been...
This PR stops the pre-compilation of this file, similar to #54231 with eslint.
Similarly, @dependabot will manage updates.