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

shellhub-io / ssh / 41880889313
73%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2026 05:50PM UTC
Jobs 1
Files 12
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

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

Coverage Regressions

Lines Coverage ∆ File
17
71.53
-0.86% pty_unix.go
Jobs
ID Job ID Ran Files Coverage
1 41880889313.1 04 Nov 2026 05:50PM UTC 12
72.52
GitHub Action Run
Source Files on build 41880889313
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3ee2eec1 on github
  • Prev Build on master (#41717730322)
  • 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