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

umputun / agterm / 43198104665
94%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2026 10:21AM UTC
Jobs 1
Files 319
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

12 Nov 2026 10:11AM UTC coverage: 93.216% (-0.1%) from 93.333%
43198104665

push

github

web-flow
fix(live): start a new session host for each helper build and login session (#972)

* fix(live): start a new session host for each helper build and login session

One `agterm-session-host` served every Live pane in a state directory and was
reused for as long as it ran. After an update, new panes were still created
by the old helper image the installed app no longer contains, and #971
reports Local Network access failing in them. After a forced logout, the
host kept the dead login session and new panes reported `No user exists for
uid 501`.

A changed helper build or a new login now gets its own host, so new panes
always start in the current one. An earlier host keeps the panes it already
started, because macOS cannot move a running process to another responsible
process and those panes keep their permission attribution that way. Reset
Live Sessions moves them to the current host when the user chooses, and each
launch asks earlier hosts with nothing left to root to stop.

Fixed #971

* fix(live): retire a session host whose bundle an update moved aside

Retiring an earlier host went through the same handshake that creates
panes, which reads the host's executable path and requires it inside the
running app's bundle. When an update moves the old bundle aside, that path
names the moved copy, the check fails, and the idle host was never asked to
stop. A replacement at the same path kept the original path and was not
affected.

The stop request now has its own connection that checks the host's socket
credentials, pid, hello and self-responsibility, but not its executable.
It can carry nothing but stop, and a host still refuses while it roots a
live pane. Pane creation keeps the full check. A failed retirement is now
logged at error level.

The current endpoint key and retirement use the same helper path as panes,
so a Debug `AGTERM_SESSION_HOST_PATH` override no longer marks every pane as
being on an earlier host. `LiveReset.select` and `narrow` take one p... (continued)

116 of 179 new or added lines in 12 files covered. (64.8%)

2 existing lines in 1 file now uncovered.

26820 of 28772 relevant lines covered (93.22%)

2538948.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
30
0.0
agtermCore/Sources/SessionHostRuntime/HostRetirement.swift
23
0.0
0.0% agtermCore/Sources/SessionHostRuntime/ClientConnector.swift
6
33.96
25.14% agtermCore/Sources/SessionHostRuntime/HostIdentity.swift
2
60.12
0.35% agtermCore/Sources/SessionHostRuntime/Host.swift
2
40.0
40.0% agtermCore/Sources/agterm-session-host/main.swift

Coverage Regressions

Lines Coverage ∆ File
2
82.91
-1.71% agtermCore/Sources/agtermCore/PresentationStream.swift
Jobs
ID Job ID Ran Files Coverage
1 43198104665.1 12 Nov 2026 10:21AM UTC 319
93.22
GitHub Action Run
Source Files on build 43198104665
  • Tree
  • List 319
  • Changed 14
  • Source Changed 11
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43198104665
  • a1f95a1e on github
  • Prev Build on master (#43147612978)
  • Next Build on master (#43275694729)
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