Guard more earlier direct-file staging

This commit is contained in:
2026-06-13 09:35:23 +08:00
parent 6a64219533
commit a773c2e633
3 changed files with 59 additions and 65 deletions

View File

@@ -1483,3 +1483,52 @@ wasm-port/tests/host/verify_host_smokes.sh
这些已有 Node/browser coverage 和 fixed `.ngc` manifest可继续用
`assertInterpRegressionFileStaging(...)` 替换内联 staged path 对账。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十五、2026-06-13 继续执行记录more earlier direct-file staging guard
本批继续收敛 earlier direct-file guard处理 5 个已有 Node/browser coverage 的
single-file fixture
- `subs-follow-main/test.ngc`
- `fractional-linenumbers/test.ngc`
- `crazy-paths/test.ngc`
- `namedparam-bug424/test.ngc`
- `flowsnake/flowsnake.ngc`
完成内容:
- Node 侧保留各 fixture 的 upstream `.ngc` manifest coverage check
- Node 侧将 5 处内联 staged path 对账替换为
`assertInterpRegressionFileStaging(...)`
- browser 侧保留 fixed manifest duplicate-free guard
- browser 侧将 5 处 `replace(...)` staged path 对账替换为 single-file helper
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 subs-follow-main、fractional line
number、cutter-comp/crazy-path、namedparam 或 flowsnake 执行语义。
已运行验证:
```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
```
结果:全部通过。
下一步建议:
继续处理相邻的 single-file direct-file guard。优先候选
- `inside-corners/test.ngc`
- `inverse-time-with-comp/test.ngc`
- `iniparam/test.ngc`
- `iniparam-failassign/test.ngc`
其中 `iniparam` 与 `iniparam-failassign` 可能有 INI/context staging 细节,下一批可先处理
`inside-corners` 和 `inverse-time-with-comp` 两个简单 direct-file case。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。