Repository navigation
Done
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard worksource/agentFiled by an agenttype/infraType infra: the build, CI, images or clustervalue/mediumValue Medium
Description
Problem
The smoke checks of the Service, runner, MCP server and uv-seed images are docker run lines in .github/workflows/ci.yml and the same lines again in .github/workflows/release-image.yml. A test compares the two copies. No developer can run them with one command, and BuildKit cannot cache them.
Owner direction of 2026-11-25: build testing and validation of Docker images happens in a Docker layer when possible, as best practice.
Change
- Add
smoke.Dockerfilewith one stage for each image:service-smoke,mcp-server-smoke,runner-smokeanduv-seed-smoke. Each stage starts FROM the image under test, which--build-contextgives. So the same stage tests the local build of a pull request and the pushed digest of a release. Theservicestage stays the last stage ofDockerfile. - A check goes into a
RUNstep of these stages when its result does not depend on the runtime sandbox, the entrypoint or the image metadata: the user, the tool versions, the absent build tools, the runner tool check and the offline sync of the uv seed. - A check stays a
docker runwhen aRUNstep cannot make it: the start of the Service and/healthz, the write probe and the checkout bootstrap on a read-only root file system with all capabilities dropped, the--versioncall through the entrypoint, the size bounds and the scans. ci.ymlandrelease-image.ymlbuild the same stages.
The test suite in the Service image is #6408 and is not part of this item. The move of the image jobs into one workflow is #1858: it gets the shorter smoke steps.
Proof
- Each smoke stage builds locally and in the image jobs of the pull request.
- A smoke stage fails when its image lacks a tool or holds a forbidden one.
- The first release after the merge shows the smoke stages on the pushed digests.
Alternatives check of 2026-11-25: not-applicable.
Class: ci, no search.
Tool: none found.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p2-mediumPriority P2: standard worksource/agentFiled by an agenttype/infraType infra: the build, CI, images or clustervalue/mediumValue Medium
Activity
dan-petty commentedon Nov 25, 2026
image, and .github/labels.yml declares no scope/image label. Add the label to the file to give the scope to this item.[-]ci(image): run the image smoke checks as Docker build stages[/-][+]ci(docker): run the image smoke checks as Docker build stages[/+]