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

umputun / agterm / 34387540493
94%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2026 06:16PM UTC
Jobs 1
Files 135
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

09 Sep 2026 06:11PM UTC coverage: 93.251% (-4.0%) from 97.233%
34387540493

push

github

web-flow
feat(live): keep Live panes attributed to agterm across app restarts (#574)

* feat(core): session-host protocol, paths, framing and outcome logic

The portable half of the Live session host: hello and ensure requests,
ok and error replies as single-key JSON envelopes, LF framing with a 64 KiB
cap counted on both sides, endpoint paths under the zmx socket directory
with the 104-byte sun_path limit reserving its NUL, leader readiness through
ZmxListParser, the client's dispatch-phase outcome rule that never replays a
creation payload once an ensure may have reached the host, and the handshake
comparison on protocol plus bundle id plus canonical bundle path, which
deliberately ignores app version so a root outlives upgrades.

* feat(core): AgtermResponsibility, the one home for the responsibility SPI

A package target that reaches responsibility_spawnattrs_setdisclaim and
responsibility_get_pid_responsible_for_pid through dlsym on RTLD_DEFAULT, so
nothing links the private symbols. isAvailable reports whether both resolved;
spawnDisclaimed refuses rather than spawning without the attribute when they
did not, and responsibleProcess answers nil for a failed read so a caller
cannot mistake it for a real pid. Off Darwin the type compiles to the
unavailable stub. The app target links the product for the hosted tests,
which read the test host's own responsible pid as the baseline.

* feat(core): C fork/exec trampoline and the Darwin-only runtime targets

sh_forkpty_exec is the only code between forkpty and execve: chdir, execve,
and on failure one errno written down a CLOEXEC pipe before _exit. The pipe is
dup'd above the standard descriptors so forkpty cannot replace it, the master
is marked CLOEXEC under a lock so a concurrent fork cannot inherit it, and the
header states the contract: the caller reaps the child and closes both
descriptors, EOF on the error pipe means no error rather than readiness, and
every other host-private descriptor must already be CL... (continued)

390 of 863 new or added lines in 14 files covered. (45.19%)

10501 of 11261 relevant lines covered (93.25%)

3623628.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
105
0.0
agtermCore/Sources/SessionHostRuntime/ClientConnector.swift
102
12.82
agtermCore/Sources/SessionHostRuntime/HostSocket.swift
72
49.65
agtermCore/Sources/SessionHostRuntime/HostBackend.swift
71
52.67
agtermCore/Sources/SessionHostRuntime/Host.swift
43
20.37
agtermCore/Sources/AgtermResponsibility/Responsibility.swift
31
8.82
agtermCore/Sources/SessionHostRuntime/HostIdentity.swift
28
44.0
agtermCore/Sources/SessionHostRuntime/Client.swift
14
0.0
agtermCore/Sources/agterm-session-host/main.swift
4
96.72
agtermCore/Sources/agtermCore/SessionHost.swift
2
94.12
agtermCore/Sources/SessionHostRuntime/PTYProcess.swift
1
95.95
0.53% agtermCore/Sources/agtermCore/ZmxSupport.swift
Jobs
ID Job ID Ran Files Coverage
1 34387540493.1 09 Sep 2026 06:16PM UTC 135
93.25
GitHub Action Run
Source Files on build 34387540493
  • Tree
  • List 135
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34387540493
  • 4ec4d4b4 on github
  • Prev Build on master (#34386890121)
  • Next Build on master (#34389998379)
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