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

dguerri / k8s-ssh-gateway-controller
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: v1.3.0
DEFAULT BRANCH: main
Repo Added 19 Mar 2026 08:02AM UTC
Files 8
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 v1.3.0
branch: v1.3.0
CHANGE BRANCH
x
Reset
  • v1.3.0
  • main
  • v1.2.0

27 May 2026 03:28PM UTC coverage: 88.573% (+1.0%) from 87.55%
26521475367

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

Relevant lines Covered
Build:
Build:
1759 RELEVANT LINES 1558 COVERED LINES
8.37 HITS PER LINE
Source Files on v1.3.0
  • Tree
  • List 8
  • 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
26521475367 v1.3.0 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). - StartForwar... push 27 May 2026 03:36PM UTC dguerri github
88.57
See All Builds (91)
  • Repo on GitHub
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