Skip to main content

Module cache

Module cache 

Source
Expand description

Host-side cache decision.

Resolves a wire-typed CommandStep against Docker image tags to decide whether to skip execution (cache hit) or run + commit.

Cache keys are computed by harmont.keygen at plan time and ride along the JSON in cache.key.

Functions§

evict_stale_docker_tags
Remove Docker images for step_key that don’t match current_tag.
stable_cache_tag
Derive a deterministic Docker image tag for a cacheable step.