ci: 按 PR 来源分流 Bug Server 构建,避免重复构建 - #4689
Merged
Merged
Conversation
7 tasks
Contributor
|
Review 基于当前 head 本次审查未发现阻断问题。两个构建 job 的条件与预期分流一致,手动校验、提交链路保持不变。 已从实际 workflow YAML 读取条件,验证以下五种场景:
本地 36 项来源校验测试和 6 项 ZIP 校验测试全部通过。当前 PR 的线上 PR Bundle job 也已正确跳过。 验证边界:未重跑完整构建,也未触发新的 Bug Server 测试。审查时线上 Bug Server 图片测试为 2061/2093 通过,size 检查未通过;未将这些失败归因于本次分流改动,合并前仍需另行确认。 |
skie1997
approved these changes
Sep 17, 2026
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.
🤔 这个分支是...
💡 问题的背景&解决方案
目前同一个 PR 会同时执行 Bug Server CI 和 Bug Server PR Bundle 的四步构建。通过比较 PR head 仓库与当前仓库,在构建 job 上添加互斥条件:
每个 PR 事件只实际构建一次。GitHub 仍可能生成两个 workflow 的运行记录,但不适用的构建 job 会显示 skipped,不启动 runner。main push 自动测试和 fork PR 的手动校验、上传流程保留。
同步更新中文说明:仓库内 PR 需要重测时重跑 CI;手动入口依赖 fork PR 的 bundle 产物。
🔗 相关的 PR 链接
#4688
📝 Changelog
☑️ 自测
构建步骤和提交脚本未变,本次未重跑完整构建;线上 Actions 结果以本 PR 检查为准。
🚀 Summary
copilot:summary
🔍 Walkthrough
copilot:walkthrough