Skip to content

fix(qa): give the Linux runner fontconfig - #41

Merged
pathscale merged 1 commit into
masterfrom
fix/headless-host-fontconfig
Sep 9, 2026
Merged

fix(qa): give the Linux runner fontconfig#41
pathscale merged 1 commit into
masterfrom
fix/headless-host-fontconfig

Conversation

@pathscale

Copy link
Copy Markdown
Owner

With Tauri out of the graph the headless build gets past glib and stops at:

The system library `fontconfig` required by crate `yeslogic-fontconfig-sys` was not found.

system-fonts stays. The note in apps/chuzz/Cargo.toml says why: without it parley finds no face, every line shapes to zero height, and a capture comes out blank while every assertion about the tree still passes. A silently empty screenshot beats no build only if you never look at it.

So the runner gets libfontconfig1-dev, Linux only.

I checked the rest of the graph in one pass rather than one failure at a time. cargo tree --target x86_64-unknown-linux-gnu on the headless feature set gives aws-lc-sys and zstd-sys (vendor their C), wayland-sys (dlopen), renderdoc-sys (header-only), dirs-sys and linux-raw-sys (pure Rust). Fontconfig is the only one that needs a package.

Also confirmed the GPU renderer cannot be dropped: --features capture,javascript,scrollbars fails with At least one renderer feature must be enabled, so the existing comment about needing vello is still accurate.

No version bump — this file is consumed at @master and ships nothing.

With Tauri out of the headless graph the build gets past glib and stops at

    The system library `fontconfig` required by crate
    `yeslogic-fontconfig-sys` was not found.

`blitz-dom`'s `system-fonts` is deliberate and stays. The note in
apps/chuzz/Cargo.toml says why: without it parley finds no face, every line
shapes to zero height, and a capture comes out blank while every assertion
about the tree still passes. A silently empty screenshot is worse than a build
that fails, so the runner gets the library rather than the browser losing its
fonts.

Only fontconfig, and only on Linux. The window stack is gone, and of what is
left, `aws-lc-sys` and `zstd-sys` vendor their C, `wayland-sys` dlopens,
`renderdoc-sys` is header-only, and `dirs-sys` and `linux-raw-sys` are Rust.
That list is from `cargo tree --target x86_64-unknown-linux-gnu` on the
headless feature set, so it is what the runner actually resolves rather than
what a macOS build happens to need.

No version bump: this file is consumed at `@master` by every site's workflow
and ships nothing.
@pathscale
pathscale merged commit f29cc6e into master Sep 9, 2026
4 checks passed
@pathscale
pathscale deleted the fix/headless-host-fontconfig branch September 9, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant