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

refenv / cijoe / 39980446332
72%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 04:07PM UTC
Jobs 1
Files 55
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

23 Oct 2026 03:41PM UTC coverage: 71.673% (+0.6%) from 71.027%
39980446332

push

github

safl
feat(core/transport): keep one SSH connection per transport

The SSH transport connected before and disconnected after every run(),
get() and put(), so each command paid a key exchange. Measured from a
test harness against a host at 43 ms ping, a command cost about 0.55 s
that way and about 0.175 s over a kept connection, which made cheap
remote checks expensive enough to be left out. Per-command connections
existed to cope with a remote that reboots and to not leave connections
open at exit; a kept connection handles both by connecting again on
next use when the old one is no longer active, and by being closed by
Cijoe.close(), at pytest unconfigure, or by a finalizer as Python exits.
A connect that fails part way, as when authentication is refused, is
closed rather than kept. A 30 s keepalive keeps an idle connection's
NAT and firewall state. wait_for_transport closes the connection before
each probe, since a kept session can outlive a remote that no longer
accepts new ones, and only a fresh connect tells whether it is up or
down.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Simon A. F. Lund <os@safl.dk>

518 of 826 branches covered (62.71%)

Branch coverage included in aggregate %.

36 of 39 new or added lines in 3 files covered. (92.31%)

1701 of 2270 relevant lines covered (74.93%)

0.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
82.86
5.83% src/cijoe/core/transport.py
Jobs
ID Job ID Ran Files Coverage
1 39980446332.1 23 Oct 2026 04:07PM UTC 55
71.67
GitHub Action Run
Source Files on build 39980446332
  • Tree
  • List 55
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39980446332
  • 25e57761 on github
  • Prev Build on main (#39974491567)
  • Next Build on main (#39985449008)
  • Delete
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