发布

  • fix(repo): resolve FreeBSD build disk space issue (#35030)

    frostbyte_neo 发布于 2026-03-26 22:50:59 +00:00

    Current Behavior

    The FreeBSD native build in the publish workflow runs out of disk space
    (No space left on device). The VM has an 11G disk and the Rust build
    fills it completely. The build was already on the edge — the Mar 25 run
    succeeded with only 11MB to spare, and the Mar 26 run failed after rustc
    1.94.1 slightly increased artifact sizes.

    A major contributor is OpenJDK17 and its ~30 X11/font dependencies
    (~500MB) being installed solely for the @nx/gradle plugin's project
    graph step, which is irrelevant to building native Rust bindings.

    Expected Behavior

    The FreeBSD build completes successfully with comfortable disk headroom
    by disabling the Gradle plugin via NX_GRADLE_DISABLE=true, which
    eliminates the need for Java and its heavy dependency tree.

    Related Issue(s)

    Fixes the FreeBSD build failure:
    https://github.com/nrwl/nx/actions/runs/23613960439/job/68776656960

    (cherry picked from commit 9747038c90)

    下载附件