Guard more INI context staging paths

This commit is contained in:
2026-06-13 12:01:44 +08:00
parent a0b0ac175a
commit d5ac4b68dd
3 changed files with 77 additions and 60 deletions

View File

@@ -1623,3 +1623,48 @@ wasm-port/tests/host/verify_host_smokes.sh
这些已有 Node/browser coverage并且当前仍存在类似 `plan.files -> sourceRel` 的内联
staged path 对账,可继续复用 `assertInterpIniContextNgcStaging(...)` 小批量替换。
继续避免 blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十八、2026-06-13 继续执行记录more INI-context ngc staging guard
本批继续收敛相邻 INI/context staging guard
- `sub-call-from-sub/test.ngc`
- `sequence-number/test.ngc`
- `nested-sub-error/test.ngc`
- `nested-sub-in-file-error/test.ngc`
完成内容:
- Node 侧将 4 处内联 `plan.files -> sourceRel -> replace(...)` `.ngc` staging
对账替换为 `assertInterpIniContextNgcStaging(...)`
- browser 侧同步将 4 处内联 `.ngc` staged path 对账替换为同名 helper
- Node/browser 侧保留 fixed `.ngc` manifest coverage 和 duplicate-free guard
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 sub-call、sequence-number、
nested-sub 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
```
结果:全部通过。
下一步建议:
继续处理剩余 INI/context `.ngc` staging 内联对账。优先候选:
- `oword-unwind/test.ngc`
- `abort-hot-comment/test.ngc`
- `m19/test.ngc`
这三个当前仍存在类似 `plan.files -> sourceRel -> replace(...)` 的内联 staged path
对账,可继续复用 `assertInterpIniContextNgcStaging(...)` 小批量替换。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。