feat(kernel): bake skips a kernel BuildRun the registry already holds #2080

Merged
pipeline-bot merged 1 commit from feat/bake-skip-published into trunk 2026-08-19 16:36:58 +00:00
Owner

Kaizen run 4, improvement B (from profiling sf42: 755s of re-bake for already-published images). Kernel BuildRun skipped behind a registry manifest proof; node-bootc always rebuilds. Guard P10 + contract M15; 14/14.

Kaizen run 4, improvement B (from profiling sf42: 755s of re-bake for already-published images). Kernel BuildRun skipped behind a registry manifest proof; node-bootc always rebuilds. Guard P10 + contract M15; 14/14.
feat(kernel): bake skips a kernel BuildRun the registry already holds
All checks were successful
pipeline/ci CI green @ 44163a8a92f2
44163a8a92
Profiling the sf42 evidence-reuse release: 755s of its 26 minutes was
the bake re-running BuildRuns for images already published — the
git-clone layer is not byte-stable, so the BuildKit layer cache misses
across releases and the kernel recompiles (~9m17s, ccache-warm) for
byte-equivalent output.

build/linux-kernel:${SHORT} is a pure function of pinned inputs
(source SHA, immutable kernel-builder :vN, the build args), so an
existing manifest IS proof this exact bake already succeeded. The bake
now HEADs the registry and skips the kernel BuildRun on 200; any
registry error falls through to building — the safe direction. The
kernel digest always flowed from crane against the registry, so no
downstream identity changes.

node-bootc is NEVER skipped: it tracks builder-images main (the
bootc-timer-mask class) and costs only ~3 minutes. Guard P10 pins both
halves (skip only behind registry proof; node-bootc never gains one);
contract M15 proves the second half bites — 14/14.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/pipelines!2080
No description provided.