Expand description
Task result caching with content-addressed storage
Structs§
- Cache
Entry - A resolved cache entry
- Cache
KeyEnvelope - Cache key envelope for computing deterministic cache keys
- Output
Index Entry - Entry in the output file index
- Save
Result Data - All data needed to save a task result to the cache.
- Task
Latest Index - Index mapping task names to their latest cache keys (per project)
- Task
Logs - Task execution logs
- Task
Result Meta - Metadata about a cached task result
Functions§
- compute_
cache_ key - Compute a deterministic cache key from the envelope
- get_
project_ cache_ keys - Retrieve all latest cache keys for a given project
- key_
to_ path - Convert a cache key to its storage path
- lookup
- Look up a cache entry by key
- lookup_
latest - Look up the latest cache key for a task in a project
- materialize_
outputs - Materialize cached outputs to a destination directory
- record_
latest - Record the latest cache key for a task in a project
- save_
result - Save a task result to the cache
- snapshot_
workspace_ tar_ zst - Create a compressed tar archive of a workspace directory