Repository navigation
ci: enable setup-soldr S3 remote build cache - #3061
Merged
Merged
Conversation
Bump all 12 zackees/setup-soldr pins (11 in build-project.yaml, 1 in release-rust.yaml) to 9337570 (S3 remote cache) and point them at the forge-ci bucket on DigitalOcean Spaces nyc3 with a 50G high watermark. Credentials come from the SOLDR_S3_CACHE_* repository secrets; every caller of build-project.yaml already uses `secrets: inherit`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
zackees
commented
Oct 30, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review. The plumbing is right: all 12 pins moved, the secrets reach the called workflow through secrets: inherit, the feature switches off without credentials (fork PRs), and only the merge_group run evicts. Both secrets exist on the repo (set 2026-10-30 08:35).
One security point, and I'm holding the queue for it:
- The release lane reads a cache that PR runs write to.
release-rust.yamlnow restores from the sameforge-cibucket that same-repo PR runs write to with the same credentials. Per-PR keys keep PRs from overwriting each other, but the credentials have write access to the whole bucket, so any branch whose workflow runs with secrets could plant objects that a release build later restores. For artifacts we sign and ship, I'd keep the remote cache out ofrelease-rust.yaml(or make it read-only there, restoring only keys written bymerge_group/master), and keep it for the CI lanes, where a poisoned object costs a red run, not a shipped binary.
Two smaller points:
- Pin a tagged setup-soldr release rather than a merge commit labelled
# s3 remote cache, once one exists, so the pin is traceable like the old# v0.9.88. - No
ci/test pins the new inputs, so a later edit could drop themerge_group-only eviction or the secrets without anything failing. A small test that every setup-soldr step carries the same four S3 inputs and theenv:pair (and thatrelease-rust.yamlhas none, if you take the first point) would hold it.
If you'd rather accept the release-lane risk, say so here and I'll queue it as is. CI is green apart from one running check.
This was referenced Oct 31, 2026
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 31, 2026
…sion) (obs-rust#3116) * test(ci): fail while the S3 cache secrets are missing from [allow].secrets (obs-rust#3115) * infra(ci): allowlist the S3 build-cache secrets (obs-rust#3115)
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.
What changed
zackees/setup-soldrpins move from71e6b56(v0.9.88) to9337570(the S3 remote cache merge;v0points at it). That is 11 in.github/workflows/build-project.yamland 1 in.github/workflows/release-rust.yaml.with:inputs:s3-bucket: forge-ci,s3-endpoint: nyc3.digitaloceanspaces.com,s3-region: nyc3,s3-cache-limit: 50G.env:withSOLDR_S3_CACHE_ACCESS_KEY/SOLDR_S3_CACHE_SECRET_KEYfrom repository secrets. None of these steps had anenv:before.Secret plumbing (checked)
build-project.yamlis aworkflow_callworkflow and declares nosecrets:block. All four of its callers passsecrets: inherit:ci.yml,push.yaml,scheduled.yamlandrelease-rust.yaml. So the called jobs can see the secrets and no plumbing change was needed.release-rust.yaml's own soldr step reads the secrets directly. Fork PRs get no secrets, so they run without the remote cache, which is the intended behavior.Cache policy
merge_grouprun, which is the merge-queue singleton. PR runs only read and write their own keys and never evict.Rollout status
soldr (
0e6caac), setup-soldr (9337570) and clud have already shipped. This PR is the last consumer.Validation
grep -rn "setup-soldr@" .github | grep -v 9337570: no output.actionlint(actionlint-py 1.7.12) on both files: same findings asmaster(pre-existingubuntu-26.04label warnings); the only difference is shifted line numbers.ci/test_*.pyworkflow tests that read these files give identical pass/fail sets before and after. This was in a sparse checkout, so some tests fail on missing files in both runs.🤖 Generated with Claude Code