feat(release): add standard and fast 103 portal release modes

Formalize fast release as --mode fast so verified changes can skip canary promotion and full Gate reruns while keeping backups and health checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-15 08:03:44 +08:00
parent a9fe3d01a7
commit 835677a285
9 changed files with 222 additions and 76 deletions
+3 -1
View File
@@ -66,7 +66,9 @@ npm run verify:seo-geo
npm run verify:seo-discovery
```
发版脚本(`scripts/release-portal-runtime-prod.sh`)当前在不跳过测试时会执行相关 verify;生产 `103` 发布禁止使用 `--skip-tests`,并且仍须通过完整生产发布守门员。
发版脚本(`scripts/release-portal-runtime-prod.sh` / `scripts/release-portal-fast-prod.sh`):
- **标准发布**(默认):须灰度晋升证据 + 完整 Gate + `verify:mindspace-publish-guards:full`;禁止 `--skip-tests`
- **快速发布**`--mode fast`):跳过灰度晋升与完整 Gate 重跑;可复用有效 Gate report 或跑最小 smoke;仍禁止在生产用 `--skip-tests` 代替发布前验证(快速模式仅在 `--mode fast` 下允许 `--skip-tests`,且须已自行验证)。
### 受保护的关键路径