From a81bea5666288f8f56d86f0afbe09d4db0c678da Mon Sep 17 00:00:00 2001 From: fargito Date: Mon, 2 Nov 2026 17:54:23 +0100 Subject: [PATCH] docs(core): flag that the backend mirrors the tested Node.js majors CodSpeed keeps its own per-release copy of the Node.js majors each `codspeed-node` release is tested with, to warn on runs outside them. Flag it next to `SUPPORTED_NODE_MAJORS` so a change to the list reaches it. Refs COD-3506 --- packages/core/src/nodeVersion.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/nodeVersion.ts b/packages/core/src/nodeVersion.ts index 87eea768..5e8e063f 100644 --- a/packages/core/src/nodeVersion.ts +++ b/packages/core/src/nodeVersion.ts @@ -2,6 +2,8 @@ * Majors CodSpeed is tested against. The native addon itself is built as a * single Node-API binary and loads on any major, so this only gates the * warning about measurement stability. + * + * IMPORTANT: Keep in sync with the support matrix on the backend! */ export const SUPPORTED_NODE_MAJORS = [22, 24, 26];