Skip to content

flaky: mermaid prerender fails inside Dockerfile.shadow source-image build #222

Description

@Jesssullivan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions