Skip to content

Commit 598bc43

Browse files
committed
Run reachability e2e on Node 22 and document the new minimum
Coana CLI 15.12.11 requires Node.js 22.13 or later. The e2e-reachability job pinned Node 20, so the engine exited 3 before producing a facts file.
1 parent 89e28eb commit 598bc43

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/e2e-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
8888
if: matrix.setup-node == 'true'
8989
with:
90-
node-version: '20'
90+
node-version: '22'
9191

9292
- name: Install CLI from local repo
9393
run: |

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
`15.12.11`. See the
99
[reachability analysis changelog](https://docs.socket.dev/docs/reachability-analysis-changelog)
1010
for engine changes.
11+
- Coana CLI `15.12.11` requires Node.js 22.13 or later (previously 20). On an older Node,
12+
`--reach` fails with exit code 3 (with `--disable-blocking`, the scan continues without
13+
reachability results). The Docker image already ships a newer Node, but if you run the CLI
14+
directly (for example in CI), upgrade Node before upgrading the Socket CLI.
1115

1216
## 2.11.1
1317

‎docs/cli-reference.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ If you don't want to provide the Socket API Token every time then you can use th
359359
**Reachability Analysis Requirements:**
360360
361361
The Python CLI verifies the following **up front** (before invoking the analysis engine) and exits with code **3** if any are unmet:
362-
- `node` - Required to run the analysis engine (the Coana CLI). The engine needs Node.js 20 or later.
362+
- `node` - Required to run the analysis engine (the Coana CLI). The engine needs Node.js 22.13 or later.
363363
- `uv` - Required by the analysis engine
364364
- An **Enterprise** Socket organization plan (any `enterprise*` plan, including Enterprise trials)
365365

0 commit comments

Comments
 (0)