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

dguerri / k8s-ssh-gateway-controller
88%

Build:
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 main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • main
  • v1.2.0
  • v1.3.0

27 May 2026 03:28PM UTC coverage: 88.346% (+0.8%) from 87.55%
26865341687

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.

1554 of 1759 relevant lines covered (88.35%)

8.38 hits per line

Relevant lines Covered
Build:
Build:
1759 RELEVANT LINES 1554 COVERED LINES
8.38 HITS PER LINE
Source Files on main
  • 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
26865341687 main 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 03 Jun 2026 05:20AM UTC dguerri github
88.35
26799508625 main 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 02 Jun 2026 05:02AM UTC dguerri github
88.4
26736669580 main 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 01 Jun 2026 05:19AM UTC dguerri github
88.57
26703666506 main 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 31 May 2026 04:54AM UTC dguerri github
88.57
26674490882 main 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 30 May 2026 04:29AM UTC dguerri github
88.52
26618540084 main 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 29 May 2026 04:46AM UTC dguerri github
88.4
26555171661 main 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 28 May 2026 04:44AM UTC dguerri github
88.4
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
26521035523 main 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:29PM UTC dguerri github pending completion  
26503341763 main ci: exclude ssh test-helper files from coverage profile ssh/fakes.go and ssh/testing.go are non-_test.go files that only exist to support tests (cross-package consumers require their symbols to be package-visible). Their statements were counting ... push 27 May 2026 09:37AM UTC dguerri github
87.55
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