Guard browser OPFS tool-table staging
This commit is contained in:
67
text7.txt
67
text7.txt
@@ -1154,3 +1154,70 @@ filesystem/OPFS path guard,不改变 tool table、INI 或 session runtime sema
|
||||
```bash
|
||||
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
|
||||
```
|
||||
|
||||
二十一、2026-06-13 继续执行记录:browser OPFS tool-table staging guard
|
||||
|
||||
1. 本批目标。
|
||||
|
||||
继续 staged path guard inventory 第十六轮,处理 browser OPFS/session tool-table
|
||||
boundary path:
|
||||
|
||||
```text
|
||||
/work/browser-tool.tbl
|
||||
/work/browser-random-tool.tbl
|
||||
/work/browser-custom-tool.tbl
|
||||
/work/browser-explicit-tool.tbl
|
||||
```
|
||||
|
||||
2. 已完成改动。
|
||||
|
||||
- browser 侧新增 `assertOpfsToolTableStaging(...)`;
|
||||
- 默认 machine session 的 load/save tool table 均检查 OPFS path 与 WASM path;
|
||||
- random toolchanger session 的 load/save tool table 均检查 OPFS path 与 WASM path;
|
||||
- INI `TOOL_TABLE` 命名 session 的 load/save tool table 均检查 OPFS path 与 WASM path;
|
||||
- explicit override session 的 load/save tool table 均检查 OPFS path 与 WASM path;
|
||||
- 复用 `generatedToolTablePath(...)` 校验 WASM staged path;
|
||||
- 未修改 OPFS 存储内容、tool table 内容、INI 解析、random toolchanger 行为或 session
|
||||
runtime semantics。
|
||||
|
||||
涉及文件:
|
||||
|
||||
```text
|
||||
wasm-port/tests/browser/interp_smoke.html
|
||||
```
|
||||
|
||||
3. 已完成的目标验证。
|
||||
|
||||
```bash
|
||||
git diff --check
|
||||
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_interp_browser.sh
|
||||
```
|
||||
|
||||
4. 本批剩余建议验证。
|
||||
|
||||
```bash
|
||||
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
|
||||
Guard browser OPFS tool-table staging
|
||||
```
|
||||
|
||||
5. 下一步工作建议。
|
||||
|
||||
继续 staged path guard inventory 第十七轮,优先处理 browser OPFS/session parameter
|
||||
path guard,例如 `/work/browser-linuxcnc.var`、`/work/browser-random-linuxcnc.var`、
|
||||
`/work/browser-custom.var`、`/work/browser-explicit.var`;仍只加 filesystem/OPFS path
|
||||
guard,不改变 parameter、INI 或 session runtime semantics。
|
||||
|
||||
下一轮第一条命令仍保持:
|
||||
|
||||
```bash
|
||||
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user