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

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

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 05:19AM 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.573% (+1.0%) from 87.55%
26736669580

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.

1558 of 1759 relevant lines covered (88.57%)

8.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26736669580.1 01 Jun 2026 05:19AM UTC 8
88.57
GitHub Action Run
Source Files on build 26736669580
  • 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 #26736669580
  • c72b2d53 on github
  • Prev Build on main (#26503341763)
  • Next Build on main (#26799508625)
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