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

umputun / agterm / 44530108098
94%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 01:19PM UTC
Jobs 1
Files 379
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

19 Nov 2026 01:05PM UTC coverage: 94.44% (+0.04%) from 94.405%
44530108098

push

github

web-flow
fix(restart): publish a respawn the reply timed out on (#1057)

a `session restart` whose new shell was not confirmed within the reply's 10 s wait never published the respawn, so an attached Mac showed the pane ended and never reattached it. This fixes it on both origins, the Mac and agterm-server.

- the new shell is confirmed per daemon from the kernel instead of `zmx list`, which probes every daemon in turn and can use up the caller's deadline. On the Mac this is the daemon socket's peer pid, on agterm-server a `/proc` scan for the daemon started with the configured zmx path, its `ZMX_DIR` and a start time after the launch. Reading the old shell before the kill still uses `zmx list`
- past the 10 s reply, a follow keeps looking for up to 60 s from the launch and publishes the respawn once the shell shows up, so the viewer reattaches as it does for a restart confirmed in time. The reply still says the replacement could not be verified
- restart holds are counted per pane, so a refused second restart releases only its own hold
- a follow stops without publishing on a later restart's confirmed kill, the pane closing past undo, a parent respawn, or on agterm-server the pane's exit record. A session parked in Undo Close keeps its follow
- the Mac's origin catalog keeps a confirmed pane listed running through an inventory read that began before the confirmation or could not read its daemon

the viewer-side fallback from the issue is not included. A viewer cannot tell a replica that closed after "ended" from one the user closed on purpose, which #999 keeps closed, and with the origin publishing, an open replica recovers through the respawn path.

Fixed #1055

124 of 128 new or added lines in 7 files covered. (96.88%)

1 existing line in 1 file now uncovered.

33106 of 35055 relevant lines covered (94.44%)

2207151.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
75.9
8.6% agtermCore/Sources/AgtermServerKit/ProcTable.swift
1
94.05
2.75% agtermCore/Sources/AgtermServerKit/ServerActions+Restart.swift

Coverage Regressions

Lines Coverage ∆ File
1
97.98
-1.01% agtermCore/Sources/agtermCore/ImageHeader.swift
Jobs
ID Job ID Ran Files Coverage
1 44530108098.1 19 Nov 2026 01:19PM UTC 379
94.44
GitHub Action Run
Source Files on build 44530108098
  • Tree
  • List 379
  • Changed 13
  • Source Changed 7
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44530108098
  • b374388f on github
  • Prev Build on master (#44427325666)
  • Next Build on master (#44577526131)
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