Skip to content

fix(ci): apply release patches when building release branches - #301

Open
cbartz wants to merge 1 commit into
mainfrom
fix/ci-release-branch-patches
Open

cbartz wants to merge 1 commit into
mainfrom
fix/ci-release-branch-patches

Conversation

@cbartz

@cbartz cbartz commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

What this PR does

On releases/* branches, and on PRs that target them, build.yml now applies the release patches (runner-sdk8-<arch>.patch) for every architecture. Before, only linux-riscv64 did. All other runs still apply the runner-main-sdk8-* patches.

Why we need it

Release branches contain upstream release source, but build.yml applied the patches made against upstream main. On releases/v2.338.2 the arm main patch doesn't apply (src/dev.sh, src/global.json), so Runner CI on that branch has been red since it was created (run). Without this fix, every future release branch would hit the same problem. release.yml already picks the release patches, so published releases were unaffected.

Checklist

  • I used AI to assist with preparing this PR

Test plan

Copilot AI lite review requested due to automatic review settings December 4, 2026 07:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified in the supplied evidence.

No open issues 🎉

What changed in this PR

Fixes patch selection in Runner CI so release branches and pull requests targeting them use release-compatible patches for all supported architectures.

Changes:

  • Extends release-patch selection beyond RISC-V to ARM, PowerPC, and s390x.
  • Preserves main-patch selection for other branches.
File Description
.github/​workflows/​build.yml Selects architecture-specific release patches for release-branch builds and pull requests.

Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants