Page MenuHomePhabricator

[buildkite] Update image used in Buildkite JS workflows to Node 20
ClosedPublic

Authored by ashoat on Mar 30 2024, 3:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 11:59 AM
Unknown Object (File)
Sat, Nov 16, 11:34 AM
Unknown Object (File)
Sat, Nov 16, 10:06 AM
Unknown Object (File)
Wed, Nov 13, 1:42 PM
Unknown Object (File)
Wed, Nov 13, 1:42 PM
Unknown Object (File)
Wed, Nov 13, 1:42 PM
Unknown Object (File)
Wed, Nov 13, 1:42 PM
Unknown Object (File)
Wed, Nov 13, 1:41 PM
Subscribers

Details

Summary

This matches the version we use in Nix, in keyserver/.nvmrc, keyserver/Dockerfile, and services/electron-update-server/Dockerfile.

It should fix a Buildkite CI error I initially saw in the following diff:

error lru-cache@10.2.0: The engine "node" is incompatible with this module. Expected version "14 || >=16.14". Got "16.13.2"
error Found incompatible module.

Depends on D11488

Test Plan

Confirm Buildkite CI passes after rebasing the following diff

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 30 2024, 3:48 PM
Harbormaster failed remote builds in B27841: Diff 38574!
Harbormaster returned this revision to the author for changes because remote builds failed.Mar 30 2024, 4:12 PM
Harbormaster failed remote builds in B27846: Diff 38579!

Initiate a fresh Git repo so we can use git diff

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 30 2024, 4:31 PM
Harbormaster failed remote builds in B27851: Diff 38584!

Try git config --global --add safe.directory /comm

.buildkite/jsi_codegen.yml
8 ↗(On Diff #38589)

Without this change I was seeing the following in runs of this job:

$ husky install
fatal: detected dubious ownership in repository at '/comm'
To add an exception for this directory, call:
 
	git config --global --add safe.directory /comm

And then later:

warning: Not a git repository. Use --no-index to compare two paths outside a working tree
usage: git diff --no-index [<options>] <path> <path>

The second error was the proximate cause of the issue, but the first error was caused by the same issue and has a more helpful error.

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 30 2024, 4:47 PM
Harbormaster failed remote builds in B27856: Diff 38589!
.buildkite/jsi_codegen.yml
8

Without this change I was seeing the following in runs of this job:

$ husky install
fatal: detected dubious ownership in repository at '/comm'
To add an exception for this directory, call:
 
	git config --global --add safe.directory /comm

And then later:

warning: Not a git repository. Use --no-index to compare two paths outside a working tree
usage: git diff --no-index [<options>] <path> <path>

The second error was the proximate cause of the issue, but the first error was caused by the same issue and has a more helpful error.

This revision is now accepted and ready to land.Apr 1 2024, 9:19 AM