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

shellhub-io / ssh
73%

Build:
DEFAULT BRANCH: master
Repo Added 02 Aug 2026 12:13AM UTC
Token uQwSJGh8D1Hcii90UuoMp75KgOO9LtNqg regen
Build 13 Last
Files 12
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • fix/ci-green
  • fix/forward-half-close

04 Nov 2026 05:48PM UTC coverage: 72.515% (-0.09%) from 72.602%
41880889313

push

github

gustavosbarreto
fix: drain a Windows pty instead of waiting out the timeout

ConPTY output ends only when the console closes, and closeSlave did
nothing on Windows, so every session waited five seconds and dropped
what was unread. closeSlave now closes the console and the pty reads a
duplicate of the output handle, so the copy reaches EOF and each handle
closes once. Before Windows 11 24H2 the close blocks until the output is
read, so it runs in a goroutine and Close discards the rest.

The drain tests ran /bin/sh, which Windows lacks. The burst test uses
PowerShell there and counts x bytes, since ConPTY adds escape sequences.

Fixes: shellhub-io/team#378

1058 of 1459 relevant lines covered (72.52%)

390.88 hits per line

Relevant lines Covered
Build:
Build:
1459 RELEVANT LINES 1058 COVERED LINES
390.88 HITS PER LINE
Source Files on master
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41880889313 master fix: drain a Windows pty instead of waiting out the timeout ConPTY output ends only when the console closes, and closeSlave did nothing on Windows, so every session waited five seconds and dropped what was unread. closeSlave now closes the consol... push 04 Nov 2026 05:50PM UTC gustavosbarreto github
72.52
41717730322 master fix: half-close only the ended direction of a local port forward DirectTCPIPHandler closed the channel and the target socket as soon as either copy hit EOF, so a client that half-closes after its request lost the reply. Each direction now half-cl... push 03 Nov 2026 09:00PM UTC gustavosbarreto github
72.6
41130459898 master Merge pull request #1 from shellhub-io/ci/sync-lint-config ci: sync golangci-lint config push 30 Oct 2026 09:22PM UTC web-flow github
72.42
30737961163 master fix: deliver a command's last output before closing the session push 02 Aug 2026 07:31AM UTC Luis Gustavo S. Barreto github
72.56
30732008600 master refactor: lift the pty release out of the request loop nestif flagged the pty-req block: guarding the deferred close against a handler that already owns the pty added a level to a body that was already at the limit. The guard reads better with a ... push 02 Aug 2026 04:14AM UTC gustavosbarreto github
71.66
30730540545 master fix: stop releasing the pty out from under a running handler push 02 Aug 2026 03:24AM UTC Luis Gustavo S. Barreto github
71.74
30724801059 master chore: rebuild the fork on charmbracelet/ssh gliderlabs/ssh has not moved since 2023, and charm's fork already carries the content of every patch this fork was keeping: cross-account auth, the Permissions leak between callbacks, nil Extensions, t... push 02 Aug 2026 12:13AM UTC gustavosbarreto github
70.19
See All Builds (13)

Badge your Repo: ssh

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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