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

enbility / ship-go / 16206399689
95%

Build:
DEFAULT BRANCH: dev
Ran 10 Jul 2025 09:30PM UTC
Jobs 1
Files 33
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

10 Jul 2025 09:26PM UTC coverage: 95.55% (+2.8%) from 92.726%
16206399689

push

github

DerAndereAndi
♻️  refactor: decompose hub connection functions for better testability

- Extract pure functions from connectFoundService and initateConnection
- Add validateConnectionLimit() for connection limit checking
- Add createWebSocketDialer() for WebSocket configuration
- Add validateRemoteCertificate() for certificate validation
- Add establishWebSocketConnection() for connection establishment
- Add shouldAttemptConnection() for pairing state validation
- Add formatIPAddress() for IP address formatting
- Create comprehensive test suite for decomposed functions
- Fix race conditions by skipping tests with real connections
- Update test assertions to match new error message format

78 of 98 new or added lines in 1 file covered. (79.59%)

5 existing lines in 2 files now uncovered.

3221 of 3371 relevant lines covered (95.55%)

7801.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
76.65
7.79% hub/hub_connections_client.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
89.83
0.0% cert/cert.go
3
76.65
7.79% hub/hub_connections_client.go
Jobs
ID Job ID Ran Files Coverage
1 16206399689.1 10 Jul 2025 09:30PM UTC 33
95.55
GitHub Action Run
Source Files on build 16206399689
  • Tree
  • List 33
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16206399689
  • 26e563c4 on github
  • Prev Build on dev (#16203496042)
  • Next Build on dev (#16346983669)
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

© 2025 Coveralls, Inc