Uh oh!
There was an error while loading. Please reload this page.
feat: add caller cache support to reusable build and test workflows - #628
Draft
vyasr wants to merge 4 commits into
Draft
feat: add caller cache support to reusable build and test workflows#628vyasr wants to merge 4 commits into
vyasr wants to merge 4 commits into
Conversation
vyasr
marked this pull request as draft
September 6, 2026 23:59
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 freeto 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.
Summary
Adds an opt-in, caller-configured cache interface to the reusable Conda and wheel build/test workflows. It replaces workflow-specific cache inputs with a common mechanism that supports multiple workspace-relative paths.
Callers provide:
cache-paths: newline-separated files or directories foractions/cache;cache-key-prefix: cache namespace;cache-key-files(optional): source or dependency globs hashed into the exact key, with a matrix-compatible restore prefix;cache-environment(optional): newline-separatedNAME=VALUEvariables for tools that must use a workspace-mounted cache directory.Every cache key is scoped to the compatible workflow matrix. Test keys include GPU, driver, and dependency variants; build keys use the build matrix dimensions.
This supersedes #629's Numba-specific cache input, which has been closed. Numba can use this generic interface with
.cache/numba, Python/dependency key files, andNUMBA_CACHE_DIR.Validation