Skip to content

PR builds: check the patches once per distribution, next to the builds - #95

Merged
Tobias-Fischer merged 1 commit into
mainfrom
ci/patch-check-job
Oct 16, 2026
Merged

Tobias-Fischer merged 1 commit into
mainfrom
ci/patch-check-job

Conversation

@Tobias-Fischer

Copy link
Copy Markdown
Collaborator

The patch check ran as a step of every build job: one rattler-build run per patched recipe, ~5 minutes on Linux and ~11–13 minutes on Windows, and every job checked the patches of all platforms again.

Now a separate <distro> patches job runs once per distribution on ubuntu-latest, in parallel with the builds:

  1. It generates the recipes for all five platforms. Like the builds, it uses -n and the same ROBOSTACK_UPLOAD_CHANNEL, so it covers the packages being built.
  2. It merges them, since each platform selects its own packages.
  3. It runs check-orphaned-patches and check-patches once. Applying a patch doesn't depend on the host, and the checker already covers the linux/osx/win/emscripten patches regardless of the host.

The build jobs no longer have the step, and All green also waits for the new job.

Checked locally for humble: recipes for linux-64, win-64 and osx-arm64 merged into 337, of which 57 have patches; all 57 apply. A package's recipe is identical for every platform (17 of 17 compared). Labelled build:humble, so this PR's CI exercises the new job on one distribution.

🤖 Generated with Claude Code

The patch check ran in every build job, ~5 minutes on Linux and ~13 on Windows, each
time for the patches of all platforms. A job per distribution now generates the
recipes of every platform, merges them and checks their patches once, on Linux,
while the builds run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer Tobias-Fischer added the build:humble PR build: build only humble (with other build:<distro> labels: only those) label Oct 15, 2026
@Tobias-Fischer
Tobias-Fischer merged commit ae8038d into main Oct 16, 2026
12 checks passed
@Tobias-Fischer
Tobias-Fischer deleted the ci/patch-check-job branch October 16, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:humble PR build: build only humble (with other build:<distro> labels: only those)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant