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

enbility / ship-go
93%

Build:
DEFAULT BRANCH: dev
Repo Added 14 Jan 2024 07:40PM UTC
Files 45
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 dev
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • auto_accept_stalls_ship
  • bug/attempt_reconnect_when_device_reappears
  • bug/autoAcceptAnnouncement
  • bug/avahi_dead_lock
  • bugfix/race-condition
  • dev
  • feat/dynamicMdnsInterfaceManagement
  • feat/hub-bound-port
  • feature/action-update
  • feature/analysis-docs
  • feature/bugfixes
  • feature/hub-improvements
  • feature/json-parsing-improvements
  • feature/maintenance
  • feature/mdns-restart-improvements
  • feature/register-improvements
  • feature/shippairing-2
  • feature/tls-improvements
  • fix/double-connection-outgoing-dedup
  • fix/hub-connection-bugs
  • fix/hub_connections_test
  • fix/json-whitespace-tolerance
  • fix/mdns-service-type-case-sensitivity
  • fix/pairing-issues-and-trust-dupes
  • fix/pairing-reactivate-listener-on-addCu-removal
  • fix/pairing-startup-listener-guard
  • fix/pairing-txt-format-validation
  • fix/remove-unused-announcement-cancel-ctx
  • fix/ship-handshake-conformance
  • fix/spine-write-error-teardown
  • fix/trusted-reconnect-mdns-drop
  • fix_issue_49
  • main
  • safer-connection-attempt-running-handling
  • update-to-zeroconf-v3

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

Relevant lines Covered
Build:
Build:
6352 RELEVANT LINES 5898 COVERED LINES
12390.25 HITS PER LINE
Source Files on dev
  • Tree
  • List 45
  • Changed 4
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30115025685 dev 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) inste... push 24 Jul 2026 06:00PM UTC web-flow github
92.85
30114636067 dev fix(pairing): keep the addCu listener deactivated whenever a trusted addCu device exists (#92) Per pairing spec §4.3, processing of addCu-requests SHALL stay deactivated as long as the pairing with the trusted devZ is intended. Two entry points v... push 24 Jul 2026 05:54PM UTC web-flow github
92.95
30114086365 fix/pairing-startup-listener-guard Merge e8620dd4c into 765b8d584 Pull #92 24 Jul 2026 05:46PM UTC web-flow github
92.93
30111263527 dev fix(pairing): listener reactivation, dead-trust recovery, and mDNS record lifecycle fixes (#87) Fixes a set of SHIP Pairing Service (SPS) issues around addCu trust removal, listener reactivation, and the mDNS record lifecycle, found while running... push 24 Jul 2026 05:03PM UTC web-flow github
93.03
30094825145 fix/mdns-service-type-case-sensitivity Merge 65e500526 into 0aa90f64a Pull #93 24 Jul 2026 12:58PM UTC web-flow github
92.99
30023998059 fix/ship-handshake-conformance Merge 22d33d890 into 0aa90f64a Pull #101 23 Jul 2026 04:14PM UTC web-flow github
92.88
29859631135 fix/json-whitespace-tolerance Merge 469f06128 into 0aa90f64a Pull #100 21 Jul 2026 07:03PM UTC web-flow github
93.03
29737265458 dev hub: remove unused announcement cancel context (#91) The context derived via `context.WithCancel(h.pairingCtx)` in `StartAnnouncementTo` was discarded immediately (assigned to `_`), so its `Done()` channel was never observed anywhere. The stored ... push 20 Jul 2026 11:07AM UTC web-flow github
92.99
29684074371 fix/pairing-txt-format-validation Merge c5f3130c4 into 3abd41d19 Pull #94 19 Jul 2026 10:53AM UTC web-flow github
92.85
29683849869 fix/pairing-txt-format-validation Merge a9d800b54 into 3abd41d19 Pull #94 19 Jul 2026 10:46AM UTC web-flow github
92.78
See All Builds (252)
  • Repo on GitHub
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