Skip to content

ci: pass the R2 cache URL to reusable macOS and iOS workflows - #13684

Merged
teamleaderleo merged 1 commit into
mainfrom
ci/r2-cache-url-reusable
Sep 22, 2026
Merged

teamleaderleo merged 1 commit into
mainfrom
ci/r2-cache-url-reusable

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

#13405 (09-21 23:30 UTC) moved the macOS jobs into ci-macos.yml as a called workflow. A called workflow doesn't inherit the caller's workflow-level env, so CI_CACHE_R2_PUBLIC_URL, which is set only in ci.yml and nightly.yml, stopped reaching scripts/ci/r2-cache.sh.

Since then, macOS compile admission logs r2-cache: CI_CACHE_R2_PUBLIC_URL is not set; treating as a miss for both the Swift package cache and the compilation cache. Every PR compile has been cold, even though nightly keeps seeding R2. test-ios.yml has the same gap.

This declares the variable at workflow level in both files, reading the same vars.CI_CACHE_R2_PUBLIC_URL.

Found while working on #13668, which fixes the same gap for cli-pipe-regressions.yml. Part of #13095 and #13182.

Tests: the guard, persistent-Mac, cache-receipt, shard, product-reuse and iOS dispatch tests that reference these files pass. test_check_ghostty_zig_workflows.py and test_ci_change_areas.py fail the same way on clean main.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Fixes the R2 cache miss in reusable macOS and iOS workflows so PR compiles hit the cache instead of running cold.

  • A called workflow doesn't inherit the caller's workflow-level env, so CI_CACHE_R2_PUBLIC_URL stopped reaching scripts/ci/r2-cache.sh after the macOS jobs were moved into ci-macos.yml; test-ios.yml has the same gap.
  • Declares CI_CACHE_R2_PUBLIC_URL at workflow level in both files, reading vars.CI_CACHE_R2_PUBLIC_URL.

Written for commit 6639c36. Summary will update on new commits.

Review in cubic

#13405 moved the macOS jobs into ci-macos.yml as a called workflow. A called
workflow does not inherit the caller's workflow-level env, so
CI_CACHE_R2_PUBLIC_URL stopped reaching scripts/ci/r2-cache.sh and every R2
restore in compile admission logs 'CI_CACHE_R2_PUBLIC_URL is not set; treating
as a miss'. test-ios.yml has the same gap. Declare it in both.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: manaflow-ai/cmux/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 9a38f8a6-1c35-44df-a4ca-33630c88c360

📥 Commits

Reviewing files that changed from the base of the PR and between 6b2ba6d and 6639c36.

📒 Files selected for processing (2)
  • .github/workflows/ci-macos.yml
  • .github/workflows/test-ios.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@teamleaderleo
teamleaderleo merged commit 96f0c1f into main Sep 22, 2026
46 of 47 checks passed
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