• 6.5.0 c144528481

    crafter-build 6.5.0
    All checks were successful
    Flatpak / flatpak (push) Successful in 14m55s
    Stable

    jorijnvdgraaf released this 2026-11-28 13:29:51 +00:00 | 0 commits to master since this release

    Signed by jorijnvdgraaf
    GPG key ID: 2937E59CDCC1BCFB

    New

    • A test that sets Test::wayland, or .Wayland() on what AddTest returns, runs with a headless Wayland compositor of its own instead of your session's display, so the windows it opens through WAYLAND_DISPLAY no longer show up on your desktop. The compositor is started for that test alone and stopped when it ends; the test finds it through WAYLAND_DISPLAY, the full path of its socket, and runs without DISPLAY. It is weston on its headless backend with its GL renderer, unless CRAFTER_BUILD_COMPOSITOR or the new --compositor= names another command, and host gives such tests your own display, to watch what they draw. A test whose compositor cannot be started fails, saying why, unless it declares .Requires("tool:weston"), which skips it where weston is missing, and when a test that ran fails, crashes or times out, what its compositor printed, if anything, goes to build/test-logs/<name>.compositor.log, named as the test's own log is. The README's new "Tests that open windows" section has the details.
    • The Flatpak ships weston 16.0.2, with its headless backend, its GL renderer and its desktop shell: the compositor those tests get.

    Fixes

    • Two runs of crafter-build test at once no longer write into each other's temporary files. Each test now runs with TMPDIR naming a directory of its own, made for the run, so fs::temp_directory_path() in a test is the test's alone. Tests that staged files under fixed names there collided with another run doing the same: natively every process shares /tmp, and in the Flatpak every instance of the app shares one. What a test leaves there is removed when it passes or skips, and kept when it fails, crashes or times out, with its place in the test's log, until a later run removes it, a minute after the run that kept it ended, or after its last change to it where that run was killed. This takes a runner that passes the test TMPDIR, as running it directly and qemu-user do; under wine, which does not pass it on, and wasmtime, which passes on no environment at all, a test's temporary directory is what it was. A test that builds against a sysroot it stages there, or has crafter-build fetch a repository it stages there, keys crafter-build's cache on a path that is now a new one every run: point XDG_CACHE_HOME into its temporary directory as well.
    Downloads