Skip to content

refactor(release): let ci3 pick the build cache from the instance profile - #793

Merged
charlielye merged 1 commit into
mainfrom
cl/cache-bucket-by-group
Nov 27, 2026
Merged

charlielye merged 1 commit into
mainfrom
cl/cache-bucket-by-group

Conversation

@charlielye

Copy link
Copy Markdown
Collaborator

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:

Build Instance profile (set by) Cache
CI, network jobs ci3-build-instance-profile (repository variable) aztec-ci-artifacts
Public release ci3-release-build-instance-profile (release environment) aztec-ci-release-cache
Private release ci3-private-release-build-instance-profile (release-private environment) aztec-ci-private-cache

Removed:

  • RELEASE_CACHE_BUCKET in scripts/source_release_target. The comment on why a private release needs a cache of its own stays.
  • source_cache_bucket in ci-release.
  • CI3_CACHE_BUCKET in private-release.yml.

RELEASES.md no 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

…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
@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · No blocking defect was established in the reviewed changes.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No blocking defect was established in the reviewed changes.

Summary

Moves build-cache selection from this repository into the pinned ci3 revision.

  • Release builds choose their cache from the instance profile.

Reviews (1) · Last reviewed commit: "refactor(release): let ci3 pick the buil..." · Reviewed by Greptile

@charlielye
charlielye merged commit 7f917be into main Nov 27, 2026
7 checks passed
@charlielye
charlielye deleted the cl/cache-bucket-by-group branch November 27, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant