Skip to content

ci: drop obsolete ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL from sccache setup - #3024

Merged
juenglin merged 3 commits into
NVIDIA:mainfrom
juenglin:sccache-unification
Oct 9, 2026
Merged

juenglin merged 3 commits into
NVIDIA:mainfrom
juenglin:sccache-unification

Conversation

@juenglin

@juenglin juenglin commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

Remove the obsolete ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL variables from the sccache setup.

sccache's GitHub Actions cache backend (OpenDAL ghac) never reads ACTIONS_RUNTIME_URL. It reads ACTIONS_CACHE_URL only for the v1 cache service. With ACTIONS_CACHE_SERVICE_V2 set, as it is here, only ACTIONS_RESULTS_URL and ACTIONS_RUNTIME_TOKEN are used, which matches sccache's docs/GHA.md.

Changes

  • build-wheel.yml: stop exporting and forwarding ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL into the cibuildwheel container. The rapidsai/sccache install is unchanged. ACTIONS_CACHE_SERVICE_V2, ACTIONS_RESULTS_URL and ACTIONS_RUNTIME_TOKEN are still forwarded.
  • test-sdist-linux.yml: remove the github-script step that only re-exported the two obsolete variables, and pin mozilla-actions/sccache-action to sccache v0.18.0 (the base of the rapidsai fork) instead of tracking the latest release.

Checklist

  • New or existing tests cover these changes. (CI workflows only; exercised by this PR's CI run.)
  • The documentation is up to date with these changes.

Install mozilla/sccache v0.18.0 (checksum-verified) in build-wheel.yml
instead of the rapidsai fork, and pin the same version in
test-sdist-linux.yml. Remove ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL,
which sccache's GHA v2 cache backend does not read, and drop the
now-redundant github-script step in test-sdist-linux.yml.
@copy-pr-bot

copy-pr-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the CI/CD CI/CD infrastructure label Oct 5, 2026
…IONS_ vars

Install sccache with mozilla-actions/sccache-action (pinned to v0.18.0) in
build-wheel.yml and test-sdist-linux.yml instead of the rapidsai fork, and
remove the custom install and github-script steps. Drop ACTIONS_CACHE_URL
and ACTIONS_RUNTIME_URL, which the GHA v2 cache backend does not read.
@juenglin

juenglin commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 235faa3

@juenglin juenglin added the enhancement Any code-related improvements label Oct 5, 2026
@juenglin juenglin self-assigned this Oct 5, 2026
@juenglin juenglin added this to the cuda.core 1.3.0 milestone Oct 5, 2026
@leofang

leofang commented Oct 5, 2026

Copy link
Copy Markdown
Member

@juenglin let's not revert. We (CUDA C++/Python) stand behind RAPIDS and want to continue using the RAPIDS fork maintained by NVIDIANs (aka @trxcllnt). If there is any blocker, please let Paul know.

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
Doc Preview CI
Preview removed because the pull request was closed or merged.

@trxcllnt

trxcllnt commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

@juenglin Yeah, let me know if you have any issues. Mozilla's fork isn't sound for caching CUDA files, and ours has a number of other major improvements (like sharing the preprocessor cache). Also, it's about to get an order of magnitude faster than Mozilla's for caching all compilation types (and will be able to cache non-compilation steps, like linking, too).

@juenglin juenglin changed the title ci: switch to mozilla/sccache 0.18 and drop obsolete ACTIONS_ vars ci: drop obsolete ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL from sccache setup Oct 9, 2026
…vars

Restore the rapidsai/sccache install and the github-script step in
build-wheel.yml instead of using mozilla-actions/sccache-action. The
CUDA C++/Python teams want to stay on the RAPIDS fork.

Only ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL stay removed, from both the
github-script export and the CIBW_ENVIRONMENT_LINUX forwarding. sccache's
GHA v2 backend reads only ACTIONS_RESULTS_URL and ACTIONS_RUNTIME_TOKEN.
@juenglin

juenglin commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 158541f

@juenglin
juenglin requested a review from leofang October 9, 2026 17:29
@juenglin
juenglin marked this pull request as ready for review October 9, 2026 17:29
@juenglin
juenglin enabled auto-merge (squash) October 9, 2026 17:29
@juenglin
juenglin requested a review from jpascucci-nv October 9, 2026 17:32
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/cuda-python/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 93bfdbeb-6640-4334-bec9-cb637a2b5b71

📥 Commits

Reviewing files that changed from the base of the PR and between 608a37d and 158541f.


📒 Files selected for processing (2)
  • .github/workflows/build-wheel.yml
  • .github/workflows/test-sdist-linux.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.



📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated wheel and Linux source-distribution build workflows to use revised GitHub Actions caching settings.
    • Updated the source-distribution workflow to use sccache v0.18.0.

Walkthrough

The wheel workflow no longer exports or passes ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL in the listed environments. The source distribution workflow removes its export step and pins sccache to v0.18.0.

Changes

Workflow cache configuration

Layer / File(s) Summary
Cache environment configuration
.github/workflows/build-wheel.yml, .github/workflows/test-sdist-linux.yml
The wheel workflow retains ACTIONS_RUNTIME_TOKEN, ACTIONS_RESULTS_URL, and ACTIONS_CACHE_SERVICE_V2 while omitting ACTIONS_CACHE_URL and ACTIONS_RUNTIME_URL from the listed cibuildwheel environments. The source distribution workflow removes the step that exported the latter two variables and pins sccache to v0.18.0.

Priority: ⬇️ Low

Change: Other

Merge Risk: ⚪ Minimal · up to 15854

No actionable merge-blocking risk was identified in these workflow changes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@juenglin
juenglin merged commit c44e926 into NVIDIA:main Oct 9, 2026
226 of 228 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 10, 2026
Removed preview folders for the following PRs:
- PR #3024
- PR #3059
- PR #3062
- PR #3063
- PR #3065
- PR #3066
- PR #3067
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure enhancement Any code-related improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants