GitHub Code Quality GA:启用质量门禁前先拆开三类成本
Tech
浏览 4
GA 让预览用户进入计费运行。首先要把许可、AI 工作和确定性分析拆成三个计量器。
Confirmed change
成本由活跃提交者许可、AI credits、Actions minutes 或自托管 Runner 组成。
| Cost axis | Meter | Operating question |
|---|---|---|
| Base license | 90-day active committer | Which repos stay enabled? |
| AI work | AI credits | Which detections and fixes? |
| Deterministic scan | Actions / runner | How often should scans run? |
Why immediate blocking is risky
第一天就全量阻断,可能把历史债务变成发布中断。
Phased rollout checklist
✓分开三个预算。
✓先用 evaluate mode。
✓校验 Cobertura XML。
✓审核每个 autofix。