Repository navigation
ci: 并行兼容性验收并复用候选制品 - #10
Merged
Merged
Conversation
将候选准备、消费者矩阵和 API 21/35 设备验收拆为独立任务,保留 verify 汇总入口。 通过 artifact、提交标识和摘要传递唯一候选,消费者复用模式不再重新发布。 仅强制本轮测试执行,保留编译打包增量结果,并同步设备准备与中英文验收文档。 验证:actionlint、YAML/Shell 检查、231 项 JVM 单测和 33 项 Python 回归通过; API/lint、Java 8 与旧版消费者、相关 R8/APK 构建和发布任务图 dry-run 通过。 真实设备及完整云端矩阵留待本次 PR 验证。
logan0817
marked this pull request as ready for review
October 15, 2026 08:31
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.
改了什么
将串行 verify 拆为候选准备、消费者验收、四版本 Kotlin 矩阵、API 21/35 设备验收及最终 verify 汇总。准备阶段仅生成一批候选,通过 artifact、checkout SHA 与逐文件 SHA-256 交给下游,复用模式禁止重新发布候选;测试实际执行,编译和打包保留增量复用。
为什么改
减少全图 --rerun-tasks 和同一工作区串行检查造成的重复构建及等待。保留现有兼容性与发布验收范围,不调整 Kotlin、AGP、Gradle、JDK、Compose、Navigation 或 SDK 基线。
影响范围
怎么验证
本地已通过:
合并前 PR 云端完整验收已通过:CI run 31,9/9 job 成功,包括最终
CI / verify (pull_request)。受测 head 为71c3800007f5326a829e8051c8eff23f776f83c1,checkout 合成合并提交为e814c7c46267739bb6424cfc8b2f3186921f0a6a,attempt 1。02b4bd5186871b6b1ec6d70d357a136d9ea79724461234f7fd1583b94ded43a7。全部下游日志在开始、结束均验收同一候选。还没做的事
PR 已合并到 main,合并提交为
88bf7b229cbb673289fefa54c0fbae08e600ca30;未发布。合并后 CI run 32 attempt 1 耗时 8分56秒,7 项任务通过,API 35 与最终 verify 失败。API 35 实际执行 21 项测试,1 项失败:MainActivityTest.scenarioCards_existAndOpenExpectedActivities未在 3 秒内监测到DecisionGuideActivity启动(MainActivityTest.kt:52)。已核验失败报告 ZIP 摘要并读取 XML / logcat;候选身份及内容校验仍通过。该测试与生产页面未在本 PR 中修改,根因尚未确认,不以重跑或放宽断言替代修复。保留 verify 检查名称,维护者需核对分支保护或 ruleset 是否引用该 context;未修改远端规则。本次未人为制造取消/失败的云端运行,相关汇总拒绝路径由本地回归覆盖;PR 过时取消仍待自然的新提交验证。后续正常运行继续比较排队、分项准备/下载/传输、缓存与总 runner 分钟。需要完整重跑工作流,避免不同 attempt 混用候选。自检