Module cache

Module cache 

Source
Expand description

CI Cache Operations

Handles cache lookups and storage for CI task execution based on content-addressable digests and cache policies.

This module provides:

  • LocalCacheBackend: File-based cache for local development
  • Legacy helper functions for backward compatibility

Structs§

CacheMetadata
Metadata stored with cached task results
CacheResult
Result of a cache lookup
LocalCacheBackend
Local file-based cache backend
TaskLogs
Task execution logs

Enums§

CacheError
Error types for cache operations (legacy, for backward compatibility)

Functions§

check_cache
Check cache before execution based on policy
load_logs
Load cached logs
load_metadata
Load cached task metadata
store_result
Store result after successful execution