Skip to content

Update nodejs to 26 - #1098

Merged
Eijebong merged 1 commit into
taskcluster:mainfrom
Eijebong:node-26
Nov 10, 2026
Merged

Eijebong merged 1 commit into
taskcluster:mainfrom
Eijebong:node-26

Conversation

@Eijebong

@Eijebong Eijebong commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This is a bit more involved than just bumping the version number. First, the taskcluster client only supports one major version of node at a time, so it needs to be bumped at the same time. Second, in their infinite wisdom, the node people stopped shipping corepack and docker images dropped yarn along with it. The remaining options are vendoring 3MB of yarn in the repo, use npm to install corepack to install yarn (Yo dawg, I heard you liked package managers so I put a package manager in your package manager), or not using yarn anymore...

We can sidestep this by using yarn from alpine right now. It's not ideal because it installs another node version with it and may or may not run on that (who knows...). It makes no difference in the end result, but I hate it... Thankfully apk isn't as bad and cleans up nicely on apk del so we don't end up with anything extra in the image.

Closes #1091

This is a bit more involved than just bumping the version number. First,
the taskcluster client only supports one major version of node at a
time, so it needs to be bumped at the same time. Second, in their
infinite wisdom, the node people stopped shipping corepack and docker
images dropped yarn along with it. The remaining options are vendoring
3MB of yarn in the repo, use npm to install corepack to install yarn (Yo
dawg, I heard you liked package managers so I put a package manager in
your package manager), or not using yarn anymore...

We can sidestep this by using `yarn` from alpine right now. It's not
ideal because it installs another node version with it and may or may
not run on that (who knows...). It makes no difference in the end
result, but I hate it... Thankfully `apk` isn't as bad and cleans up
nicely on `apk del` so we don't end up with anything extra in the image.
@Eijebong
Eijebong requested a review from a team as a code owner November 6, 2026 12:16
@Eijebong
Eijebong requested a review from jcristau November 6, 2026 12:16

@jcristau jcristau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yuck.

And https://hub.docker.com/r/yarnpkg/node-yarn says "DEPRECATED as the Node.js Docker images now come with Yarn preinstalled" which is somewhat ironic.

@Eijebong
Eijebong merged commit 781b59f into taskcluster:main Nov 10, 2026
26 checks passed
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.

2 participants