新增 release gate execution summary API
This commit is contained in:
56
text15.txt
56
text15.txt
@@ -416,3 +416,59 @@ project_release_gate=ok
|
||||
- 新增内容只验证 host OPFS/session persistence、WASM staging、SDK/browser workflow 和 release gate
|
||||
evidence;
|
||||
- blocked runtime families 仍不 promotion。
|
||||
|
||||
五十九、2026-06-16 继续执行记录:release gate execution summary view-model SDK API
|
||||
|
||||
本批继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”
|
||||
推进,选择 release gate execution evidence 的 UI/CI 展示能力。
|
||||
|
||||
本批新增实质能力:
|
||||
|
||||
- 新增 SDK API:`createProjectReleaseGateExecutionSummaryViewModel()`;
|
||||
- 该 API 复用 `createProjectReleaseGateExecutionManifest()` 输出,生成稳定 dashboard/view-model:
|
||||
- `statusLine`;
|
||||
- `passedCount`、`unknownCount`、`gateCount`;
|
||||
- `nextGateId`;
|
||||
- `evidenceCounts`;
|
||||
- summary rows;
|
||||
- normalized per-gate `gateRows`。
|
||||
- `createProjectReleaseReadinessReport()` 现在嵌入 `gateExecutionSummaryViewModel`;
|
||||
- `createProjectReleaseReadinessArtifactValidation()` 现在要求 artifact 包含 ready
|
||||
`gateExecutionSummaryViewModel`,并暴露 `gateExecutionSummaryReady`;
|
||||
- release artifact validation summary/render rows 增加 `gate-execution-summary` evidence 行;
|
||||
- SDK README 与 project release handoff docs 记录该 summary view-model;
|
||||
- ready fixture 与 host artifact writer/validator 同步新 artifact schema。
|
||||
|
||||
本批新增/更新可执行验证:
|
||||
|
||||
```bash
|
||||
wasm-port/tests/sdk/node/verify_project_release_gate_manifest.sh
|
||||
wasm-port/tests/sdk/node/verify_sdk_surface.sh
|
||||
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
|
||||
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
|
||||
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_release_artifact_url_workflow_browser.sh
|
||||
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
|
||||
wasm-port/tests/host/verify_project_release_gate.sh
|
||||
```
|
||||
|
||||
关键通过输出:
|
||||
|
||||
```text
|
||||
project_release_gate_manifest_node_smoke=ok
|
||||
sdk_surface_node_smoke=ok
|
||||
project_release_handoff_docs_node_smoke=ok
|
||||
ui_node_smokes=ok
|
||||
browser_release_artifact_url_workflow_smoke=ok
|
||||
browser_ini_shell_integration_workflow_smoke=ok
|
||||
browser_opfs_session_workflow_smoke=ok
|
||||
project_release_readiness_artifact_node_smoke=ok
|
||||
project_release_gate=ok
|
||||
```
|
||||
|
||||
本批仍保持 LinuxCNC 语义边界:
|
||||
|
||||
- 未修改 vendored LinuxCNC 源码;
|
||||
- 未在 JS/browser 中实现 G-code、tool、parameter、planner、kinematics、remap 或 canonical motion
|
||||
语义;
|
||||
- 新增内容只包装 release gate evidence 与 artifact validation display rows;
|
||||
- blocked runtime families 仍不 promotion。
|
||||
|
||||
Reference in New Issue
Block a user