Skip to content

ci: run the e2e suite nightly against the head of Moby and Buildx - #14548

Merged
glours merged 1 commit into
docker:mainfrom
ndeloof:ci-nightly-buildx
Nov 24, 2026
Merged

glours merged 1 commit into
docker:mainfrom
ndeloof:ci-nightly-buildx

Conversation

@ndeloof

@ndeloof ndeloof commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does

A new nightly-build workflow runs the e2e suite every night against a Moby engine and a Buildx plugin, both built from the head of their repository, so a regression introduced in either one is spotted before it is released.

Related issue

None: this is CI-only and changes no code, command or output of Compose.

Context

Compose runs on top of the Docker engine and builds images through docker buildx bake: a regression in the engine or in Buildx is a regression in Compose. Today the e2e suite only ever runs against released engines and Buildx, so we learn about such a regression after it is out, from user reports.

What the PR brings

  • A nightly run against Moby and Buildx head. Moby (dockerd and the tools it needs) and the Buildx plugin are each built once from the head of moby/moby and docker/buildx; the e2e suite of ci then runs in plugin mode against them, on both image stores since the way an image is built and loaded depends on it. Compose is also built with that engine and that Buildx, so one that cannot build Compose fails before the tests do.
  • Built here, not installed. The Docker setup action only installs published engines, so the engine is built in a job of its own and started on the e2e runners in place of the engine of the runner. Buildx is built from a clone with its tags, because it reads its version from them and Compose refuses a Buildx whose version it cannot read.
  • What is under test is reported in the summary of the jobs: the Moby commit, the engine version and the Buildx version.
  • Manual runs can target other Moby and Buildx refs (a branch, a tag or a commit) through workflow_dispatch, to bisect a regression; runs of different refs do not cancel each other.
  • Nothing changes for contributors. The workflow has no pull_request or push trigger, so it adds no check to PRs and is not part of ci-ok; it only runs on docker/compose, not on forks. Permissions are read-only.

Testing done

  • actionlint passes on the workflow
  • The set-up was run on a fork, with a temporary push trigger: Moby builds, the engine starts and Compose builds and runs its e2e suite with them
  • The e2e suite passes on the fork with the Moby and the Buildx built from their head, on both image stores (a first run failed on the version Compose read from a Buildx built without tags, hence the Buildx build of this PR)
  • The workflow itself has not run on docker/compose yet: schedule and workflow_dispatch only work once it is on the default branch

AI tool used

Claude Code (Anthropic) wrote the change, with review by the submitter.

Additional context

A failed scheduled run notifies whoever last edited the cron line of the workflow, and the run appears in the Actions tab; opening an issue on failure is left out to keep this change small.

🤖 Generated with Claude Code

@ndeloof
ndeloof requested review from a team as code owners November 24, 2026 15:32
@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

glours
glours previously approved these changes Nov 24, 2026

@glours glours left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Only a concurrency nit inline, not blocking.

Comment thread .github/workflows/nightly-buildx.yml Resolved
Compose runs on top of the Docker engine and builds images through
`docker buildx bake`, so a regression in either one surfaces as a
regression in Compose. Run the e2e suite every night with an engine
built from the head of moby/moby and a Buildx plugin built from the
head of docker/buildx, on both image stores, to catch such a regression
before it is released.

The engine is built once and shared by the e2e jobs, as the Docker
setup action only installs published engines. The workflow can also be
started by hand with other Moby and Buildx refs.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof changed the title ci: run the e2e suite nightly against the head of Buildx ci: run the e2e suite nightly against the head of Moby and Buildx Nov 24, 2026
@glours
glours merged commit ac74e4f into docker:main Nov 24, 2026
118 of 120 checks passed
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