• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / agterm / 43922923534
94%

Build:
DEFAULT BRANCH: master
Ran 16 Nov 2026 06:05PM UTC
Jobs 1
Files 357
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Nov 2026 05:52PM UTC coverage: 94.328% (+0.02%) from 94.305%
43922923534

push

github

web-flow
fix(server): hang up a closed pane's foreground job (#1025)

* fix(server): hang up a closed pane's foreground job

closing a session on agterm-server ran `zmx kill` and nothing else. That signals only the shell's own process group, while a creation command (`session new --command`) runs in a group of its own, so it kept running after its row was gone. The Mac close and the server's own `zmx.kill` already send that job SIGHUP; the close path now does the same. It reads each pane's foreground job from a fresh listing before the kill and hangs it up once the kill succeeds. A failed kill or an unreadable listing sends nothing. ServerActions reads the same process table through ServerPanes, so tests inject one fake for both.

* test(server): drop a killed daemon from the fake runner's listing

the fake `kill` kept the daemon listed after a successful kill, so a close that read the foreground job after the kill still found the shell and passed. A real `zmx kill --force` leaves no listed daemon, and that order would orphan the creation command again. The fake now removes the record as `killConfirmed` already does, and `closingASessionHangsUpItsForegroundJob` fails if the lookup moves after the kill.

19 of 19 new or added lines in 2 files covered. (100.0%)

31400 of 33288 relevant lines covered (94.33%)

2194879.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43922923534.1 16 Nov 2026 06:05PM UTC 357
94.33
GitHub Action Run
Source Files on build 43922923534
  • Tree
  • List 357
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43922923534
  • 6a8e025f on github
  • Prev Build on master (#43917102996)
  • Next Build on master (#43961388036)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc