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

umputun / agterm / 40216536292
94%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2026 05:31PM UTC
Jobs 1
Files 212
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

25 Oct 2026 05:27PM UTC coverage: 94.201% (-0.003%) from 94.204%
40216536292

push

github

umputun
feat(control): give a single session close the undo grace with --undoable

a custom command bound in place of `close_session` ends with a single-target
`session close`, which hard-closes, so it loses ⌘Z on every close. With `--undoable`,
a single target goes through `softCloseSession` while "Allow undo after closing
sessions and workspaces" is on, as ⌘W does, and falls back to the hard close otherwise;
a batch already follows the setting. Every ok reply to an undoable request carries
`result.undoable`, false when the setting made it a hard close, and the human output
appends `(undoable)` or `(not undoable)`. Without the flag requests and replies are
unchanged.

`ControlActions.closeSession(_:window:)` and `closeSessions(_:window:)` keep their
signatures. The new `undoable:` overloads default to forwarding a plain request and
refusing an undoable one, so a conformer that has not adopted them never hard-closes
a session the caller asked to keep.

The close adapters move into `ControlServer+SessionClose.swift`, since the addition
would take `ControlServer+SessionActions.swift` past the 1000-line limit.

Related to https://github.com/umputun/agterm/discussions/800

33 of 35 new or added lines in 5 files covered. (94.29%)

16993 of 18039 relevant lines covered (94.2%)

3810692.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
12.67
6.14% agtermCore/Sources/agtermCore/ControlActionsDefaults.swift
Jobs
ID Job ID Ran Files Coverage
1 40216536292.1 25 Oct 2026 05:31PM UTC 212
94.2
GitHub Action Run
Source Files on build 40216536292
  • Tree
  • List 212
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40216536292
  • 0107bc95 on github
  • Prev Build on master (#40008117220)
  • Next Build on master (#40223566907)
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