Guard final INI context staging paths

This commit is contained in:
2026-06-13 12:10:32 +08:00
parent d5ac4b68dd
commit 45ac3cb8b2
3 changed files with 66 additions and 45 deletions

View File

@@ -1668,3 +1668,45 @@ wasm-port/tests/host/verify_host_smokes.sh
这三个当前仍存在类似 `plan.files -> sourceRel -> replace(...)` 的内联 staged path
对账,可继续复用 `assertInterpIniContextNgcStaging(...)` 小批量替换。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十九、2026-06-13 继续执行记录final INI-context ngc staging guard
本批继续处理剩余 INI/context `.ngc` staging 内联对账:
- `oword-unwind/test.ngc`
- `abort-hot-comment/test.ngc`
- `m19/test.ngc`
完成内容:
- Node 侧将 3 处内联 `plan.files -> sourceRel -> replace(...)` `.ngc` staging
对账替换为 `assertInterpIniContextNgcStaging(...)`
- browser 侧同步将 3 处内联 `.ngc` staged path 对账替换为同名 helper
- Node/browser 侧保留 fixed `.ngc` manifest coverage 和 duplicate-free guard
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 oword unwind、abort hot comment、
M19 spindle orientation 或 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
```
结果:全部通过。
下一步建议:
继续收敛最后可见的 fixed `.ngc` staged path 对账。优先候选:
- `magic_comments/param_format_printing/test.ngc`
当前 Node 侧已有 fixed path manifest 对账browser 侧仍有本地数组 staged path 对账;
可小批量抽成 single-file 或 fixed-list helper继续检查 staged path 与 manifest 一致。
继续避免 blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。