Guard ccomp per-file staging paths

This commit is contained in:
2026-06-13 12:53:55 +08:00
parent 08e10c7b5a
commit 5175444fe9
3 changed files with 82 additions and 18 deletions

View File

@@ -1863,3 +1863,57 @@ path helper优先候选
建议下一批先处理 ccomp 4 组,因为 file manifest 固定为 `test.ngc`、`test.tbl`
且 Node/browser coverage 已成型。继续避免 blocked runtime promotion、browser full
inventory 扩面和 JS CNC 语义实现。
四十三、2026-06-13 继续执行记录ccomp per-file staging helper guard
本批按第 42 批建议处理 ccomp 专用 staged path helper
- `lathe-comp`
- `mill-g90g91g92`
- `mill-line-arc-entry`
- `mill-zchanges`
完成内容:
- Node 侧将 `assertCcompRegressionStaging(...)` 拆分为
`assertCcompRegressionCoverage(...)` 和 `assertCcompRegressionFilesStaging(...)`
- Node 侧保留 vendored `test.ngc`、`test.tbl` manifest coverage
- Node 侧将 4 个 ccomp fixture 切换为 coverage helper 加 per-file staging helper
- browser 侧将 ccomp helper 改为逐个文件检查
`/work/browser-ccomp/<name>/<file>` staged path
- browser 侧同步替换 4 个 ccomp fixture 调用;
- `test.ini` 仍由 `writeCcompRegressionFiles(...)` 运行时生成,不纳入 vendored
staged manifest
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 cutter compensation、tool table、
generated INI 或 interpreter 语义。
已运行验证:
```bash
git diff --check
wasm-port/tools/verify_vendor_sync.sh
wasm-port/tools/verify_no_standalone_cnc_semantics.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_interp_wasm.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_interp_browser.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
wasm-port/tests/host/verify_host_smokes.sh
```
结果:全部通过。
下一步建议:
继续处理 g10 专用 helper。当前候选
- `g10-l1-l10`
- `g10-l11`
- `g10-l2-while-active`
- `g10-l20-while-active`
- `g10-with-g92`
这些已有 fixed file list 和 Node/browser coverage可按 ccomp 模式将
`assertG10RegressionStaging(...)` 拆成 coverage helper 与 per-file staging helper。
注意 `test.tbl` 存在时 `test.ini` 仍由 `writeG10RegressionFiles(...)` 运行时生成,
不要纳入 vendored staged manifest。继续避免 blocked runtime promotion、browser full
inventory 扩面和 JS CNC 语义实现。