Repository navigation
refactor(release): let ci3 pick the build cache from the instance profile - #793
Merged
Merged
Conversation
…file ci3 now derives the cache bucket from CI3_INSTANCE_PROFILE_NAME: the release environment's profile gives the release cache and release-private's the private cache. So source_release_target no longer exports RELEASE_CACHE_BUCKET, ci-release no longer sources source_cache_bucket, and private-release.yml no longer sets CI3_CACHE_BUCKET. RELEASES.md no longer says private releases upload nothing to the build cache. Moves ci3 to the matching commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DSxF9AgGYcAcCTjXEeJT4L
Contributor
[Medium impact] No blocking defect was established in the reviewed changes. SummaryMoves build-cache selection from this repository into the pinned
Reviews (1) · Last reviewed commit: "refactor(release): let ci3 pick the buil..." · Reviewed by Greptile |
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.
Pins ci3 to aztec-labs-eng/ci3#40, where ci3 picks the build cache from the instance profile (
CI3_INSTANCE_PROFILE_NAME), since each profile can write only its own level's cache. That makes this repository's own bucket selection, added in #790, unnecessary:ci3-build-instance-profile(repository variable)aztec-ci-artifactsci3-release-build-instance-profile(releaseenvironment)aztec-ci-release-cacheci3-private-release-build-instance-profile(release-privateenvironment)aztec-ci-private-cacheRemoved:
RELEASE_CACHE_BUCKETinscripts/source_release_target. The comment on why a private release needs a cache of its own stays.source_cache_bucketinci-release.CI3_CACHE_BUCKETinprivate-release.yml.RELEASES.mdno longer says private releases upload nothing to the build cache. They build in the private cache.Not exercised by PR CI: the release paths, which need a tag. PR CI checks that ordinary builds still use the shared cache.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DSxF9AgGYcAcCTjXEeJT4L