Skip to content

build(rust): bump gpui-terminal to v0.2.2 - #638

Merged
paulyhedral merged 2 commits into
developfrom
637-gpui-terminal-0.2.2
Oct 8, 2026
Merged

paulyhedral merged 2 commits into
developfrom
637-gpui-terminal-0.2.2

Conversation

@paulyhedral

Copy link
Copy Markdown
Member

Closes pilgrimagesoftware/Knot-App#198.

Bumps the gpui-terminal git dependency from v0.2.1 to v0.2.2 (signed tag on master, d1a5f00).

What v0.2.2 changes for Knot: when an agent's terminal is torn down (TerminalSession::shutdown, window close, agent removal or restart), terminate()/Drop now SIGHUP the child's whole process group and the PTY's foreground group, then SIGKILL anything still there after 500ms. Before, only the shell's own PID got SIGHUP, so a descendant that ignores SIGHUP, or runs in another job's group, could outlive its terminal. Knot needs no code change for this.

Lockfile: only the gpui-terminal entry changes: version, source, and its new libc dependency, which is already locked at 0.2.190. cargo update -p gpui-terminal also re-picked windows-sys 0.61→0.60 for ten unrelated packages. I left that out, as #602 did. cargo metadata --locked and make pass, and there's still a single gpui-kit 0.7.0.

#635's shutdown skip, checked against the new terminate():

Checks: make passes locally (fmt-check, size-check, declared-check, clippy, test, build).

🤖 Generated with Claude Code

paulyhedral and others added 2 commits October 8, 2026 09:28
v0.2.2 ends a PTY child's whole process group on teardown: terminate()
and Drop SIGHUP the child's group and the terminal's foreground group,
then SIGKILL what is left after 500ms. An agent's descendants no longer
outlive its terminal.

The lockfile change is the gpui-terminal entry only (version, source,
and the libc dependency it now takes, already locked at 0.2.190):
`cargo update -p gpui-terminal` also re-picked windows-sys for unrelated
packages, which is left out, as in #602.

Closes #637

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@paulyhedral
paulyhedral enabled auto-merge October 8, 2026 16:34
@paulyhedral
paulyhedral disabled auto-merge October 8, 2026 16:50
@paulyhedral
paulyhedral merged commit afb633f into develop Oct 8, 2026
4 of 5 checks passed
@paulyhedral
paulyhedral deleted the 637-gpui-terminal-0.2.2 branch October 8, 2026 17:10
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.

Bump gpui-terminal to v0.2.2 (process-group teardown)

1 participant