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

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

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 03:29PM UTC
Jobs 1
Files 8
Run time 1s
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

pending completion
26521035523

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.

1556 of 1759 relevant lines covered (88.46%)

8.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26521035523.1 27 May 2026 03:29PM UTC 8
88.46
GitHub Action Run
Source Files on build 26521035523
  • 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 #26521035523
  • c72b2d53 on github
  • Prev Build on main (#26503341763)
  • Next Build on main (#26555171661)
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