Guard small single-file staging

This commit is contained in:
2026-06-13 09:16:07 +08:00
parent be9fd7e17a
commit a6baa14ddf
3 changed files with 56 additions and 37 deletions

View File

@@ -1341,3 +1341,47 @@ wasm-port/tests/host/verify_host_smokes.sh
这些都是小型 single-file case适合复用 `assertInterpRegressionFileStaging(...)`
替换内联 staged path 对账。之后再处理 `g10` 初始/最终 aggregate guard。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十二、2026-06-13 继续执行记录small single-file staging guard
本批处理 3 个小型 single-file fixture复用 `assertInterpRegressionFileStaging(...)`
替换内联 staged path 对账:
- `g33.1/g33.1.ngc`
- `g6164/test.ngc`
- `g52/g52-g92-interaction/g52-g92-interaction.ngc`
完成内容:
- Node 侧保留各 fixture 的 upstream `.ngc` manifest coverage check
- Node 侧将 3 处内联 staged path `deepEqual` 替换为 single-file helper
- browser 侧保留 fixed manifest duplicate-free guard
- browser 侧将 3 处 `replace(...)` staged path 对账替换为 single-file helper
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 rigid tap、G61/G64 或 G52/G92 语义。
已运行验证:
```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
```
结果:全部通过。
下一步建议:
继续处理剩余 aggregate staged path guard。优先候选
- `g10` initial/final aggregate guard
- 或继续收敛 earlier direct-file guards如 `do-while-break`、`oword-bug315`、
`exists`、`return-value` 等)。
建议先处理 `g10`,因为 fixed manifest 已存在,当前只需把 initial/final aggregate
path guard 拆到每个 `writeG10RegressionFiles(...)` 调用附近。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。