Struo
← Changelog

Extract generated and nested archives in the build graph

Starlark target kinds can use extract_archive to expand a ZIP, TAR, or TAR.GZ file produced by another action. Nested packages can fetch an outer archive, extract it, and expand an inner archive as separate cacheable steps.

The archive's bytes determine cache reuse. Extraction shares the downloader's bounded archive, metadata, entry-count, expansion, and staging policies. Invalid archives leave existing outputs intact; overlapping paths and source symlinks are rejected.