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

umputun / agterm / 34557372618
94%

Build:
DEFAULT BRANCH: master
Ran 11 Sep 2026 03:13AM UTC
Jobs 1
Files 138
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

11 Sep 2026 03:09AM UTC coverage: 92.924% (+0.05%) from 92.875%
34557372618

push

github

web-flow
feat(live): add Reset Live Sessions (#587)

Live panes created without the session host, or whose host has exited, can lose agterm's permission attribution and prompt again when a new Claude Code version requests the microphone. Restarting agterm does not repair those panes. #574 added the host for panes created from then on and left earlier panes to be recreated by hand; this is the migration it did not include.

Adds Help > Reset Live Sessions… and `agtermctl zmx reset --force`. The reset quits and reopens agterm, preserves the layout, and recreates the affected panes through the session host, replaying captured commands where possible. Already supervised panes keep their processes. Running work in affected panes stops; agent conversations may need manual resume. The reset requires dialog confirmation or `--force`.

- Runs only while Live is configured and active. Captures commands and requires a checked snapshot save before writing the marker; removes it if the relauncher cannot start.
- Consumes the marker before killing and only narrows the confirmed targets: each must still be claimed, have the same leader PID, and remain orphaned.
- Kills in one bounded batch and checks every selected leader even if the batch fails. Unconfirmed panes receive neither captured replay nor their durable command.
- Writes the control reply before triggering quit. An unrelated request's reply cannot trigger it.

`result.liveReset` contains the confirmed session and pane counts plus `pending: true`. The tree and `zmx list` expose `liveReset.pending` as a pane count and `liveReset.last` as this launch's reset outcome, omitting `liveReset` when neither exists. Partial resets are reported.

An isolated Debug check reset four affected panes across three sessions, including a split. All five panes were supervised afterward; the unaffected pane kept its leader PID and the host kept its PID.

plan: docs/plans/completed/20260910-reset-live-sessions.md

189 of 197 new or added lines in 10 files covered. (95.94%)

10769 of 11589 relevant lines covered (92.92%)

3521071.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
52.38
-16.37% agtermCore/Sources/agtermCore/RestoreMode.swift
3
10.53
-0.58% agtermCore/Sources/agtermCore/ControlActionsDefaults.swift
Jobs
ID Job ID Ran Files Coverage
1 34557372618.1 11 Sep 2026 03:13AM UTC 138
92.92
GitHub Action Run
Source Files on build 34557372618
  • Tree
  • List 138
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34557372618
  • ebfcc743 on github
  • Prev Build on master (#34548287291)
  • Next Build on master (#34560848132)
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