Skip to content
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

chore: Drop Node.js 16 from CI entirely #2140

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Conversation

kriskowal
Copy link
Member

closes: #1046

Description

This removes the last two vestiges of testing on Node.js 16. Depcheck was on 16 by omission. The remaining CI matrix tests were for preventing regressions in async_hooks handling, which are leaving firmly behind us. We may at this point remove the promise-kit accommodations for these earlier versions, but that is not in scope for this change.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

We may need to document somewhere that we no longer test Node.js. We have elected not to use the engines field in package.json since that would be brittle.

Testing Considerations

fewer

Compatibility Considerations

none

Upgrade Considerations

none to my knowledge

@kriskowal kriskowal requested a review from erights March 13, 2024 21:53
Comment on lines 126 to 127
# '20.6' not viable due to https://github.com/nodejs/node/issues/49497
# '20.3' to '20.6' not viable due to https://github.com/nodejs/node/pull/49211
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question

Worth a revisit to these versions? Look like both issues are closed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need one Node 20. It turned out to be 20.9 (not 20.7 that the line below enables)

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['16.x']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question

Why not add node 20 here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this is isn't testing the code, just the project structure.

I propose that it drop the matrix because it won't ever use it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to attack Node.js 20 in another change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't tell, what is your opinion on running the cycles and depcheck in multiple versions of Node?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that we only need to run these checks in one version of Node.js and we could drop the matrix.

Copy link
Contributor

@erights erights left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, LGTM, but I'll leave the approval decision in @LuqiPan 's hands.

@erights
Copy link
Contributor

erights commented Mar 13, 2024

See also Agoric/agoric-sdk#8365

@kriskowal kriskowal force-pushed the kriskowal-drop-node-16-1046 branch from ffb29e0 to f3269df Compare March 13, 2024 23:28
@kriskowal kriskowal requested a review from LuqiPan March 13, 2024 23:33
Copy link
Contributor

@LuqiPan LuqiPan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kriskowal kriskowal force-pushed the kriskowal-drop-node-16-1046 branch from f3269df to 0380357 Compare March 13, 2024 23:52
@kriskowal kriskowal enabled auto-merge March 13, 2024 23:57
Copy link
Contributor

@LuqiPan LuqiPan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@kriskowal kriskowal disabled auto-merge March 14, 2024 00:14
@kriskowal kriskowal merged commit 87ed9d2 into master Mar 14, 2024
11 checks passed
@kriskowal kriskowal deleted the kriskowal-drop-node-16-1046 branch March 14, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop Node.js 12 support in CI
4 participants