Skip to content

Bump ghostty to v1.4.0 - #883

Merged
umputun merged 2 commits into
masterfrom
ghostty-1-4-0
Nov 4, 2026
Merged

umputun merged 2 commits into
masterfrom
ghostty-1-4-0

Conversation

@umputun

@umputun umputun commented Nov 4, 2026

Copy link
Copy Markdown
Owner

bumps GHOSTTY_REV to ghostty v1.4.0 (83fb956), which adds upstream's fixed-memory trims and the idle display-link pause.

v1.4.0 needs zig 0.17, so scripts/setup.sh now builds libghostty with [email protected] and keeps zmx on [email protected]. The zmx stamp and CI zmx cache keys don't change, and each keg is installed only by the build that needs it. zig_for also stops on a failed install and refuses a keg whose version isn't the formula's minor line, since [email protected] is an alias of the rolling zig formula.

the teardown drain backport stays because ghostty PR 14444 is still open. It is rebased onto v1.4.0: upstream dropped the redraw_surface message and now deinits the renderer before its thread, so drain.finish() moves after both. The renderer's frameCompleted still blocks on the app mailbox, which is the case the patch covers.

docs follow the new pin and compilers, the bump backlog item is removed, and the program-status item now notes that v1.4.0 still has no program-status action.

v1.4.0 needs zig 0.17, so setup.sh splits the compiler: libghostty builds
with [email protected], zmx and its patched ghostty dependency stay on [email protected]. The
zmx stamp and CI zmx caches stay valid, and each keg is installed only by the
build that needs it.

The teardown drain backport stays because ghostty PR 14444 is still open. It
is rebased onto v1.4.0: upstream removed the redraw_surface message, and
Surface.deinit now frees the renderer before its thread, so drain.finish()
moves after both. The renderer's frameCompleted still blocks on the app
mailbox, which is the case the drain covers.
zig_for runs inside $(...), where bash drops set -e, so a failed brew install
returned 0 with a path that does not exist and setup failed later on an
unrelated error. The [email protected] formula is also an alias of the rolling zig
formula, so a keg never upgraded past 0.16 passed the existence check and
v1.4.0 failed in ghostty's minimum-version check. Installation, post-install
prefix resolution and version queries now stop on failure. A mismatched minor
version prints a brew upgrade hint and stops setup.
Copilot AI balanced review requested due to automatic review settings November 4, 2026 03:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@umputun
umputun merged commit 6511255 into master Nov 4, 2026
9 checks passed
@umputun
umputun deleted the ghostty-1-4-0 branch November 4, 2026 03:20
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.

2 participants