ci: make TestFlight cache optional - #223
Merged
Merged
Conversation
0xSero
commented
Aug 4, 2026
0xSero
left a comment
Owner
Author
There was a problem hiding this comment.
Self-review complete: no blocking findings.
I traced both environment branches from the workflow source:
- with endpoint + access key + secret key, the workflow sets
RUSTC_WRAPPER=sccacheand runs setup/priming; - if any value is absent, it clears the remote-cache environment, skips setup/priming, and leaves Cargo without a forced wrapper.
The change does not log secret values, does not affect signing or App Store credentials, and is limited to the standalone TestFlight preparation job. YAML parsing, both executable configuration-path assertions, Actionlint (apart from the pre-existing SC2129 style finding), and git diff --check pass.
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.
Purpose
Keep the standalone TestFlight release runnable when the optional remote sccache credentials are not installed.
Root cause
Run 30951375473 passed the live App Store Connect preflight, then failed before compilation because
SCCACHE_R2_ENDPOINTand the R2 access secrets were empty while the workflow still forcedRUSTC_WRAPPER=sccacheand unconditionally started the remote cache.Changes
This matches the existing optional-cache behavior in the merged Mobile Release lane.
Verification
git diff --check