Repository navigation
fix(ci): 取消过期汇总任务以释放新提交的 CI - #466
Merged
Merged
Conversation
Qiyuanqiii
changed the base branch from
Qiyuanqiii/docs-current-state
to
main
October 22, 2026 02:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新提交取代旧 CI 时,
Go control plane和Full CI verification的always()会让汇总任务在取消后继续排队,旧运行因此占着同一个并发组,最新提交无法开始。#461 已出现这个问题:旧运行的检查已取消,只有汇总任务仍在排队,最新运行一直处于 pending。强制结束过期运行后,最新运行已进入正常调度。
将这两个汇总任务改为
!cancelled(),采用 GitHub 推荐的取消条件。未取消的运行仍会汇总并拒绝失败或缺失的必需检查,证据上传步骤继续使用原有条件。验证:actionlint v1.7.12 通过;4 项现有工作流检查测试通过,覆盖失败、取消或跳过的平台检查不能被当成成功;OCR delegate 复核 1/1 个文件,无发现。GitHub CI 等待本次提交的实际运行结果。