A cache entry is too large
warning: @acme/web#build: the cache entry 3f9c0a1e… unpacks to more than the cache's maxSizehint: Axle stopped unpacking it and ran the task. If the task's outputs really are that large, raise maxSize under [cache] in axle.toml; otherwise check who can write to the remote cache.Why it happens
Section titled “Why it happens”Entries are compressed, and Axle counts the bytes as it unpacks one. An entry that grows past the local cache’s maxSize (10 GB unless maxSize or AXLE_CACHE_MAX_SIZE says otherwise) is stopped there: Axle deletes the file it was writing, keeps nothing of the entry and runs the task, as for any other miss.
A real result rarely comes near the whole cache’s size. Such an entry is more likely a small file built to unpack to a huge one, put in the remote cache to fill the disk or the memory of every machine that reads it.
How to fix it
Section titled “How to fix it”- If the task’s outputs really are that large, raise
maxSizeunder[cache]inaxle.toml, or setAXLE_CACHE_MAX_SIZE. - Otherwise, find out who can write to the remote cache, and keep builds you don’t trust to reading, as the remote cache page describes. With
signature = true, only someone with the signing key can add entries at all.