Guard g10 directory staging

This commit is contained in:
2026-06-13 09:23:36 +08:00
parent a6baa14ddf
commit 8f47c95bca
3 changed files with 83 additions and 36 deletions

View File

@@ -1385,3 +1385,50 @@ wasm-port/tests/host/verify_host_smokes.sh
建议先处理 `g10`,因为 fixed manifest 已存在,当前只需把 initial/final aggregate
path guard 拆到每个 `writeG10RegressionFiles(...)` 调用附近。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十三、2026-06-13 继续执行记录g10 directory staging guard
本批处理 `g10` initial/final aggregate staged path guard将其拆到每个
`writeG10RegressionFiles(...)` 调用附近。
完成内容:
- Node 侧新增 `assertG10RegressionStaging(...)`
- Node 侧对每个 g10 fixture 目录的 vendored `.ngc/.tbl` 文件清单与 fixed manifest
精确对账;
- Node 侧检查 staged path 与 `/work/interp/g10/<name>/...` fixed manifest 一致;
- Node 侧移除 `g10` initial/final aggregate staged path guard
- browser 侧新增同名 helper检查 fixed manifest duplicate-free
- browser 侧检查 staged path 去掉 `/work/browser-interp/g10/<name>/` 前缀后与 fixed
manifest 一致;
- browser 侧移除 `g10` initial/final aggregate staged path guard仍不枚举目录
- 仅整理 host/filesystem staging guard不改变 G10、G92 或 tool table 语义。
已运行验证:
```bash
git diff --check
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
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_sim_configs_inventory_wasm.sh
wasm-port/tests/host/verify_host_smokes.sh
```
结果:全部通过。
下一步建议:
继续收敛 earlier direct-file guard。优先候选
- `do-while-break`
- `oword-bug315`
- `oword-bug315-p2`
- `exists`
- `return-value`
这些已有 Node/browser coverage 和 fixed `.ngc` manifest适合逐步复用
`assertInterpRegressionFileStaging(...)` 或小型 per-directory helper 替换内联 staged
path 对账。继续避免 blocked runtime promotion、browser full inventory 扩面和 JS CNC
语义实现。