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

umputun / agterm / 43481387765
94%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2026 06:28PM UTC
Jobs 1
Files 324
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

13 Nov 2026 06:18PM UTC coverage: 93.8% (+0.08%) from 93.724%
43481387765

push

github

web-flow
fix(live): start the session host as a launchd job on macOS 27 and later (#987)

* fix(live): start the session host as a launchd job on macOS 27 and later

Live sessions closed when macOS force-quit a GUI program started from a pane.
After agterm quit and the same build relaunched, a program switched off in
Allow in the Background became the app of the coalition the session host and
its daemons were still in, and loginwindow's force-quit about 30 seconds later
took the daemons with it.

On macOS 27 and later the client starts agterm-session-host as a one-shot job
in the user's GUI launchd domain, which gives the host and its daemons a
coalition of their own; responsibility disclaim alone does not change it. Such
a host ends with the GUI login session, as a reboot already ends every Live
session. A definite bootstrap failure falls back to the disclaimed spawn, and
a timed-out one never starts a second host. Older macOS keeps the spawn
unchanged.

Fixed #985

* fix(live): remove a job host's launchd job however serving ends

A session host started as a launchd job removed its job only after an
accepted stop. One that found the endpoint already served by another host,
or whose startup or serve loop threw, left its one-shot job loaded in the
GUI domain until logout. It now tries to boot out its own label after
serving ends, including on error, and logs a failed bootout. A host whose
key or label is not its own still exits without touching any job.

Troubleshooting no longer suggests a reset helps sessions under a host that
fell back to the spawned start.

56 of 127 new or added lines in 5 files covered. (44.09%)

3 existing lines in 2 files now uncovered.

27593 of 29417 relevant lines covered (93.8%)

2337330.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
31
43.64
agtermCore/Sources/SessionHostRuntime/HostJob.swift
26
53.06
-7.05% agtermCore/Sources/SessionHostRuntime/Host.swift
9
60.26
60.26% agtermCore/Sources/SessionHostRuntime/ClientConnector.swift
4
37.5
-2.5% agtermCore/Sources/agterm-session-host/main.swift
1
0.0
0.0% agtermCore/Sources/SessionHostRuntime/HostRetirement.swift

Coverage Regressions

Lines Coverage ∆ File
2
82.91
-1.71% agtermCore/Sources/agtermCore/PresentationStream.swift
1
37.5
-2.5% agtermCore/Sources/agterm-session-host/main.swift
Jobs
ID Job ID Ran Files Coverage
1 43481387765.1 13 Nov 2026 06:28PM UTC 324
93.8
GitHub Action Run
Source Files on build 43481387765
  • Tree
  • List 324
  • Changed 7
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43481387765
  • 2484bfe1 on github
  • Prev Build on master (#43317694383)
  • Next Build on master (#43492212676)
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