Skip to content

[v3-3-test] Reuse CI image built from the same sources in another checkout (#71886) - #71910

Merged
potiuk merged 1 commit into
v3-3-testfrom
backport-9899393-v3-3-test
Aug 20, 2026
Merged

potiuk merged 1 commit into
v3-3-testfrom
backport-9899393-v3-3-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Breeze keeps the record of whether the CI image was built in the
per-checkout .build directory, while the image itself is shared by all
checkouts (e.g. git worktrees) through the single Docker daemon. A fresh
worktree therefore always force-rebuilt an image that had already been
built from identical sources in another checkout.

The CI image now carries a label with the aggregated hash of the files
that trigger rebuilds, so any checkout sharing the Docker daemon can
recognize that the existing image matches its sources and reuse it
instead of rebuilding.
(cherry picked from commit 9899393)

Co-authored-by: Andrew Chang [email protected]

…ckout (#71886)

Breeze keeps the record of whether the CI image was built in the
per-checkout .build directory, while the image itself is shared by all
checkouts (e.g. git worktrees) through the single Docker daemon. A fresh
worktree therefore always force-rebuilt an image that had already been
built from identical sources in another checkout.

The CI image now carries a label with the aggregated hash of the files
that trigger rebuilds, so any checkout sharing the Docker daemon can
recognize that the existing image matches its sources and reuse it
instead of rebuilding.
(cherry picked from commit 9899393)

Co-authored-by: Andrew Chang <[email protected]>
@potiuk
potiuk marked this pull request as ready for review August 20, 2026 18:34
@potiuk
potiuk merged commit a75957c into v3-3-test Aug 20, 2026
30 of 39 checks passed
@potiuk
potiuk deleted the backport-9899393-v3-3-test branch August 20, 2026 18:34
vatsrahul1001 pushed a commit that referenced this pull request Sep 7, 2026
…ckout (#71886) (#71910)

Breeze keeps the record of whether the CI image was built in the
per-checkout .build directory, while the image itself is shared by all
checkouts (e.g. git worktrees) through the single Docker daemon. A fresh
worktree therefore always force-rebuilt an image that had already been
built from identical sources in another checkout.

The CI image now carries a label with the aggregated hash of the files
that trigger rebuilds, so any checkout sharing the Docker daemon can
recognize that the existing image matches its sources and reuse it
instead of rebuilding.
(cherry picked from commit 9899393)

Co-authored-by: Andrew Chang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants