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

enbility / ship-go / 30115025685
93%

Build:
DEFAULT BRANCH: dev
Ran 24 Jul 2026 06:00PM UTC
Jobs 1
Files 45
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

24 Jul 2026 05:57PM UTC coverage: 92.853% (-0.09%) from 92.947%
30115025685

push

github

web-flow
fix(mdns): handle service type comparison case-insensitively (#93)

## Problem
`detectServiceType` compares mDNS service types case-sensitively. Some
SHIP
implementations (e.g. Theben Mehrwertmodul) publish on
`_shipPairing._tcp` (camelCase) instead
of `_shippairing._tcp` (lowercase).

While the SHIP spec expects lowercase service types, [RFC 6763
(DNS-Based
Service Discovery)](https://www.rfc-editor.org/rfc/rfc6763.html) states
that
DNS name comparisons — including service type strings — are
case-insensitive.
Because of this, devices using camelCase service types are currently not
detected correctly.

## Solution
Make the service type check in `detectServiceType` case-insensitive, in
line
with RFC 6763, so devices publishing non-lowercase (but otherwise valid)
service types are still correctly recognized.

2 of 2 new or added lines in 1 file covered. (100.0%)

8 existing lines in 3 files now uncovered.

5898 of 6352 relevant lines covered (92.85%)

12390.25 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
90.22
-2.22% ws/websocket.go
2
81.11
0.0% cert/cert.go
1
91.39
-0.48% mdns/zeroconf.go
Jobs
ID Job ID Ran Files Coverage
1 30115025685.1 24 Jul 2026 06:00PM UTC 45
92.85
GitHub Action Run
Source Files on build 30115025685
  • Tree
  • List 45
  • Changed 4
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30115025685
  • 215cec4f on github
  • Prev Build on dev (#30114636067)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc