Guard browser OPFS custom session INI wasm path helper
This commit is contained in:
48
text8.txt
48
text8.txt
@@ -751,3 +751,51 @@ host_wasm_opfs_browser_smokes=ok
|
||||
继续小批量扫描 browser staging path literal。优先看 custom INI-named / explicit session
|
||||
的 `iniFileIniWasmPath`、`iniOverrideIniWasmPath` 是否能复用一个 session INI WASM
|
||||
path helper;只改测试胶水,不改变 staging path 字符串或 custom filename 输入。
|
||||
|
||||
十八、2026-06-14 继续执行记录:browser OPFS custom session INI wasm path helper guard
|
||||
|
||||
本轮按上一条下一步建议继续扫描 custom INI-named / explicit session 的 INI WASM path
|
||||
literal,范围仍只触及 `wasm-port/tests/browser/interp_smoke.html` 的 browser/OPFS
|
||||
test glue。
|
||||
|
||||
完成内容:
|
||||
|
||||
- 将 `iniFileIniWasmPath` 改为复用 `opfsMachineIniWasmPath(iniFileMachineId)`;
|
||||
- 将 `iniOverrideIniWasmPath` 改为复用 `opfsMachineIniWasmPath(iniOverrideMachineId)`;
|
||||
- 未改变实际 `/work/browser-ini-file-session.ini`、
|
||||
`/work/browser-ini-override-session.ini` staging path 字符串;
|
||||
- custom parameter/tool-table filename 输入仍在测试处外显;
|
||||
- 未改变 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 staging path literal。优先看 custom session 中
|
||||
`opfsCustomSessionWasmPath(...)` 调用是否还有重复 filename-derived WASM path 可用
|
||||
局部变量收敛;只改测试胶水,不改变 custom filename 输入或 path 字符串。
|
||||
|
||||
@@ -9438,7 +9438,7 @@
|
||||
const iniFileMachineId = "browser-ini-file-session";
|
||||
const iniFileParameterFilename = "browser-custom.var";
|
||||
const iniFileToolTableFilename = "browser-custom-tool.tbl";
|
||||
const iniFileIniWasmPath = "/work/browser-ini-file-session.ini";
|
||||
const iniFileIniWasmPath = opfsMachineIniWasmPath(iniFileMachineId);
|
||||
const browserIniFileTextPaths = await saveMachineTextFiles(iniFileMachineId, {
|
||||
ini: [
|
||||
"[EMC]",
|
||||
@@ -9610,7 +9610,7 @@
|
||||
const iniOverrideMachineId = "browser-ini-override-session";
|
||||
const explicitParameterFilename = "browser-explicit.var";
|
||||
const explicitToolTableFilename = "browser-explicit-tool.tbl";
|
||||
const iniOverrideIniWasmPath = "/work/browser-ini-override-session.ini";
|
||||
const iniOverrideIniWasmPath = opfsMachineIniWasmPath(iniOverrideMachineId);
|
||||
const browserIniOverrideTextPaths = await saveMachineTextFiles(iniOverrideMachineId, {
|
||||
ini: [
|
||||
"[EMC]",
|
||||
|
||||
Reference in New Issue
Block a user