Prevent remote cache misses on dgeni build

build(bazel): prevent remote cache misses on dgeni build (#48585)
Prevent remote cache misses on dgeni buildbuildprevent remote cache misses dgeni build

Committed by Derek Cormier

commit message
build(bazel): prevent remote cache misses on dgeni build (#48585)

Using 'always' as the stamp attribute caused stable-status.txt
to always be included as an input, which has different values on
different ci executors causing a cache miss.
 
We run the regular aio build without stamping on ci so only include
status files when stamping is explicitly enabled.
 
PR Close #48585

Editor assessment

An outstanding build commit that diagnoses rather than describes. The body traces the cache-miss mechanism step by step: using "'always' as the stamp attribute caused stable-status.txt to always be included as an input," and because that file "has different values on different ci executors," remote caching was defeated. It then explains the fix — include status files only "when stamping is explicitly enabled." This is the reasoning a future engineer needs to avoid reintroducing the problem. Subject is specific, scoped, imperative, and the structure is fully spec-compliant. A textbook `build(bazel)` message.

Browse categories

More build examples · Back to search