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

dguerri / k8s-ssh-gateway-controller / 26555171661
88%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 04:44AM UTC
Jobs 1
Files 8
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

27 May 2026 03:28PM UTC coverage: 88.403% (+0.9%) from 87.55%
26555171661

push

github

dguerri
test(ssh): cover Connect idempotency, port validation, and channel reject paths

Add six focused tests targeting previously-uncovered branches in
ssh_tunnel_manager.go:

- Connect() is a no-op when already connected (no second dial).
- StartForwarding rejects ports outside [0, 65535] before any SSH request.
- handleChannels rejects unknown channel types with UnknownChannelType.
- handleChannels rejects forwarded-tcpip channels whose payload fails to
  decode with ConnectionFailed.
- handleChannels closes the accepted SSH channel when the backend dial
  fails (verified via blockingSshChannel.closed signaling).
- notifyURIWaiters falls through to the default branch when a registered
  notification channel is full, without blocking other waiters.

Introduces a small recordingNewChannel test fake that captures the
reason/message passed to Reject so the rejection paths can be asserted.

1555 of 1759 relevant lines covered (88.4%)

8.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26555171661.1 28 May 2026 04:44AM UTC 8
88.4
GitHub Action Run
Source Files on build 26555171661
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26555171661
  • c72b2d53 on github
  • Prev Build on main (#26503341763)
  • Next Build on main (#26618540084)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc