You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The community is trying to support both Node 18 and Node 20 in the same release. Adolfo Brandes is running the overall effort, so make sure to coordinate and communicate with him on when they may introduce updates we are not ready for, and when we may introduce updates to public MFEs and when we are done with our private MFEs.
Adam Stankiewicz
[inform] Node 20 upgrade will also require changes to edx-internal and tubular related to MFEs' build pipeline:
frontend-gocd-pipeline.yaml.j2 (source) relies on a use_node_18 input and utilizes nvm to change Node version to v18 iff use_node_18 is truthy.
a. MFEs typically define .nvmrc file in their root, disclosing the supported Node version for that MFE (example). Ideally, our GoCD pipeline would rely on the Node version specified in .nvmrc.
Related to the use_node_18 input referenced above, MFEs configure that input here. If we start relying on the .nvmrc file defined per MFE, perhaps the Node 20 upgrade defines a use_mfe_nvm input instead or similar?
Incompatible version of NPM (v8) currently used to install NPM aliases during the GoCD pipeline build step in tubular (source), resulting in "Unsupported engine" warnings about using Node 16; the pinning was not accounted for during Node 18 upgrade.
a. FWIW, it's a bit odd that we re-install NPM altogether here regardless.
Adam Stankiewicz
Beyond that, while it's alluded to in the linked upstream issue, wanted to explicitly call out that many shared libraries consumed by MFEs use Node 18 during their build/release processes. Example, for most shared libraries, semantic-release is pinned to v22 to rely on a Node 18 compatible version. Once these workflows are running Node 20, we should pin semantic-release to v23 moving forward.
The text was updated successfully, but these errors were encountered:
openedx/platform-roadmap#363
The community is trying to support both Node 18 and Node 20 in the same release. Adolfo Brandes is running the overall effort, so make sure to coordinate and communicate with him on when they may introduce updates we are not ready for, and when we may introduce updates to public MFEs and when we are done with our private MFEs.
The text was updated successfully, but these errors were encountered: