Guard restore-parameter direct staging
This commit is contained in:
63
text7.txt
63
text7.txt
@@ -1021,3 +1021,66 @@ Guard restore-parameter negative staging
|
||||
```bash
|
||||
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
|
||||
```
|
||||
|
||||
十九、2026-06-13 继续执行记录:restore-parameter direct staging guard
|
||||
|
||||
1. 本批目标。
|
||||
|
||||
继续 staged path guard inventory 第十四轮,处理 Node/browser 成对覆盖的普通
|
||||
restore/save parameter direct fixture path:
|
||||
|
||||
```text
|
||||
rs274ngc.var
|
||||
browser-direct.var
|
||||
```
|
||||
|
||||
2. 已完成改动。
|
||||
|
||||
- Node 侧普通 `parameterFilePath` 初始写入改为 `writeGeneratedParameterFixture(...)`;
|
||||
- browser 侧 `browserParameterFilePath` 初始写入改为
|
||||
`writeGeneratedParameterFixture(...)`;
|
||||
- 两侧 direct restore/save parameter path 均复用 explicit path parity guard;
|
||||
- 未修改 generated parameter fixture 内容、save/restore expected output、backup
|
||||
验证或 parameter runtime semantics。
|
||||
|
||||
涉及文件:
|
||||
|
||||
```text
|
||||
wasm-port/tests/wasm/node/verify_interp_wasm.mjs
|
||||
wasm-port/tests/browser/interp_smoke.html
|
||||
```
|
||||
|
||||
3. 已完成的目标验证。
|
||||
|
||||
```bash
|
||||
git diff --check
|
||||
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_interp_wasm.sh
|
||||
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_sim_configs_inventory_wasm.sh
|
||||
wasm-port/tests/host/verify_host_smokes.sh
|
||||
```
|
||||
|
||||
如果通过,提交建议:
|
||||
|
||||
```text
|
||||
Guard restore-parameter direct staging
|
||||
```
|
||||
|
||||
5. 下一步工作建议。
|
||||
|
||||
继续 staged path guard inventory 第十五轮,优先处理 tool-table direct fixture path
|
||||
guard,例如 `tool.tbl` / `random-tool.tbl` 和 browser direct tool-table paths;仍只加
|
||||
filesystem path guard,不改变 tool table runtime semantics。
|
||||
|
||||
下一轮第一条命令仍保持:
|
||||
|
||||
```bash
|
||||
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
|
||||
```
|
||||
|
||||
@@ -8767,9 +8767,10 @@
|
||||
].join("\n"),
|
||||
);
|
||||
|
||||
const browserParameterFilePath = "/work/browser-direct.var";
|
||||
interp.writeTextFile(
|
||||
browserParameterFilePath,
|
||||
const browserParameterFilePath = writeGeneratedParameterFixture(
|
||||
interp,
|
||||
"/work/browser-direct.var",
|
||||
"/work/browser-direct.var",
|
||||
[
|
||||
"5161 10.5",
|
||||
"5162 20.25",
|
||||
|
||||
@@ -3708,9 +3708,9 @@ verifyExpectedOutput(
|
||||
].join("\n"),
|
||||
);
|
||||
|
||||
const parameterFilePath = "/work/rs274ngc.var";
|
||||
interp.writeTextFile(
|
||||
parameterFilePath,
|
||||
const parameterFilePath = writeGeneratedParameterFixture(
|
||||
"/work/rs274ngc.var",
|
||||
"/work/rs274ngc.var",
|
||||
[
|
||||
"5161 10.5",
|
||||
"5162 20.25",
|
||||
|
||||
Reference in New Issue
Block a user