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

umputun / agterm / 44802763166
94%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 07:50PM UTC
Jobs 1
Files 380
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

20 Nov 2026 07:30PM UTC coverage: 94.449% (-0.001%) from 94.45%
44802763166

push

github

web-flow
feat(remote): take back a pane's lead after a dropped link when nobody used it (#1072)

* feat(remote): take back a pane's lead after a dropped link when nobody used it

A pane reconnecting after its ssh dropped came back covered whenever
anything else held the lead, even when that was this Mac's own dead
connection, which the host's sshd keeps for hours on an idle pane, or
the origin's window, which takes a free pane by itself.

zmx patch 0008 adds an Identity message with each managed client's
token and, on a reconnect, the token of the attach that led at the drop.
At Init the daemon gives that reconnect the lead while the leader is the
named attach, or one that filled a vacancy without a claim and has sent
no key, paste or mouse press since. A daemon without the patch ignores
the message and the reconnect follows as before.

The app keeps the leading attach's nonce from the drop through the
reconnect wait and passes it as ZMX_MANAGED_RECLAIM.

* feat(remote): take back an origin scratch's lead after a dropped link

An attached row's scratch reconnects through its own path, which still
came back following after a drop. It now books the nonce of the attach
that led at the drop and passes it as ZMX_MANAGED_RECLAIM, as a pane does.

RemoteAttachLines gains scratchAttach(_:daemon:local:reclaim:) with a
default that calls the existing method, so a conformer outside this repo
keeps compiling. A server window's scratch attaches with no lead and is
unchanged.

* fix(remote): count every key as use of a vacant-fill lead

The idle check reused upstream's isUserInput, which misses Ctrl-letters,
a bare Esc, Alt-keys and unmodified arrows, so a reconnect could take a
lead someone used. zmx patch 0008 now classifies leader input itself: any
key, paste or mouse press counts, and only a terminal's own replies, focus
reports and mouse motion or release do not.

A claiming attach that drops before its first report now reclaims its own
nonce. The docs no longer say a ... (continued)

14 of 17 new or added lines in 4 files covered. (82.35%)

33230 of 35183 relevant lines covered (94.45%)

2382231.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.62
-2.38% agtermCore/Sources/agtermCore/AppStore+RemoteLayout.swift
Jobs
ID Job ID Ran Files Coverage
1 44802763166.1 20 Nov 2026 07:50PM UTC 380
94.45
GitHub Action Run
Source Files on build 44802763166
  • Tree
  • List 380
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44802763166
  • 9fdf74cd on github
  • Prev Build on master (#44794512560)
  • Next Build on master (#44866445085)
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