Skip to content

ci(sparkinfer): conformance-check a published tag without republishing it - #1729

Merged
anderdc merged 1 commit into
testfrom
serving/conformance-without-rebuild
Aug 28, 2026
Merged

ci(sparkinfer): conformance-check a published tag without republishing it#1729
anderdc merged 1 commit into
testfrom
serving/conformance-without-rebuild

Conversation

@anderdc

@anderdc anderdc commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

scripts/serving_conformance_on_lium.sh takes an image tag and pulls it from Docker Hub itself — it never needed the build job. The conformance job depended on image only for steps.build.outputs.digest, so re-measuring an already-published image meant rebuilding it and overwriting its tag with a new digest for byte-identical content.

Adds a build input (default true, so blessing a new runtime is unchanged). Unchecked:

  • the image job is skipped;
  • conformance still runs, resolves ref/tag from the inputs or serving_loadout.json, and reads the digest from the registry (hub.docker.com/v2/repositories/entrius/sparkinfer/tags/<tag>), failing clearly if the tag isn't published;
  • everything downstream — the Lium run, the artifact, the loadout bump, the pin-bump PR — is unchanged.

Why now: runtime_image has no digest and the loadout has no attest.reference_wall_ms, both of which only a conformance run can write. The blessed entrius/sparkinfer:7498736 needs no rebuild — the attest sidecar was added in #1722 and removed in #1727, and only ever shipped in the 7498736-attest1 tag, so the 8/27-built 7498736 already matches today's Dockerfile (the diff is two comments and EXPOSE). This lets us measure it without touching it.

…g it

The conformance job only needs an image tag — serving_conformance_on_lium.sh pulls
entrius/sparkinfer:<tag> from Docker Hub itself. It depended on the build job purely for
the digest, so re-measuring an already-blessed image meant rebuilding and overwriting its
tag with a new digest for identical content.

`build` (default true, unchanged) can now be unchecked: the image job is skipped, and
conformance resolves ref/tag from the inputs or the loadout and reads the digest from the
registry. Blessing a new runtime is unaffected; re-running conformance on the blessed one
no longer republishes it.
@anderdc
anderdc merged commit 2612d63 into test Aug 28, 2026
4 checks passed
@anderdc
anderdc deleted the serving/conformance-without-rebuild branch August 28, 2026 20:57
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.

1 participant