Skip to content

Commit 41fd5c5

Browse files
committed
fix: pin a compatible Windows Node patch for the fixed VextJS source
1 parent 986b665 commit 41fd5c5

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

‎.github/workflows/vextjs-ci.yml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,15 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ubuntu-latest, windows-latest]
21-
node: ['20.19.0', '22.12.0', '24.19.0']
20+
include:
21+
- { os: ubuntu-latest, node: '20.19.0' }
22+
- { os: ubuntu-latest, node: '22.12.0' }
23+
- { os: ubuntu-latest, node: '24.19.0' }
24+
- { os: windows-latest, node: '20.19.0' }
25+
# The fixed framework rejects lstat.dev=0 vs fstat.dev on Windows Node 22.12.
26+
# Core's separate CI still gates Windows 22.12. Preserve that negative framework evidence.
27+
- { os: windows-latest, node: '22.23.3' }
28+
- { os: windows-latest, node: '24.19.0' }
2229
env:
2330
VEXT_SOURCE_COMMIT: ef926649926e17543562b8169982fa1786285ecf
2431
VEXT_ROOT: ${{ github.workspace }}/../capability-graph-artifacts/sources/vextjs-fixed
@@ -34,7 +41,7 @@ jobs:
3441
- run: npm ci
3542
- run: npm run build && npm run build:tests
3643
- id: paths
37-
name: Resolve physical artifact paths
44+
name: Normalize external artifact paths
3845
shell: bash
3946
run: |
4047
node --input-type=module - <<'JS'

‎examples/vextjs/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ node scripts/validation/vextjs-service-lifecycle.mjs /external/fixed-vextjs redi
2626

2727
`.github/workflows/vextjs-ci.yml` 固定源码提交,在 Linux/Windows、Node 20/22/24 上验证原生目录、检索和实际 TCP Session。框架下载、构建、临时应用及报告均在仓库外。Redis/MongoDB、cluster 和浏览器的扩展验证单独记录,不归为这个兼容矩阵的覆盖内容。
2828

29+
该固定框架在 Windows Node 22.12.0 的源码构建失败:只读诊断确认同一未改变文件的 `lstat.dev=0`,而 `fstat.dev` 为实际设备号,框架将差异判为实现改变;inode、大小、时间与正文均一致。它是该框架的身份检查兼容边界,Core 的 Windows 22.12 回归仍通过。框架 CI 的 Windows Node 22 改用固定补丁 22.23.3;此前失败及诊断保留,未修改框架或绕过检查。已核验的 Windows 20.19.0/24.19.0 也是可用选择。
30+
2931
`node scripts/validation/knowledge-profile.mjs` 可测量实际 HTTP 单篇/多篇正文的冷启动、缓存复核、零命中场景,比较 read-only 与 streaming Reader 的调用、传输量和延迟。该合成工作负载用于比较传输成本,不替代上面的独立检索任务集;每次完整 hash 复核仍可能需要读取整篇正文。

‎website/docs/examples/vextjs-integration.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ node scripts/validation/vextjs-session.mjs /external/fixed-vextjs
4848
真实 Redis Jobs、MongoDB 业务、热重载/cluster、浏览器 SSR/水合与纯 HTML、Cookie/Session 的验证须使用对应固定框架及服务,执行记录另存仓库外。默认 `npm test` 中的受控合同测试不能替代这些实际执行,也不能据此宣称支持任意版本或平台。
4949

5050
已单独核验 npm `vextjs@2.0.0`:其 CLI 不包含 `mcp`,因此不能使用原生 schema 2 Provider/Runtime 接入;该发布包的实际 TCP Session/CSRF 场景可另行验证。此原生接入当前适用于固定 main 快照 `ef926649926e17543562b8169982fa1786285ecf`,不把同版本号的发布包视为等价来源。
51+
52+
该固定快照在 Windows Node 22.12.0 会因 `lstat.dev` 与 `fstat.dev` 的平台差异拒绝源码构建,不能据 Core 的兼容结果宣称框架也支持。Windows 已核验 20.19.0/24.19.0;框架 CI 的 Node 22 使用固定补丁 22.23.3,并保留旧补丁的失败诊断。验证不修改框架源码或绕过身份检查。

0 commit comments

Comments
 (0)