Skip to content

Commit ee25735

Browse files
committed
ci: align workflows with node 24 runtime
1 parent 24a865e commit ee25735

11 files changed

Lines changed: 53 additions & 11 deletions

.github/workflows/docs-diataxis-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v5
2727
with:
28-
node-version: "20"
28+
node-version: "24"
2929
cache: "npm"
3030

3131
- name: Install dependencies

.github/workflows/docs-github-pages-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Setup Node.js
5757
uses: actions/setup-node@v5
5858
with:
59-
node-version: "20"
59+
node-version: "24"
6060
cache: "npm"
6161

6262
- name: Install dependencies

.github/workflows/fixrisk-operational-readiness.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup Node.js
6262
uses: actions/setup-node@v5
6363
with:
64-
node-version: "20"
64+
node-version: "24"
6565
cache: "npm"
6666

6767
- name: Install dependencies
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup Node.js
9797
uses: actions/setup-node@v5
9898
with:
99-
node-version: "20"
99+
node-version: "24"
100100
cache: "npm"
101101

102102
- name: Install dependencies
@@ -168,7 +168,7 @@ jobs:
168168
- name: Setup Node.js
169169
uses: actions/setup-node@v5
170170
with:
171-
node-version: "20"
171+
node-version: "24"
172172
cache: "npm"
173173

174174
- name: Install dependencies

.github/workflows/migration-gates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Node.js
5151
uses: actions/setup-node@v5
5252
with:
53-
node-version: "20"
53+
node-version: "24"
5454
cache: "npm"
5555

5656
- name: Install dependencies

.github/workflows/mobile-e2e-detox-contracts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v5
2525
with:
26-
node-version: "20"
26+
node-version: "24"
2727
cache: "npm"
2828

2929
- name: Install dependencies

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup Node.js
4141
uses: actions/setup-node@v5
4242
with:
43-
node-version: "20"
43+
node-version: "24"
4444
registry-url: "https://registry.npmjs.org"
4545
cache: "npm"
4646

.github/workflows/release-desktop-multi-os.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
- name: Setup Node.js
190190
uses: actions/setup-node@v5
191191
with:
192-
node-version: "20"
192+
node-version: "24"
193193
cache: "npm"
194194

195195
- name: Setup Rust toolchain
@@ -359,7 +359,7 @@ jobs:
359359
- name: Setup Node.js
360360
uses: actions/setup-node@v5
361361
with:
362-
node-version: "20"
362+
node-version: "24"
363363
cache: "npm"
364364

365365
- name: Setup Java 23.0.1

.github/workflows/wasm-parity-benchmark-snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v5
2929
with:
30-
node-version: "20"
30+
node-version: "24"
3131
cache: "npm"
3232

3333
- name: Install dependencies

docs/diataxis/en/explanation/development-progress-dashboard.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,22 @@ Execution anchor:
484484
- latest published `main` runs are already green (`24703509626`, `24703509639`, `24703509627`, `24703509663`, `24703509632`),
485485
- this slice is recurrence hardening, not red-main incident response.
486486

487+
## Latest Mainline Increment (2026-04-21 M8.20 Node 24 Workflow Runtime Alignment)
488+
489+
- Root-caused the new `main` CI regression as workflow/runtime drift, not as a new learning-stack defect:
490+
- failing workflow runs: `Fixrisk Operational Readiness` `24710315031`, `Migration Gates` `24710315061`,
491+
- shared Windows runner symptom: `Cannot find module 'node:sqlite' from 'src/learning/store.ts'`,
492+
- impact surface: `src/server.migration.test.ts`, `src/server.port.fallback.contract.test.ts`, and the aggregated fixrisk contract gate.
493+
- Aligned every `actions/setup-node@v5` workflow target with the runtime the repo already assumes:
494+
- `.github/workflows/migration-gates.yml`,
495+
- `.github/workflows/fixrisk-operational-readiness.yml`,
496+
- docs/release/publish/detox/wasm workflows that were still pinned to `node-version: "20"`.
497+
- Closed the verifier blind spot that let FR-010 stay green while the workflow target still drifted:
498+
- `scripts/verify-fixrisk-issues.js` now requires both the Node 24 force flag and an explicit `node-version: "24"` target for every workflow using `actions/setup-node`.
499+
- Guardrail intent remains unchanged on `main`:
500+
- this is CI/runtime truth alignment, not a feature-scope expansion,
501+
- FR-009 still remains operationally pending until fresh physical-device evidence is captured.
502+
487503
## Latest Mainline Increment (2026-04-20 M8.13 Foundation Readiness Provenance Evidence)
488504

489505
- Added machine-readable provenance so operator tooling can tell whether readiness is reading the runtime project root or falling back to real repo evidence:

docs/diataxis/zh/explanation/development-progress-dashboard.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,22 @@
484484
- 最新发布主线运行已经是绿色(`24703509626``24703509639``24703509627``24703509663``24703509632`),
485485
- 本次工作是防复发加固,不是红主线事故演戏。
486486

487+
## 主线最新增量(2026-04-21 M8.20 Node 24 Workflow Runtime 对齐)
488+
489+
- 已将这次新的 `main` CI 回归定位为 workflow/runtime 漂移,而不是 learning stack 新缺陷:
490+
- 失败工作流运行:`Fixrisk Operational Readiness` `24710315031``Migration Gates` `24710315061`
491+
- 共享的 Windows runner 症状:`Cannot find module 'node:sqlite' from 'src/learning/store.ts'`
492+
- 影响面:`src/server.migration.test.ts``src/server.port.fallback.contract.test.ts` 与 fixrisk 聚合合同门禁。
493+
- 已把仓库中所有仍使用 `actions/setup-node@v5` 且残留 `node-version: "20"` 的 workflow 全部对齐到 Node 24:
494+
- `.github/workflows/migration-gates.yml`
495+
- `.github/workflows/fixrisk-operational-readiness.yml`
496+
- 以及 docs/release/publish/detox/wasm 这些仍残留旧 pin 的 workflow。
497+
- 已补上 FR-010 verifier 的盲区,避免“文档说已升级、workflow 仍漂移”继续被误判为绿色:
498+
- `scripts/verify-fixrisk-issues.js` 现在不仅要求 Node 24 force flag,也要求每个使用 `actions/setup-node` 的 workflow 显式声明 `node-version: "24"`
499+
- `main` 上的护栏意图保持不变:
500+
- 这次工作只是 CI/runtime 事实对齐,不是功能范围扩张,
501+
- FR-009 仍然要等新的真机证据捕获后才算真正闭环。
502+
487503
## 主线最新增量(2026-04-20 M8.13 Foundation Readiness 来源证据)
488504

489505
- 已新增 machine-readable provenance,执行侧现在可以直接知道 readiness 是读取 runtime project root,还是回退到真实 repo 证据:

0 commit comments

Comments
 (0)