Skip to content

fix(ci): Give each image build its own cache scope - #6254

Merged
dan-petty merged 1 commit into
mainfrom
fix/4928-image-cache-scope
Nov 18, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/4928-image-cache-scope

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

All image builds of ci.yml, release.yml and service-image-test.yml use the BuildKit gha cache with the default scope buildkit, so each cache-to replaces the cache index of the other images. The parallel release jobs write the Service, runner and MCP server images, so a release finds the dependency stages of only the image that ended last. Each build now uses its target as the scope, each write keeps mode=max, and a test-tree check fails on an unscoped entry.

Closes #4928

Change: openspec/changes/archive/2026-11-18-4928-image-cache-scope/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners labels Nov 18, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 03:48
@dan-petty
dan-petty merged commit 708bd3c into main Nov 18, 2026
45 of 47 checks passed
@dan-petty
dan-petty deleted the fix/4928-image-cache-scope branch November 18, 2026 03:49
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.174.7](v0.174.6...v0.174.7)
(2026-11-18)


### Bug Fixes

* **ci:** Give each image build its own cache scope
([#6254](#6254))
([708bd3c](708bd3c)),
closes [#4928](#4928)
* **roadmap:** Refuse a member that the staged class lacks
([#6005](#6005))
([dfae9b5](dfae9b5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/ci GitHub Actions workflows, pre-commit hooks, CI gates, and runners type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): give each image build its own cache scope

1 participant