Repository navigation
Build the Docker image on pull requests that change its inputs - #2695
Merged
Merged
Conversation
Adds a build-only check (no push) for pull requests touching the Dockerfile, pyproject.toml or uv.lock. It builds linux/arm/v7 only: that platform compiles native dependencies such as uvloop from source, so a dependency or base image change breaks it first, and building just one platform keeps the check cheap.
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.
Adds a build-only Docker check (no push) on pull requests that change the image's inputs:
Dockerfile,pyproject.toml,uv.lockor the workflow itself.linux/arm/v7only. It is the one platform that compiles native dependencies (such as uvloop) from source, since there are no musllinux wheels for it. So it is what a dependency or base image change breaks first, and building one platform keeps the check much cheaper than the full four-platform release build.Expected to fail as opened. This branch is based on current
dev, which has the uvloop 0.23.0 / missinglinux-headersproblem fixed by #2694. This run should reproduce the 4.5.14 failure (linux/errqueue.h: No such file or directory). Once #2694 merges, rebasing this PR should turn it green.Had this check existed, the "Update deps" commit that moved uvloop to 0.23.0 would have failed here, instead of at release.