Skip to content

Commit 2d1307f

Browse files
committed
chore: Make Node.js 24 variants optional, so they don't block releases
Node.js 24 variants are going to be broken for a while, while we work on the upgrade. It doesn't make much sense to keep them running and blocking CI, so we will disable them by default and only run them when a patch asks for it.
1 parent 723303f commit 2d1307f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.evergreen/build-variants/unit-tests-build-variants.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ for (const {
1313
shortName: nShort,
1414
versionSpec: nVersion,
1515
skipNodeVersionCheck,
16+
optional,
1617
} of NODE_VERSIONS) {
1718
for (const platform of PLATFORMS) {
1819
const platformDetails = platformToDetails[platform];
@@ -64,6 +65,7 @@ for (const {
6465
mShort,
6566
mVersion,
6667
skipNodeVersionCheck,
68+
disabled: optional === true,
6769
});
6870
}
6971
}

.evergreen/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ exports.NODE_VERSIONS = [
5555
shortName: '24',
5656
versionSpec: NODE_JS_VERSION_24,
5757
skipNodeVersionCheck: '',
58+
optional: true,
5859
},
5960
];

.evergreen/evergreen.yml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,6 +1560,7 @@ buildvariants:
15601560
display_name: "<% out(variant.displayName) %>"
15611561
run_on: <% out(variant.runOn) %>
15621562
tags: <% out(variant.tags) %>
1563+
disabled: <% out(variant.disabled) %>
15631564
expansions:
15641565
executable_os_id: <% out(variant.executableOsId) %>
15651566
mongosh_server_test_version: "<% out(variant.mVersion || '') %>"

0 commit comments

Comments
 (0)