继续推进浏览器 session parameter 输入文本 guard
This commit is contained in:
50
text9.txt
50
text9.txt
@@ -1578,3 +1578,53 @@ host_wasm_opfs_browser_smokes=ok
|
|||||||
继续小批量 browser test glue guard。优先扫描 direct/random session 的 text 常量是否还能
|
继续小批量 browser test glue guard。优先扫描 direct/random session 的 text 常量是否还能
|
||||||
合并或局部复用;只改测试胶水,不改变输入、OPFS path、WASM path 字符串或保存/读取
|
合并或局部复用;只改测试胶水,不改变输入、OPFS path、WASM path 字符串或保存/读取
|
||||||
行为。
|
行为。
|
||||||
|
|
||||||
|
三十一、2026-06-14 继续执行记录:browser session parameter input text local guard
|
||||||
|
|
||||||
|
本轮按上一条下一步建议继续收敛 browser session parameter input text,范围仍只触及
|
||||||
|
`wasm-port/tests/browser/interp_smoke.html` 的 browser test glue。
|
||||||
|
|
||||||
|
完成内容:
|
||||||
|
|
||||||
|
- ordinary `browser-interp` session 的 parameter seed 改为复用
|
||||||
|
`browserDirectParameterInputText`;
|
||||||
|
- random `browser-random-toolchanger` session 新增
|
||||||
|
`browserRandomParameterInputText`,承载其 parameter seed text;
|
||||||
|
- 保持 direct ordinary/random session 的 tool-table/parameter expected lines、OPFS path
|
||||||
|
与 WASM path 不变;
|
||||||
|
- 未改变任何 expected 字符串、输入、OPFS path、WASM path 字符串或 save/read/load
|
||||||
|
行为;
|
||||||
|
- 未改变 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。优先扫描 browser-interp 与 browser-random session 的
|
||||||
|
tool-table/parameter text 常量是否还能进一步合并复用;只改测试胶水,不改变输入、
|
||||||
|
OPFS path、WASM path 字符串或保存/读取行为。
|
||||||
|
|||||||
@@ -9486,7 +9486,7 @@
|
|||||||
const browserInterpTextPaths = await saveMachineTextFiles(browserInterpMachineId, {
|
const browserInterpTextPaths = await saveMachineTextFiles(browserInterpMachineId, {
|
||||||
ini: `[EMC]\nMACHINE = ${browserInterpMachineId}\n`,
|
ini: `[EMC]\nMACHINE = ${browserInterpMachineId}\n`,
|
||||||
toolTable: browserInterpToolTableInputText,
|
toolTable: browserInterpToolTableInputText,
|
||||||
parameters: browserDirectParameterSeedLines(true).join("\n"),
|
parameters: browserDirectParameterInputText,
|
||||||
});
|
});
|
||||||
assertMachineTextStorePaths(
|
assertMachineTextStorePaths(
|
||||||
"opfs_save_machine_text_files_staging",
|
"opfs_save_machine_text_files_staging",
|
||||||
@@ -9633,6 +9633,7 @@
|
|||||||
"T5 P9 X1 Y2 Z3 ;browser random rough tool",
|
"T5 P9 X1 Y2 Z3 ;browser random rough tool",
|
||||||
"",
|
"",
|
||||||
].join("\n");
|
].join("\n");
|
||||||
|
const browserRandomParameterInputText = browserDirectParameterSeedLines().join("\n");
|
||||||
const browserRandomTextPaths = await saveMachineTextFiles(browserRandomMachineId, {
|
const browserRandomTextPaths = await saveMachineTextFiles(browserRandomMachineId, {
|
||||||
ini: [
|
ini: [
|
||||||
"[EMC]",
|
"[EMC]",
|
||||||
@@ -9643,7 +9644,7 @@
|
|||||||
"",
|
"",
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
toolTable: browserRandomToolTableInputText,
|
toolTable: browserRandomToolTableInputText,
|
||||||
parameters: browserDirectParameterSeedLines().join("\n"),
|
parameters: browserRandomParameterInputText,
|
||||||
});
|
});
|
||||||
assertMachineTextStorePaths(
|
assertMachineTextStorePaths(
|
||||||
"opfs_save_random_machine_text_files_staging",
|
"opfs_save_random_machine_text_files_staging",
|
||||||
|
|||||||
Reference in New Issue
Block a user