Skip to content

feat: add caller cache setup action - #143

Merged
rapids-bot[bot] merged 2 commits into
mainfrom
codex/caller-cache-setup
Sep 10, 2026
Merged

rapids-bot[bot] merged 2 commits into
mainfrom
codex/caller-cache-setup

Conversation

@vyasr

@vyasr vyasr commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a composite action that validates, keys, restores, and saves caller-managed caches
  • export optional cache environment entries for subsequent job steps
  • centralize cache setup currently shared by Conda and wheel build/test workflows

Validation

  • Parsed the action and dependent workflow YAML with yq.
  • Ran git diff --check in both repositories.

Dependent on by rapidsai/shared-workflows#633.

@vyasr

vyasr commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit ce98206 into main Sep 10, 2026
3 checks passed
@vyasr
vyasr deleted the codex/caller-cache-setup branch September 10, 2026 16:39
rapids-bot Bot pushed a commit to rapidsai/shared-workflows that referenced this pull request Sep 10, 2026
## Summary

Extend caller-managed caches with three opt-in controls:

- Hash newline-separated source patterns (`cache-key-files`).
- Restore without saving (`cache-read-only`), for short-lived refs that consume a trusted cache.
- Select the matrix fields in the cache identity (`cache-key-matrix-fields`), while preserving each workflow’s existing identity by default.

The validation, key construction, restore/save, and environment export now live in the reusable [setup-caller-cache action](rapidsai/shared-actions#143), rather than being duplicated across the six Conda and wheel build/test workflows.

All existing callers keep their current restore-and-save behavior and cache-key shape unless they opt in.

## Dependency

- rapidsai/shared-actions#143

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #633
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.

2 participants