Expand description
Task-level caching glue between the executor, cuenv_cas, and
cuenv_vcs.
This module is responsible for:
- Building the
cuenv_cas::Actionenvelope for a task: a deterministic summary of everything that affects the task’s outputs. - Querying the
cuenv_cas::ActionCachefor a previous result. - Materializing cached outputs back into the workspace on a hit.
- Persisting outputs and metadata after a successful execution on a miss.
Structs§
- Build
Action Input - Inputs to
build_action. - Record
Input - Inputs to
recordgrouped to keep call sites self-documenting. - Task
Cache Config - Bundle of caching infrastructure used by the task executor.
Functions§
- build_
action - Build the
Actionenvelope for a task and compute its digest. - effective_
policy - Returns the effective task cache policy.
- lookup
- Query the action cache for a previous result.
- materialize_
hit - Materialize a cache hit’s outputs into
workdir. - record
- Persist a successful execution to the cache.