From b0d9b9392f5aefdec83b696e4d3ccbbdd0e70587 Mon Sep 17 00:00:00 2001 From: arzafran Date: Tue, 11 Aug 2026 14:30:06 -0300 Subject: [PATCH 1/2] fix: pick up the ghostty TempDir descriptor-leak fix Bumps the ghostty pointer by exactly one commit, onto the fork's `fix(os): close the parent directory handle in TempDir`. `TempDir.init` opens two directory handles, one on the directory it creates and one on the system temp directory it creates it in. `deinit` only closed the first, and `Surface.writeScreenFile` guards its cleanup with `errdefer` rather than `defer` (on success the file has to outlive the call, since the path is handed to the pty), so its success path released neither. We call that path every five seconds from `SessionWALStore`'s frame capture, which turned an upstream wart nobody notices into a steady leak: measured live at roughly 600 descriptors held on the temp directory after two hours, growing about one per five seconds toward the process limit. Closes #274. --- ghostty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghostty b/ghostty index 08bac45e..6772a888 160000 --- a/ghostty +++ b/ghostty @@ -1 +1 @@ -Subproject commit 08bac45e9b4a179f652a13b5a29e392681205673 +Subproject commit 6772a88849dbbdae87f443330fa57b74a2d9007c From b2dff126766af74fc1178c30afc021cf83c452e4 Mon Sep 17 00:00:00 2001 From: arzafran Date: Tue, 11 Aug 2026 15:01:05 -0300 Subject: [PATCH 2/2] build: pin the GhosttyKit checksum for the new ghostty pointer download-prebuilt-ghosttykit.sh verifies the published xcframework against a checksum pinned per ghostty SHA. A pointer bump without a matching entry falls through to the source-build fallback, which then fails on the runner while linking zig's own build runner against libSystem. The release the Build GhosttyKit workflow published for this SHA exists and is correct; only the pin was missing. --- scripts/ghosttykit-checksums.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ghosttykit-checksums.txt b/scripts/ghosttykit-checksums.txt index 35142adf..6e7e18fd 100644 --- a/scripts/ghosttykit-checksums.txt +++ b/scripts/ghosttykit-checksums.txt @@ -19,3 +19,4 @@ b5ee83d9ba1a8f673a2db47855cb9856578ac851 733a19ce1c3956b2bc558df218d1969da833a18 b64213c5af084c63ccad8016e5daa11ef217d79b 26961aa67d4e36c36cf2c99375ca41d4067f8d300ca69e5fc47a603795aee0fb c25020f993597285a331a76dcd7c8a6345b7e360 7ada2bddb5a33026fa5ff255a3f5fb4cabd44a6172017b8184d42c533b166e3d 08bac45e9b4a179f652a13b5a29e392681205673 8794693b5b06fa6702a61be57442ced102b7ea8955fba97397c72ecb668d970d +6772a88849dbbdae87f443330fa57b74a2d9007c 11d3adff4eb0a1b0e907a2992725adb775414b5b1681607304c301ba1934c122