Skip to content

build: bump Node version pins for loong64 and riscv64#2760

Open
CSharperMantle wants to merge 1 commit intoVSCodium:masterfrom
CSharperMantle:fix-node-version-rvla64
Open

build: bump Node version pins for loong64 and riscv64#2760
CSharperMantle wants to merge 1 commit intoVSCodium:masterfrom
CSharperMantle:fix-node-version-rvla64

Conversation

@CSharperMantle
Copy link

@CSharperMantle CSharperMantle commented Mar 21, 2026

This PR bumps the outdated Node.js version pin for loong64 and riscv64, since the specified repository now ships pre-built binaries for these architectures of v22.21.1.

Fixes #2759.

@darkyzhou
Copy link
Contributor

darkyzhou commented Mar 21, 2026

I think we should update the pins to "22.21.1" instead of removing them since unofficial-builds.nodejs.org doesn't seem to get up-to-date builds regularly

https://unofficial-builds.nodejs.org/download/release/v22.21.1/

@CSharperMantle
Copy link
Author

I think we should update the pins to "22.21.1" instead of removing them since unofficial-builds.nodejs.org doesn't seem to get up-to-date builds regularly

Very reasonable. I'll soon update the patch.

@daiyam
Copy link
Member

daiyam commented Mar 21, 2026

Yes, pin the version. If not pinned, it will try to use 22.22.1 which isn't available for those architectures.
When building with ./dev/build.sh, the version isn't enforced. CI do enforce the version.

Currently, we lock the Node version to 20.16.0. This is reasonable at introduction time. However, the VSCode upstream is now using features that are only present in newer versions of Node. Meanwhile, pre-built binaries for v22.21.1 are already available. It is probably time to bump these outdated pins. These pins are kept rather than removed because the binaries are uploaded irregularly, and we shouldn't assume that future updates would be pushed in time. Fixes: VSCodium#2759 Suggested-by: darkyzhou <7220778+darkyzhou@users.noreply.github.com> Link: https://unofficial-builds.nodejs.org/download/release/v22.21.1/
@CSharperMantle CSharperMantle force-pushed the fix-node-version-rvla64 branch from 32a0c36 to 5253861 Compare March 21, 2026 09:59
@CSharperMantle CSharperMantle changed the title build: remove outdated Node version pins for loong64 and riscv64 build: bump Node version pins for loong64 and riscv64 Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants