Guard g10 per-file staging paths

This commit is contained in:
2026-06-13 12:57:47 +08:00
parent 5175444fe9
commit af5fc84519
3 changed files with 83 additions and 20 deletions

View File

@@ -1917,3 +1917,55 @@ wasm-port/tests/host/verify_host_smokes.sh
注意 `test.tbl` 存在时 `test.ini` 仍由 `writeG10RegressionFiles(...)` 运行时生成,
不要纳入 vendored staged manifest。继续避免 blocked runtime promotion、browser full
inventory 扩面和 JS CNC 语义实现。
四十四、2026-06-13 继续执行记录g10 per-file staging helper guard
本批按第 43 批建议处理 g10 专用 staged path helper
- `g10-l1-l10`
- `g10-l11`
- `g10-l2-while-active`
- `g10-l20-while-active`
- `g10-with-g92`
完成内容:
- Node 侧将 `assertG10RegressionStaging(...)` 拆分为
`assertG10RegressionCoverage(...)` 和 `assertG10RegressionFilesStaging(...)`
- Node 侧保留 vendored `.ngc/.tbl` manifest coverage
- Node 侧将 5 个 g10 fixture 切换为 coverage helper 加 per-file staging helper
- browser 侧将 g10 helper 改为逐个文件检查
`/work/browser-interp/g10/<name>/<file>` staged path
- browser 侧同步替换 5 个 g10 fixture 调用;
- `test.tbl` 存在时,`test.ini` 仍由 `writeG10RegressionFiles(...)` 运行时生成,
不纳入 vendored staged manifest
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 G10 coordinate/tool offset、G92、
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
```
结果:全部通过。
下一步建议:
继续处理剩余 remap 专用 helper但必须保留 expected-unstaged 语义。优先小批量候选:
- `duplicate-o-word`
- `fail/args.0`
- `fail/args.1`
这些 remap fixture file list 较短、没有 expected-unstaged 额外清单,适合先将
`assertRemapRegressionStaging(...)` 拆成 coverage helper 与 per-file staging helper。
`nested-remaps-oword` 含 expected-unstaged 文件,应留到后续单独处理。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。