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

feat: add Node.js 16 to test matrix #340

Merged
merged 11 commits into from
Jun 8, 2021
Merged

feat: add Node.js 16 to test matrix #340

merged 11 commits into from
Jun 8, 2021

Conversation

willianpc
Copy link
Contributor

No description provided.

@willianpc willianpc added the WIP label Jun 2, 2021
@basti1302 basti1302 force-pushed the ci-node-15-16 branch 4 times, most recently from 73d858e to 1cd55c5 Compare June 8, 2021 05:16
willianpc and others added 4 commits June 8, 2021 07:46
https-proxy-agent specifies a loose version range for its dependency
agent-base ("agent-base": "6"). In Node.js 15 and 16, [email protected]
is broken for the use case of an HTTPS connection with an HTTP proxy.
Thus, we need to ensure that [email protected] is used, which contains
the fix
(TooTallNate/node-agent-base@a5c5c83).

To do that, we include [email protected] explicitly in
packages/serverless/package.json. If https-proxy-agent releases an
update with a version range for agent-base that includes this fix, we
can remove that dependency again (we do not actually depend on
agent-base directly).
Also, drop precompiled add-ons for Node.js 6 to reduce package size.
...by running `native-dep-packs/rebuild-precompiled-addons.sh`.

This commit also removes precompiled add-ons for Node.js 6 to reduce
package size.
Copy link
Contributor

@basti1302 basti1302 left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@basti1302 basti1302 changed the title WIP: Testing CI for node 15 feat: add Node.js 16 to test matrix Jun 8, 2021
basti1302 added 3 commits June 8, 2021 08:40
- add Node.js 16
- stop building precompiled add-on for Node.js 6
- remove precompiled binaries for Darwin from list of files included in
  npm package
- add precompiled binaries for autoprofile for Darwin to .gitignore
- fix issue with building for Node.js target version 10.x/11.x
...by running `packages/autoprofile/precompile/build-all-addons.js`.

This commit also removes the precompiled autoprofile add-on binaries
for Darwin and for Node.js 6, it adds binaries for Node.js 16.
Copy link
Contributor Author

@willianpc willianpc left a comment

Choose a reason for hiding this comment

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

LGTM.
I have one question and a small suggestion, but nothing that would prevent a merge, IMO.

basti1302 added 2 commits June 8, 2021 09:20
Node.js 15 is a non-LTS version and it is end of life since 2021-06-01.
Although all Instana packages work perfectly fine with Node.js 15, it
is no longer officially supported. See Instana's Node.js version
support policy at
https://www.instana.com/docs/ecosystem/node-js/#supported-nodejs-versions
for details. Node.js 6, 8, 10, 12, 14 and 16 are the currently
supported versions.
Also, make the legacy package test suite use different ports from the
@instana/collector suite to avoid port conflicts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants