Guard initial remap per-file staging paths

This commit is contained in:
2026-06-13 13:02:44 +08:00
parent af5fc84519
commit d7cd11627f
3 changed files with 87 additions and 7 deletions

View File

@@ -1969,3 +1969,55 @@ wasm-port/tests/host/verify_host_smokes.sh
`assertRemapRegressionStaging(...)` 拆成 coverage helper 与 per-file staging helper。
`nested-remaps-oword` 含 expected-unstaged 文件,应留到后续单独处理。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
四十五、2026-06-13 继续执行记录initial remap per-file staging helper guard
本批开始处理 remap 专用 staged path helper并只选择没有 expected-unstaged 额外清单的
短小 fixture
- `duplicate-o-word`
- `fail/args.0`
- `fail/args.1`
完成内容:
- Node 侧新增 `assertRemapRegressionCoverage(...)`,保留 vendored `.ini/.ngc`
manifest coverage 与 expected-unstaged overlap 检查;
- Node 侧新增 `assertRemapRegressionFilesStaging(...)`,逐个文件检查
`/work/remap/<name>/<file>` staged path
- Node 侧保留原 `assertRemapRegressionStaging(...)` 给尚未拆分的 remap fixture 使用;
- Node 侧将上述 3 个 remap fixture 切换为 coverage helper 加 per-file staging helper
- browser 侧新增同名 per-file staging helper逐个文件检查
`/work/browser-remap/<name>/<file>` staged path
- browser 侧同步替换上述 3 个 remap fixture
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 remap、O-word、argument validation、
expected-error 或 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
```
结果:全部通过。
下一步建议:
继续处理没有 expected-unstaged 额外清单的 remap fixture。优先候选
- `fail/args.2`
- `fail/body-ngc`
- `m30-interaction`
这三组 file list 均为 `test.ini`、`test.ngc`、`rm400.ngc`,适合继续切换到
`assertRemapRegressionCoverage(...)` 加 `assertRemapRegressionFilesStaging(...)`。
仍暂缓 `nested-remaps-oword`,因为它含 expected-unstaged 文件,需要单独保留
staged/unstaged overlap guard。继续避免 blocked runtime promotion、browser full
inventory 扩面和 JS CNC 语义实现。