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

Deploy on Node 16 #7130

Closed
chris48s opened this issue Oct 9, 2021 · 3 comments · Fixed by #7271
Closed

Deploy on Node 16 #7130

chris48s opened this issue Oct 9, 2021 · 3 comments · Fixed by #7271
Labels
operations Hosting, monitoring, and reliability for the production badge servers

Comments

@chris48s
Copy link
Member

chris48s commented Oct 9, 2021

📋 Description

Node 16 has been generally available for ~6 months now and includes a number of performance improvements we may benefit from. We've had the full test suite consistently passing for some time and we're now starting to see dependency upgrades which require us to make the jump. I see no reason not to 🚀 in production in the near future.

@chris48s chris48s added the operations Hosting, monitoring, and reliability for the production badge servers label Oct 9, 2021
@chris48s
Copy link
Member Author

chris48s commented Oct 9, 2021

e.g: #7030 (comment)

@PyvesB
Copy link
Member

PyvesB commented Oct 10, 2021

Worth noting that I did notice a few deprecation warnings when running some of our NPM scripts with Node 16. They are by no means a blocker, but it would be good to clean them up at some point.

@chris48s
Copy link
Member Author

So I had a look at the deprecations.
As far as I can tell, although DeprecationWarnings get thrown at a few different points when running the test suite, they're all instances of the same error:

(node:21960) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)

Unfortunately, this isn't an error which is being thrown by code in our codebase. It is http-deceiver which is a transitive dependency. We depend on @shields_io/camp which depends on spdy which depends on http-deceiver

├─┬ @shields_io/[email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]

I did have a look to see if we can fix this by updating the requirements on our scoutcamp fork, but this is an open issue on http-deceiver: spdy-http2/http-deceiver#6
In general, this entire branch of the dependency tree is somewhat unloved.

so I think we're probably not going to resolve this any time soon and I don't think we should block upgrading to node 16 on it. More widely, moving away from ScoutCamp is already an objective for us and the fact that staying with it may block a future node upgrade bumps it up the priority order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations Hosting, monitoring, and reliability for the production badge servers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants