release-health-gates
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRelease Health Gates
发布健康关口
Purpose
用途
Standardize release approvals by expressing gates as GitHub-aware checklists. Ensure code, docs, comms, and observability items are green before deployment.
通过将发布关口设置为支持GitHub的检查清单,实现发布审批标准化。确保代码、文档、通信内容和可观测性项在部署前全部达标。
Gate Categories
关口分类
- Scope & Risk – Are all blocking issues closed or deferred with owners?
- Quality Signals – Are required checks, tests, and soak times satisfied?
- Comms & Docs – Are docs merged and release notes posted?
- Operations – Are runbooks, oncall sign-off, and rollback plans ready?
- 范围与风险 – 所有阻塞性问题是否已关闭,或已分配负责人延期处理?
- 质量信号 – 是否满足所有强制检查、测试要求和浸泡时长要求?
- 通信与文档 – 文档是否已合并,发布说明是否已发布?
- 运维 – 运行手册、值班人员签字确认、回滚方案是否已就绪?
Workflow
工作流程
- Load skill to access gate modules.
- Attach Release Gate section to deployment PR.
- Use tracker data to auto-fill blockers and highlight overdue tasks.
- Update comment as gates turn green; require approvals for any waivers.
- 加载skill以访问关口模块。
- 将发布关口部分附加到部署PR中。
- 使用跟踪器数据自动填充阻塞项并高亮逾期任务。
- 关口达标时更新评论;任何豁免都需要审批。
Outputs
输出
- Release Gate markdown snippet (embed in PR/issue).
- QA Handshake summary referencing GitHub Checks.
- Rollout scorecard that persists in tracker data for retros.
- 发布关口markdown片段(可嵌入PR/issue中)。
- 关联GitHub Checks的QA交接摘要。
- 留存于跟踪器数据中用于回顾的上线评分卡。
Exit Criteria
退出标准
- All release gates evaluated and documented.
- Any blocking gates have waiver approvals recorded.
- Deployment PR contains embedded Release Gate snippet.
- Rollout scorecard saved for post-release retrospective.
- 所有发布关口均已评估并记录。
- 所有阻塞性关口的豁免审批均已记录在案。
- 部署PR中嵌入了发布关口片段。
- 上线评分卡已保存,用于发布后回顾。
Troubleshooting
故障排查
Common Issues
常见问题
Command not found
Ensure all dependencies are installed and in PATH
Permission errors
Check file permissions and run with appropriate privileges
Unexpected behavior
Enable verbose logging with flag
--verbose命令未找到
确保所有依赖已安装且已加入PATH
权限错误
检查文件权限,使用合适的权限运行
异常行为
使用参数开启详细日志
--verbose