Heimdall/deployment
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens ab18e8428d Give the build runner a writable cache
The Docker runner starts the container with --read-only; only /workspace
and a noexec /tmp are writable. Without a cache_root there is nowhere for
npm to cache, and the partial writes surface as "tarball data ... seems to
be corrupted" across most packages, then exit 254. Isolating it proved the
network was fine: the same image on the same network installs
playwright-core cleanly outside the runner sandbox.

I caused this by omitting cache_root when writing the binding, reasoning
that fewer paths meant less to debug. It meant more.

Build and test steps now declare NPM_CONFIG_CACHE and HOME; the binding
supplies both pointing at /cache, where Idunn bind-mounts the cache root
read-write when the build-cache affordance is present. Lowercase env names
are rejected by the recipe validator, which is why these are uppercase.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 16:30:21 +02:00
..
idunn Give the build runner a writable cache 2026-09-06 16:30:21 +02:00