feat(release): add incremental gate and auto CI status for 103 publish

When the runtime artifact is unchanged, carry forward prior gate results and
re-run only REL scenarios; resolve REL-02 from Gitea commit status and allow
stable promotion when canary matches the same artifact bundle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-27 08:32:12 +08:00
parent 9e2aa4f71d
commit a6a9bb4eab
11 changed files with 533 additions and 10 deletions
+11 -2
View File
@@ -48,8 +48,17 @@
全部 187 项都已有自动判定路径,未执行的 mode 仍保持 `unknown`。UI-01 至 UI-08
在隔离本地 Portal、390×844 移动视口和公开页 fixture 上运行;COMP-09 由独立执行器
要求 active 脱敏回归 manifest 并逐条回放。没有 manifest 时 COMP-09 明确 `failed`
不会因“没有用例”而通过。`REL-02` 在候选等于 `origin/main`CI 注入
`MEMIND_RELEASE_CI_STATUS=success` 时通过
不会因“没有用例”而通过。`REL-02` 在候选等于 `origin/main`Gitea commit status 为
`success` 时通过;也可显式注入 `MEMIND_RELEASE_CI_STATUS=success`
当 runtime artifact SHA256 与已发布版本一致时,可使用增量 Gate:
```bash
node scripts/run-release-gate-incremental.mjs --artifact .runtime/portal --deployed-commit <103-stable-sha>
```
增量 Gate 会复用基线 report 中的非 `REL-*` 场景,仅重跑发布相关场景。
稳定发布脚本在完整 report 缺失或过期时会自动尝试增量 Gate。
2026-07-26 本地补齐验证中,历史完整报告为 180/187 通过;`REL-01` 因当前仍在功能
分支且工作区不干净而失败。PAGE-01/02 与 DATA-01/02/03/04 的隔离栈现在使用后台