Build source image (shadow-preview.yml → Dockerfile.shadow) intermittently fails: Mermaid prerender failed for 38 block(s) with 0 rendered/0 cached, despite ENV CI=true (so --no-sandbox is active in render-mermaid.mts:43-46). Passed 2×, failed 2× on 2026-07-07 (fail runs 28850751774, 28847693866; the gitignored .mermaid-cache is never in the docker context, so every image build renders all 38 cold). Non-required check — but red noise erodes green-means-green. Candidate fixes: bake a mermaid cache stage into the image build (copy from a cache-builder stage or CI artifact), bump chromium shm/resources in buildx, or add per-block retry in render-mermaid.mts. Needs a proper autopsy of the per-block error.
Build source image(shadow-preview.yml → Dockerfile.shadow) intermittently fails:Mermaid prerender failed for 38 block(s)with 0 rendered/0 cached, despiteENV CI=true(so--no-sandboxis active in render-mermaid.mts:43-46). Passed 2×, failed 2× on 2026-07-07 (fail runs 28850751774, 28847693866; the gitignored.mermaid-cacheis never in the docker context, so every image build renders all 38 cold). Non-required check — but red noise erodes green-means-green. Candidate fixes: bake a mermaid cache stage into the image build (copy from a cache-builder stage or CI artifact), bump chromium shm/resources in buildx, or add per-block retry in render-mermaid.mts. Needs a proper autopsy of the per-block error.