From 7b2dbfbcd4fd119b2e9fd3dbbf117fc859220c05 Mon Sep 17 00:00:00 2001 From: Leif Henriksen Date: Fri, 26 Jun 2026 18:09:21 +0200 Subject: [PATCH] CLDSRV-940: pin CI Node to 22.23.1 to fix node-fetch@2 premature-close regression Node 22.23.0 (from GitHub runner image 20260622) introduced a regression breaking node-fetch@2: reading a response body throws 'FetchError: Premature close' (nodejs/node#63989, node-fetch#1767), fixed in 22.23.1. CI floated node-version '22' and so picked up the broken release on every branch, failing the quota/rate-limit functional tooling. Pin to 22.23.1 (keeps the 22.23.0 security patches). Note: development/9.4 has a diverged CI layout (separate lint.yaml plus 4 node-version refs in tests.yaml) that this cascade will not fully cover; pin those 6 refs manually when bert-e raises the 9.4 cascade. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/actions/setup-ci/action.yaml | 2 +- .github/workflows/tests.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-ci/action.yaml b/.github/actions/setup-ci/action.yaml index 857b2f23d1..b9c7c9ca7e 100644 --- a/.github/actions/setup-ci/action.yaml +++ b/.github/actions/setup-ci/action.yaml @@ -27,7 +27,7 @@ runs: mkdir -p /tmp/coverage/${JOB_NAME}/; - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '22.23.1' cache: 'yarn' - name: install typescript shell: bash diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 983e2c7088..9cce05736c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -82,7 +82,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '22.23.1' cache: yarn - name: install typescript shell: bash @@ -111,7 +111,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '22.23.1' cache: yarn - name: install typescript shell: bash