Guard ccomp and INI context staging paths

This commit is contained in:
2026-06-13 10:52:55 +08:00
parent a773c2e633
commit a0b0ac175a
3 changed files with 129 additions and 57 deletions

View File

@@ -1532,3 +1532,94 @@ wasm-port/tests/host/verify_host_smokes.sh
其中 `iniparam` 与 `iniparam-failassign` 可能有 INI/context staging 细节,下一批可先处理
`inside-corners` 和 `inverse-time-with-comp` 两个简单 direct-file case。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十六、2026-06-13 继续执行记录ccomp edge direct-file staging guard
本批按上一条建议处理两个简单 direct-file case
- `inside-corners/test.ngc`
- `inverse-time-with-comp/inverse.ngc`
完成内容:
- Node 侧保留两个 fixture 的 upstream `.ngc` manifest coverage check
- Node 侧将 2 处内联 staged path 对账替换为
`assertInterpRegressionFileStaging(...)`
- browser 侧保留 fixed manifest duplicate-free guard
- browser 侧将 2 处 `replace(...)` staged path 对账替换为 single-file helper
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 cutter-comp、inside-corner 或
inverse-time feed 语义。
已运行验证:
```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
```
结果:全部通过。
下一步建议:
继续处理带 INI/context staging 的 direct-file guard。优先候选
- `iniparam/test.ngc`
- `iniparam-failassign/test.ngc`
这两个已有 Node/browser coverage但涉及 INI/context staging建议单独小批量处理
先核对当前 helper 和 staged path 结构,再替换内联 path 对账。继续避免 blocked
runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。
三十七、2026-06-13 继续执行记录INI-context ngc staging guard
本批继续处理带 INI/context staging 的 direct-file guard
- `iniparam/test.ngc`
- `iniparam-failassign/test.ngc`
完成内容:
- Node 侧新增 `assertInterpIniContextNgcStaging(...)`,直接检查
`plan.files[*].wasmPath` 去掉 `/work/interp/<name>/` 前缀后与 fixed `.ngc`
manifest 一致;
- Node 侧将 `iniparam` 与 `iniparam-failassign` 的内联 `sourceRel` staged path
对账替换为该 helper
- browser 侧新增同名 INI-context `.ngc` staging helper检查
`/work/browser-interp/<name>/` staged path 前缀;
- browser 侧同步替换两个 fixture 的内联 `sourceRel` staged path 对账;
- browser 侧仍不枚举目录;
- 仅整理 host/filesystem staging guard不改变 INI named parameter、read-only
assignment 或 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 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/browser coverage并且当前仍存在类似 `plan.files -> sourceRel` 的内联
staged path 对账,可继续复用 `assertInterpIniContextNgcStaging(...)` 小批量替换。
继续避免 blocked runtime promotion、browser full inventory 扩面和 JS CNC 语义实现。