Repository navigation
perf(ci): point the buildkit layer cache at ECR - #407
Merged
Merged
Conversation
The gha backend's ~5 GB mode=max cache was the largest producer in the shared 10 GB Actions budget — the thing cache-prune exists to cap. Both image builds now cache-to er-buildcache (terraform #405), with image-manifest=true,oci-mediatypes=true because ECR rejects buildkit's default cache-manifest media type. The gha line survives as a transitional cache-FROM only, so the first registry run starts warm; cache-to stops feeding the Actions cache immediately. cache-prune's comment now records that both of its budgets are rollback insurance. Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Nov 3, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflow half of the buildcache move (#405 created the repo; the unattended apply must be green before this merges — same sequencing sccache.tf records). Both image builds
cache-to type=registry,ref=…/er-buildcache:er-{api,web},mode=max,image-manifest=true,oci-mediatypes=true(ECR rejects the default cache-manifest media type without those flags). Thetype=ghalines survive as transitional cache-FROM only — first registry run starts warm, and the Actions-cache budget pressure ends at merge. rust.yml's cache-prune comment updated: both budgets are now rollback insurance.Validation: the next
imagesrun on main must showimporting cache manifest from …er-buildcache/exporting cache to registryand a populateder-buildcacherepo.🤖 Generated with Claude Code