Skip to content

Initial support for partial local CAS

This adds initial support for partial local CAS by expanding the check whether an artifact is cached to also check the presence of artifact contents instead of only checking the artifact ref. If the artifact is incomplete, a pull job will be triggered to complete it.

This branch doesn't skip download of artifact files yet, however, support for that is planned for a follow-up. I.e., with this branch it should still not be possible for artifacts to be incomplete in the local cache. However, I've added a test that manually removes a file blob of an artifact to cover this in CI.

Part of #832 (closed).

Merge request reports

Loading