38edd5269c
Build and Deploy Verso / deploy (push) Successful in 11m5s
Build #78 failed in the compile step while Yarn Classic prepared the @replit/codemirror-* git deps: fetching esbuild's per-platform binaries returned truncated tarballs ("the file appears to be corrupt" / missing .yarn-tarball.tgz). The tmpfs classic cache is fresh each build, so there is no stale entry to blame and nothing to fall back to — it is a transient download failure (builds #75-77 passed with an identical Dockerfile). Wrap both the install and compile steps in a 3-attempt retry loop that wipes the Yarn Classic cache (/usr/local/share/.cache/yarn) and re-fetches before giving up, dumping pack.log on final failure. The persistent Berry cache and YARN_NETWORK_CONCURRENCY=1 are unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>