-
Notifications
You must be signed in to change notification settings - Fork 1
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
Node 16 Upgrade: Initial survey and determine plan of action #2
Comments
Notes from meeting on 9/14: @adamstankiewicz @binodpant @muselesscreator
Action items
|
We may also want to look into using node-alpine to reduce image size. Some more details here: https://blog.tarkalabs.com/how-to-reduce-nodejs-docker-image-by-70-e799b3d3396a |
As discussed last week I am going to start by upgrading frontend-app-profile. Based on learning from this, I will proceed to upgrading one library Frontend-app-profile builds and tests successfully locally
I also added an .nvmrc file Also, looks like we may be able to use this tool to use desired .nvmrc version of node/npm in GH: https://github.com/dcodeIO/setup-node-nvm Node v16.12.0 is the latest v16 version of node, so we can go with that.
|
One thing I noticed in running
|
Further details will be in this PR for frontend-app-profile: openedx/frontend-app-profile#491 |
I find, sort of as expected, that when trying to upgrade node in an Enterprise repo like Enterprise learner portal we get an error like this
so yes this reveals that for projects that use frontend-platform, we will need to some legwork on the platform repo to help address this this may serve as a starting point for working on some of the repoes, upgrade-wise |
To me this means we're now forced to make sure our peer dependencies are "correct". Annoying, but probably healthy. :) |
Quick status: Could not spend much time this week on this, but here is the latest:
|
Some useful things I just discovered:
|
Closing this task per discussion with team last week. The idea is that we have done the preliminary investigation into how we will proceed. A new set of issues will be created under the Milestone 'node 16 upgrade' to execute specific tasks. But this task can be considered closed now. Here is a quick summary of how we will proceed: Document laying out the process that will be followed: https://openedx.atlassian.net/wiki/spaces/AC/pages/3318054984/Node+16+Upgrade Feedback on process/improvements, will be taken/discussed in the document and/or in the weekly meetup for the FWG. See the milestone for further updates on this project: https://github.com/openedx/frontend-wg/milestone/9 |
Prior to the Maple release being cut on October 9, we need to upgrade node to v16.
Note, Prospectus and the edX website team are considering being guinea pigs and starting to upgrade to node 16 themselves. This is a good thing.
A task describing the upgrade from Node 8 to 12: https://openedx.atlassian.net/browse/ARCH-352
How do we find versions we need to upgrade?
Tech ownership spreadsheet?
Action Items
Things to check for each repo/project
Enterprise
By: @binodpant
Terraform check: I don't see the word
npm
in edx-terraform, so ...edx-enterprise
npm i
at https://github.com/edx/edx-enterprise/blob/3aa114c410854b4def58f8f75cb106a610d8754e/Makefile#L127 (should update doc for users to use nvmrc)engines
setup: https://github.com/edx/edx-enterprise/blob/3aa114c410854b4def58f8f75cb106a610d8754e/package.jsonlearner portal
admin portal
Uses hardcoded node_version 12
public catalog
https://github.com/edx/frontend-app-enterprise-public-catalog/blob/main/.github/workflows/ci.yml
Uses hardcoded node_version 12
frontend-enterprise
The text was updated successfully, but these errors were encountered: