Guard remaining m98m99 direct-file staging

This commit is contained in:
2026-06-13 08:49:38 +08:00
parent fba2946a67
commit 410e109e61
3 changed files with 71 additions and 39 deletions

View File

@@ -1070,3 +1070,49 @@ wasm-port/tests/host/verify_host_smokes.sh
其中 `06-error-mixed-sub-styles` 有 4 个同目录文件,可单独作为一批继续处理。继续避免
blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
二十六、2026-06-13 继续执行记录m98m99 remaining direct-file staging guard
本批继续复用 `assertInterpRegressionFileStaging(...)`,收敛 m98m99 剩余短小
single-file direct-file guard
- `m98m99/04-M98-but-no-sub/test.ngc`
- `m98m99/05-M98-loops/test.ngc`
- `m98m99/07-nested-subs/test.ngc`
- `m98m99/08-sub-follows-main/test.ngc`
- `m98m99/10-M98-P001/test.ngc`
完成内容:
- Node 侧为上述 5 个 direct-file case 增加局部 staged path guard
- Node 侧将 `06-error-mixed-sub-styles` 的 aggregate slice 收缩为只覆盖该目录
4 个 mixed-sub-style 文件;
- Node 侧移除 `07/08` 和 `10` 的临近 aggregate slice guard
- browser 侧同步增加 5 个局部 staged path guard
- browser 侧同步收缩 mixed-sub-style slice并移除 `07/08` 和 `10` 的临近 slice
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 M98 no-sub、loop、nested sub、
sub-follows-main 或 M98-P001 执行语义。
已运行验证:
```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
```
结果:全部通过。
下一步建议:
`m98m99` 剩余显性 aggregate slice 只剩 `06-error-mixed-sub-styles`。下一批可把这
4 个文件改成固定 manifest 加 per-directory guard或逐个使用 single-file helper
完成后 m98m99 direct-file staging guard 基本收束。之后建议转向其他
`writeInterpRegressionFile(...)` families例如 `bad`、`good`、`g71/g72` 或
`rotation` 的 aggregate direct-file guard。继续避免 blocked runtime promotion、
browser full inventory 扩面和 JS CNC 语义实现。