fix(kernel): restore bake log streaming; arm the cache-wiring lint hook #2070

Merged
pipeline-bot merged 1 commit from fix/kernel-cache-guards into trunk 2026-08-19 01:07:50 +00:00
Owner

--request-timeout breaks in-cluster kubectl config (localhost:8080) so every bake stream captured zero bytes and ccache -s stats were lost; timeout-wrap restores it. Prepare gains the lint-kernel-cache activation gate for builder-images. Guards + 2 new contract mutations; 132/132.

--request-timeout breaks in-cluster kubectl config (localhost:8080) so every bake stream captured zero bytes and ccache -s stats were lost; timeout-wrap restores it. Prepare gains the lint-kernel-cache activation gate for builder-images. Guards + 2 new contract mutations; 132/132.
fix(kernel): restore bake log streaming; arm the cache-wiring lint hook
All checks were successful
pipeline/ci CI green @ 3b362160b4d2
3b362160b4
Two changes around the kernel build cache, plus their guards:

1. The bake's BuildRun log stream captured ZERO bytes on every run (the
   sf39 bake log was 564 B): kubectl's --request-timeout flag makes it
   IGNORE in-cluster config and dial localhost:8080 (pipeline-tools:v7
   kubectl v1.34.9, proven empirically), and 2>/dev/null hid the error.
   The stream is what carries the Containerfile's `ccache -s` stats
   into the archived workflow log — cache observability was blind.
   coreutils `timeout 600` now does the bounding, which keeps the
   2026-08-14 park-protection AND streams. The deploy template's
   --request-timeout call sites are unaffected: its agents run against
   explicit kubeconfigs.

2. pipeline-build-images prepare gains the lint-kernel-cache activation
   gate (same [ -f ] pattern as lint-no-runtime-fetch — inert until
   builder-images ships the script). The ccache wiring regressed
   silently once before: 0.9% hits for weeks in 2026-06 while every
   line looked right.

Guards: marker-gate probe for the hook, tolerances P6 for the
timeout-wrapped stream, contract mutations M9 (hook removed) and M10
(stream regressed to --request-timeout) — 9/9 red with evidence.
url-credentials allow-list repinned for the line shift. 132/132 green.
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!2070
No description provided.