Guard browser OPFS custom session tool-table value locals

This commit is contained in:
2026-06-14 02:35:19 +08:00
parent bc130d9685
commit bc70d026bd
2 changed files with 73 additions and 14 deletions

View File

@@ -1531,3 +1531,56 @@ host_wasm_opfs_browser_smokes=ok
继续小批量 browser OPFS test glue guard。优先扫描 custom session 中 tool-table
value groups 是否还能和 load/save/readback helper 对齐为 locals只改测试胶水
不改变 tool-table 输入、custom filename 输入、OPFS path、WASM path 字符串或保存/读取行为。
三十三、2026-06-14 继续执行记录browser OPFS custom session tool-table value locals guard
本轮按上一条下一步建议继续收敛 custom session 中 tool-table value groups范围仍只
触及 `wasm-port/tests/browser/interp_smoke.html` 的 browser/OPFS test glue。
完成内容:
- 为 INI-named session 增加 `iniNamedToolTableValues`、
`iniNamedToolTableLoadValues`、`iniNamedToolTableReadbackValues` 局部常量;
- INI-named session 的 tool-table seed text、load result expected lines、save
result expected lines、saved tool-table readback expected lines 均复用这些局部常量;
- 为 explicit override session 增加 `explicitToolTableValues`、
`explicitToolTableLoadValues`、`explicitToolTableReadbackValues` 局部常量;
- explicit override session 的 tool-table seed text、load result expected lines、
save result expected lines、saved tool-table readback expected lines 均复用这些局部常量;
- seed、load、readback 的 tool-table value 字符串仍分开显式声明,未新增格式转换逻辑;
- custom parameter/tool-table filename 输入、OPFS path、WASM path 字符串与
save/read 行为均未改变;
- 未改变 staging path 模型、OPFS bridge behavior、file-service、SDK planner、
interpreter、INI、tool、parameter 或 LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
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_interp_wasm.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
wasm-port/tests/host/verify_host_smokes.sh
```
关键输出:
```text
browser_interp_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步建议:
继续小批量 browser OPFS test glue guard。优先扫描 custom session 中 filename groups
是否还能和 path/load/staging helper 对齐为 locals只改测试胶水不改变 custom
filename 输入、OPFS path、WASM path 字符串或保存/读取行为。