Guard browser OPFS explicit session file group
This commit is contained in:
51
text8.txt
51
text8.txt
@@ -1633,3 +1633,54 @@ host_wasm_opfs_browser_smokes=ok
|
|||||||
继续小批量 browser OPFS test glue guard。优先扫描 explicit override session 的
|
继续小批量 browser OPFS test glue guard。优先扫描 explicit override session 的
|
||||||
filename group 是否也能复用 `opfsCustomSessionFiles(...)`;只改测试胶水,不改变
|
filename group 是否也能复用 `opfsCustomSessionFiles(...)`;只改测试胶水,不改变
|
||||||
custom filename 输入、OPFS path、WASM path 字符串或保存/读取行为。
|
custom filename 输入、OPFS path、WASM path 字符串或保存/读取行为。
|
||||||
|
|
||||||
|
三十五、2026-06-14 继续执行记录:browser OPFS explicit session file group helper guard
|
||||||
|
|
||||||
|
本轮按上一条下一步建议继续收敛 explicit override session filename groups,范围仍只
|
||||||
|
触及 `wasm-port/tests/browser/interp_smoke.html` 的 browser/OPFS test glue。
|
||||||
|
|
||||||
|
完成内容:
|
||||||
|
|
||||||
|
- explicit override session 的 `browser-explicit.var` 与
|
||||||
|
`browser-explicit-tool.tbl` 改为通过 `opfsCustomSessionFiles(...)` 生成
|
||||||
|
filename group;
|
||||||
|
- explicit override session 的 parameter/tool-table filename locals 改为复用
|
||||||
|
该 filename group;
|
||||||
|
- explicit override session 的 parameter/tool-table WASM paths 改为复用该
|
||||||
|
filename group 派生出的 `/work/<filename>` paths;
|
||||||
|
- 实际 custom 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。优先扫描 OPFS save result
|
||||||
|
`verifyExpectedOutput(...)` 的重复 result verification 是否还能收敛为小 helper;
|
||||||
|
只改测试胶水,不改变保存结果内容、OPFS path、WASM path 字符串或保存/读取行为。
|
||||||
|
|||||||
@@ -9680,11 +9680,12 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
const iniOverrideMachineId = "browser-ini-override-session";
|
const iniOverrideMachineId = "browser-ini-override-session";
|
||||||
const explicitParameterFilename = "browser-explicit.var";
|
const explicitSessionFiles = opfsCustomSessionFiles("browser-explicit.var", "browser-explicit-tool.tbl");
|
||||||
const explicitToolTableFilename = "browser-explicit-tool.tbl";
|
|
||||||
const iniOverrideIniWasmPath = opfsMachineIniWasmPath(iniOverrideMachineId);
|
const iniOverrideIniWasmPath = opfsMachineIniWasmPath(iniOverrideMachineId);
|
||||||
const explicitParameterWasmPath = opfsCustomSessionWasmPath(explicitParameterFilename);
|
const explicitParameterFilename = explicitSessionFiles.filenames.parameters;
|
||||||
const explicitToolTableWasmPath = opfsCustomSessionWasmPath(explicitToolTableFilename);
|
const explicitToolTableFilename = explicitSessionFiles.filenames.toolTable;
|
||||||
|
const explicitParameterWasmPath = explicitSessionFiles.wasm.parameters;
|
||||||
|
const explicitToolTableWasmPath = explicitSessionFiles.wasm.toolTable;
|
||||||
const browserIniOverrideTextPaths = await saveMachineTextFiles(iniOverrideMachineId, {
|
const browserIniOverrideTextPaths = await saveMachineTextFiles(iniOverrideMachineId, {
|
||||||
ini: opfsCustomSessionIniText(
|
ini: opfsCustomSessionIniText(
|
||||||
iniOverrideMachineId,
|
iniOverrideMachineId,
|
||||||
|
|||||||
Reference in New Issue
Block a user