mirror-ghostty/nix
Nikolay Bryskin 9910a1a475
test: add audio-bell thread-leak NixOS check (GNOME/Wayland)
Adds a bell-leak-check-gnome NixOS test (nix/tests.nix) that launches
Ghostty under GNOME on Wayland, rings 100 bells in the window, and fails
if the GUI process thread count grows per-bell — the end-to-end
signature of the GStreamer pipeline leak fixed in this branch. Verified
locally: growth of ~1 thread over 100 bells, vs ~+400 pre-fix.

Replaces the earlier Xvfb shell script + workflow job: per review, X11
support in GNOME is going away, and this belongs as a Nix check
alongside the other *-gnome tests rather than a standalone script.

The VM has no GPU, so it renders via llvmpipe; the test gives the guest
enough cores/RAM for software GL and tolerates the +new-window D-Bus
activation exceeding its client-side timeout (the window still comes up)
by waiting for the window rather than hard-failing on the call.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 01:06:21 +03:00
..
build-support update zon2nix to 0.5.0 2026-04-27 12:42:04 -05:00
pkgs address comments 2026-03-02 17:25:04 -06:00
test-src libghostty-vt: nix package updates and more nix tests 2026-04-06 22:41:57 -05:00
vm nix: update nixpkgs, remove zig.hook, and remove x11-gnome 2026-01-11 20:17:12 -05:00
devShell.nix update zon2nix to 0.5.0 2026-04-27 12:42:04 -05:00
libghostty-vt.nix libghostty-vt: fix linker tests for darwin 2026-05-01 16:44:52 +02:00
package.nix libghostty-vt: nix package updates and more nix tests 2026-04-06 22:41:57 -05:00
tests.nix test: add audio-bell thread-leak NixOS check (GNOME/Wayland) 2026-05-26 01:06:21 +03:00
zigCacheHash.nix cli: add +boo command 2025-02-14 14:46:18 -08:00