Files
silk/docs/acceptance/release-checklist.md
T
2026-08-17 21:43:26 +08:00

35 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 发布门禁清单
## 发布前
- [ ] 确认发布基线 commit 和回滚点。
- [ ] 执行 `powershell -ExecutionPolicy Bypass -File scripts/verify.ps1`exit 0。
- [ ] 执行 `git diff --check`exit 0。
- [ ] 涉及 schema 时完成 `pg_dump` 备份并记录恢复命令。
- [ ] v9 发布前确认 `000009_object_authority_and_business_capabilities.up.sql``.down.sql` 路径和回滚顺序。
- [ ] 检查磁盘、端口、服务进程和依赖健康。
- [ ] 核对需求追踪矩阵:本次涉及的需求 ID 有实现、测试和限制说明。
## 发布中
- [ ] 保留旧二进制和旧 `dist`
- [ ] 上传新构建产物。
- [ ] 执行数据库迁移。
- [ ] 重启服务。
- [ ] 健康检查和核心接口冒烟。
- [ ] 登录管理员并冒烟 `/organizations``/organizations/:id/members`、Web `/organizations` 页面。
## 发布后
- [ ] 记录部署 commit、迁移版本、备份路径、冒烟结果。
- [ ] 更新 `变更记录.md``开发交接记录.md`
- [ ] 执行核心端到端用例中受影响的 E2E。
- [ ] 对象授权改动时执行 E2E-11 跨组织越权用例。
- [ ] 如失败,按回滚预案恢复并记录原因。
## 回滚
- 代码:恢复旧二进制/旧 dist 或 `git checkout <pre-commit>`
- 数据库:`pg_restore` 恢复备份。
- 回滚后重新健康检查并记录结论。