ci: add merge-queue verification and guarded PR fast checks
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 969
Description
用户已明确要求立即执行 CI 提速:PR 快检、合并候选完整验证,减少每个前端 PR 无差别执行全部后端测试及反复更新 main。
实施边界:
1. 支持 merge_group 的准确 head_sha/base_sha,候选组执行完整必需验证,不触发部署。
2. PR 影响范围判定保守失败关闭:仅已证明的纯前端范围可走快检;API、契约、权限、迁移、runtime、依赖/构建/CI配置和未知路径仍完整验证。
3. 五项required checks保持真实,不能把任意skipped当success。快检必须有明确执行计划及必要前端验证。
4. 队列启用前不能启用减少验证的快检。GitHub队列、CLI入队授权与历史doctor证据同步适配;精确区分入队与直接合并。
5. 历史判定必须证明实际验证的候选组合,查不到证据就失败;不使用旧PR head绿色冒充新组合通过。
6. main发布保持准确SHA与完整发布前验证;显式手动验收保留。
先完成兼容实现、正反例与独立review,再分阶段启用规则。目标是降低排队与重复计算,尚不承诺已达到时间SLO。当前既有PR合并继续由coord-main执行,不同时批量rebase。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by mapping the existing CI workflows and the merge-queue, CLI enqueue, and historical doctor paths mentioned in the issue; no specific files or tests are named. Trace how head_sha/base_sha and required checks are currently handled. Done means compatibility behavior, positive and negative cases, independent review, and staged rule enablement are all covered without enabling reduced validation prematurely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100