继续推进浏览器 random session path 断言组 guard
This commit is contained in:
50
text9.txt
50
text9.txt
@@ -2488,3 +2488,53 @@ host_wasm_opfs_browser_smokes=ok
|
|||||||
继续小批量 browser test glue guard。优先扫描 remaining OPFS readback groups 或
|
继续小批量 browser test glue guard。优先扫描 remaining OPFS readback groups 或
|
||||||
machine text store path assertion groups 是否还能进一步局部常量化或复用 existing
|
machine text store path assertion groups 是否还能进一步局部常量化或复用 existing
|
||||||
helpers;只改测试胶水,不改变输入、OPFS path、WASM path 字符串或保存/读取行为。
|
helpers;只改测试胶水,不改变输入、OPFS path、WASM path 字符串或保存/读取行为。
|
||||||
|
|
||||||
|
四十八、2026-06-14 继续执行记录:browser random session path assertion group guard
|
||||||
|
|
||||||
|
本轮按上一条下一步建议继续收敛 remaining session path assertion group,范围仍只触及
|
||||||
|
`wasm-port/tests/browser/interp_smoke.html` 的 browser/OPFS test glue。
|
||||||
|
|
||||||
|
完成内容:
|
||||||
|
|
||||||
|
- 新增 `browserRandomExpectedSessionPaths` 局部常量,承载 browser-random session
|
||||||
|
expected path group;
|
||||||
|
- browser-random session staging 断言改为复用上述 expected path group;
|
||||||
|
- 保持 browser-random session expected OPFS path、WASM path、machine id、filename 与
|
||||||
|
load options 不变;
|
||||||
|
- 未改变任何 expected 字符串、输入、OPFS path、WASM path 字符串或 load/save/read
|
||||||
|
行为;
|
||||||
|
- 未改变 staging path 模型、OPFS bridge behavior、file-service、SDK planner、
|
||||||
|
interpreter、INI、tool、parameter 或 LinuxCNC-owned runtime semantics。
|
||||||
|
|
||||||
|
验证已通过:
|
||||||
|
|
||||||
|
```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_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
|
||||||
|
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_interp_browser.sh
|
||||||
|
wasm-port/tests/host/verify_host_smokes.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
关键输出:
|
||||||
|
|
||||||
|
```text
|
||||||
|
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
|
||||||
|
browser_interp_smoke=ok
|
||||||
|
host_wasm_opfs_browser_smokes=ok
|
||||||
|
```
|
||||||
|
|
||||||
|
下一步建议:
|
||||||
|
|
||||||
|
继续小批量 browser test glue guard。优先扫描 remaining OPFS readback groups、saved
|
||||||
|
file staging assertions 或 machine text store path assertion groups 是否还能进一步局部
|
||||||
|
常量化或复用 existing helpers;只改测试胶水,不改变输入、OPFS path、WASM path 字符串
|
||||||
|
或保存/读取行为。
|
||||||
|
|||||||
@@ -9711,13 +9711,14 @@
|
|||||||
browserRandomMachineId,
|
browserRandomMachineId,
|
||||||
opfsSessionLoadOptions(browserRandomWasmPaths, { iniSdk: ini }),
|
opfsSessionLoadOptions(browserRandomWasmPaths, { iniSdk: ini }),
|
||||||
);
|
);
|
||||||
|
const browserRandomExpectedSessionPaths = {
|
||||||
|
wasm: browserRandomWasmPaths,
|
||||||
|
};
|
||||||
assertOpfsSessionStaging(
|
assertOpfsSessionStaging(
|
||||||
"opfs_load_random_session_staging",
|
"opfs_load_random_session_staging",
|
||||||
loadedRandomSession,
|
loadedRandomSession,
|
||||||
browserRandomMachineId,
|
browserRandomMachineId,
|
||||||
{
|
browserRandomExpectedSessionPaths,
|
||||||
wasm: browserRandomWasmPaths,
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
const browserRandomLoadToolTableResultLines = opfsRandomToolTableResultLines("load", [
|
const browserRandomLoadToolTableResultLines = opfsRandomToolTableResultLines("load", [
|
||||||
...browserRandomTools,
|
...browserRandomTools,
|
||||||
|
|||||||
Reference in New Issue
Block a user