• 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: dev
CHANGE BRANCH
x
Reset
  • dev
  • auto_accept_stalls_ship
  • bug/attempt_reconnect_when_device_reappears
  • bug/autoAcceptAnnouncement
  • bug/avahi_dead_lock
  • bugfix/race-condition
  • chore/redundant-nil-checks
  • docs/testspec-coverage-comments
  • 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/prevent-stuck-shutdown-test-goroutine-leak
  • fix/reannounce-entrygroup-leak
  • fix/remove-unused-announcement-cancel-ctx
  • fix/ship-double-connection
  • fix/ship-handshake-conformance
  • fix/ship-tests-tc-ship-amdata-002
  • fix/spine-write-error-teardown
  • fix/trusted-reconnect-mdns-drop
  • fix_issue_49
  • main
  • safer-connection-attempt-running-handling
  • update-to-zeroconf-v3
  • upstream/reset-connection-backoff

03 Aug 2026 11:06AM UTC coverage: 92.733% (-0.04%) from 92.773%
30808179265

push

github

web-flow
Tolerate structural whitespace in EEBUS JSON (#100)

JsonFromEEBUSJson unwraps the EEBUS array-of-single-key-objects encoding
via exact byte-sequence replacements. Any RFC 8259 structural whitespace
around JSON tokens defeated those matches, leaving the outer array
intact so the downstream json.Unmarshal failed.

Normalise the input with json.Compact before the replacements. Compact
is string-aware, so whitespace inside string values is preserved;
invalid JSON falls back to the raw bytes so behaviour is no worse than
before. The NUL trim moves ahead of Compact since a trailing 0x00 is
invalid JSON.

Add whitespace-tolerance tests covering all four whitespace characters
around structural tokens, whitespace inside string values, and a
pretty-printed real datagram.

Fixes #97.

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

5 existing lines in 2 files now uncovered.

5934 of 6399 relevant lines covered (92.73%)

12224.2 hits per line

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

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30808179265 dev Tolerate structural whitespace in EEBUS JSON (#100) JsonFromEEBUSJson unwraps the EEBUS array-of-single-key-objects encoding via exact byte-sequence replacements. Any RFC 8259 structural whitespace around JSON tokens defeated those matches, leavi... push 03 Aug 2026 11:09AM UTC web-flow github
92.73
30643232628 dev test: prevent stuck shutdown test goroutine leak (#105) Should fix the race detector from https://github.com/enbility/ship-go/actions/runs/30640977844/job/91190542040 push 31 Jul 2026 03:34PM UTC web-flow github
92.77
30640977962 dev fix: SHIP handshake conformance (CMI/PROT/TERM abort behavior) (#101) Closes #98. Contributes to #95 (SHIP TestSpecification V1.0.0 compliance). Fixes six non-conformances against the SHIP High-Level Test Specification, all in the handshake / co... push 31 Jul 2026 03:03PM UTC web-flow github
92.76
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
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
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
28795888195 dev hub: prevent concurrent duplicate outgoing connections to the same SKI (#85) `connectFoundService` only dedupes outgoing dials via `isSkiConnected`, which becomes true after `registerConnection` (i.e. after the websocket dial + SHIP handshake). T... push 06 Jul 2026 01:43PM UTC web-flow github
92.97
28788123488 dev ship: tear down connection on a failed spine data write (#86) Fix https://github.com/evcc-io/evcc/issues/31465 Found while chasing an intermittent double-connection related test hang in evcc (evcc-io/evcc#31493) that reproduces on top of #85's d... push 06 Jul 2026 11:29AM UTC web-flow github
92.99
26030742651 dev Fix pairing issues and trust duplications (#82) Fixes pairing-flow correctness issues and eliminates duplicate ServiceDetails entries that were causing already-registered devices to be rejected. ## Hub — duplicate service entries - Introduce me... push 18 May 2026 11:33AM UTC web-flow github
92.95
See All Builds (264)
  • 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