Skip to content

Commit 10282dc

Browse files
committed
feat(perf): add no-hardware startup signoff pipeline
1 parent ccd0064 commit 10282dc

6 files changed

Lines changed: 413 additions & 0 deletions

File tree

docs/diataxis/en/explanation/startup-node-update-acceleration-plan.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,11 @@ npm run perf:startup:matrix -- --root tmp/startup-logs --single-platform-label w
213213
- Phase 4 (verification and rollout gate): automation completed
214214
- `compare / matrix / cohorts` gate scripts are available and validated.
215215
- Release-grade cross-platform signoff still requires real macOS/Android/iOS datasets.
216+
217+
## 15) Signoff Strategy Without Multi-Device Hardware (March 31, 2026)
218+
219+
- One-click command: `npm run perf:startup:signoff:nohw`
220+
- Output: `tmp/startup-logs/report-startup-signoff.md`
221+
- Layered decision model:
222+
- Engineering signoff: based on Windows real logs + simulated multi-platform three-cohort gates.
223+
- Release signoff: marked as `BLOCKED` when real multi-device cohorts are missing (never falsely `PASS`).

docs/diataxis/en/reference/interfaces-and-runtime.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ This reference tracks canonical API/runtime contracts.
8282
- `npm run perf:startup:matrix:simulate -- --seed-root tmp/startup-logs --out-root tmp/startup-logs-simulated`
8383
- `npm run perf:startup:matrix -- --root tmp/startup-logs-simulated --out tmp/startup-logs-simulated/report-platform-matrix.md`
8484
- Note: `tmp/startup-logs-simulated` is synthetic data and must not be used for release-go performance decisions.
85+
- One-click no-hardware signoff (engineering gate + release gate blocking status):
86+
- `npm run perf:startup:signoff:nohw`
87+
- This command automatically runs: Windows real-log gates + simulated multi-platform three-cohort gates, then writes a layered signoff report.
88+
- If real multi-device cohort data is missing, release signoff is marked as `BLOCKED` (not falsely `PASS`).
8589
- Three-cohort automatic regression and rollout gate (Phase 4):
8690
- `npm run perf:startup:cohorts:verify -- --root <cohorts-root> --cohorts small,medium,large --out <report-path> --strict`
8791
- Directory contract: `<cohorts-root>/<cohort>/<platform>/baseline|pilot`

docs/diataxis/zh/explanation/startup-node-update-acceleration-plan.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,11 @@ npm run perf:startup:matrix -- --root tmp/startup-logs --single-platform-label w
213213
- Phase 4(验证灰度):已完成自动化链路
214214
- 已有 `compare / matrix / cohorts` 三类门禁脚本。
215215
- 当前仍需补齐真实多端样本(macOS/Android/iOS)以完成发布级跨端验收。
216+
217+
## 15) 无多端硬件时的签收策略(2026-03-31)
218+
219+
- 一键命令:`npm run perf:startup:signoff:nohw`
220+
- 产物:`tmp/startup-logs/report-startup-signoff.md`
221+
- 分层结论:
222+
- 工程签收:基于 Windows 真实日志 + 模拟多端三规模门禁。
223+
- 发布签收:若缺少真实多端 cohort,状态为 `BLOCKED`(不会误判为 `PASS`)。

docs/diataxis/zh/reference/interfaces-and-runtime.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
- `npm run perf:startup:matrix:simulate -- --seed-root tmp/startup-logs --out-root tmp/startup-logs-simulated`
8383
- `npm run perf:startup:matrix -- --root tmp/startup-logs-simulated --out tmp/startup-logs-simulated/report-platform-matrix.md`
8484
- 注意:`tmp/startup-logs-simulated` 为模拟数据,禁止用于 release-go 性能结论,仅用于脚本/门禁流程演练。
85+
- 无硬件一键签收(工程签收 + 发布签收阻塞提示):
86+
- `npm run perf:startup:signoff:nohw`
87+
- 该命令会自动执行:Windows 真实日志门禁 + 模拟多端三规模门禁,并输出分层签收报告。
88+
- 若缺少真实多端 cohort 数据,发布签收会标记为 `BLOCKED`(而非误判为 `PASS`)。
8589
- 三规模自动回归与灰度门禁(Phase 4):
8690
- `npm run perf:startup:cohorts:verify -- --root <cohorts-root> --cohorts small,medium,large --out <report-path> --strict`
8791
- 目录约定:`<cohorts-root>/<cohort>/<platform>/baseline|pilot`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"perf:startup:matrix:watch": "node scripts/watch-startup-perf-matrix.js",
6363
"perf:startup:matrix:simulate": "node scripts/simulate-startup-perf-platform-logs.js",
6464
"perf:startup:cohorts:verify": "node scripts/verify-startup-perf-cohorts.js",
65+
"perf:startup:signoff:nohw": "node scripts/verify-startup-release-readiness.js --strict-engineering",
6566
"verify:pathbridge:strict": "node scripts/verify-pathbridge-strict-schema.js",
6667
"generate:sbom": "node scripts/generate-sbom.js",
6768
"generate:sbom:attestation": "node scripts/generate-sbom-attestation.js",

0 commit comments

Comments
 (0)