|
26 | 26 | # A re-push of the same tag is rare but happens (e.g., draft release re-cut). |
27 | 27 | # Deduplicate retries on the same tag, but never cancel a mid-flight macOS |
28 | 28 | # notarize — that wastes 10x ubuntu-equivalent minutes. |
| 29 | + |
| 30 | +# Node 24.19.0 shipped nodejs/node#63642 ("src: add cleanup hooks to |
| 31 | +# node::ObjectWrap"), which makes NAN-style ObjectWrap addons abort during |
| 32 | +# environment teardown: better-sqlite3's Statement destructor calls |
| 33 | +# RemoveEnvironmentCleanupHook after the Environment is gone, tripping |
| 34 | +# `Assertion failed: (env) != nullptr` and killing the process with SIGABRT. |
| 35 | +# In CI that surfaced as vitest workers dying mid-run, taking whole test files |
| 36 | +# with them and dropping coverage below the gate — with no code change to |
| 37 | +# explain it, because a floating `'24'` pin picks up each new patch release. |
| 38 | +# Pinned until better-sqlite3 adapts to the new hook contract; verified locally |
| 39 | +# under both versions (24.19.0: 4-6 workers killed per run; 24.18.0: none). |
| 40 | +env: |
| 41 | + NODE_VERSION: '24.18.0' |
| 42 | + |
29 | 43 | concurrency: |
30 | 44 | group: release-${{ inputs.version || github.ref_name }} |
31 | 45 | cancel-in-progress: false |
|
53 | 67 | fetch-tags: true |
54 | 68 | - uses: actions/setup-node@v4 |
55 | 69 | with: |
56 | | - node-version: '24' |
| 70 | + node-version: ${{ env.NODE_VERSION }} |
57 | 71 | - name: Build notes from conventional commits |
58 | 72 | id: notes |
59 | 73 | env: |
@@ -181,7 +195,7 @@ jobs: |
181 | 195 |
|
182 | 196 | - uses: actions/setup-node@v4 |
183 | 197 | with: |
184 | | - node-version: '24' |
| 198 | + node-version: ${{ env.NODE_VERSION }} |
185 | 199 | cache: pnpm |
186 | 200 |
|
187 | 201 | - name: Install Rust |
@@ -513,7 +527,7 @@ jobs: |
513 | 527 | - uses: actions/checkout@v4 |
514 | 528 | - uses: actions/setup-node@v4 |
515 | 529 | with: |
516 | | - node-version: '24' |
| 530 | + node-version: ${{ env.NODE_VERSION }} |
517 | 531 | - name: Download notary submission ids from the draft release |
518 | 532 | run: | |
519 | 533 | set -euo pipefail |
|
0 commit comments