crates/turborepo-run-cache/README.md
Task-aware caching layer that wraps turborepo-cache with task-specific semantics. Handles log files, output modes, and task output tracking.
turborepo-run-cache
├── RunCache (per-run cache state)
│ └── TaskCache (per-task operations)
│ ├── Check cache for task hash
│ ├── Restore outputs on hit
│ ├── Handle log file replay
│ └── Save outputs on completion
└── turborepo-cache (underlying storage)
Key responsibilities:
This crate bridges the gap between raw cache storage (turborepo-cache) and the task execution system. It understands task outputs, logs, and how to properly restore cached state.