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

enbility / eebus-go / 26031653122
95%

Build:
DEFAULT BRANCH: dev
Ran 18 May 2026 11:51AM UTC
Jobs 1
Files 89
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

18 May 2026 11:49AM UTC coverage: 95.291% (-0.05%) from 95.339%
26031653122

push

github

web-flow
SHIP Pairing Service Integration (#212)

# SHIP Pairing Service Integration

This PR introduces breaking API changes to accommodate the latest
ship-go module updates, featuring the integration of the new SHIP
Pairing Service.

## Core changes:
- Service Start() now returns an error when connection hub returns a
runtime error
- ServiceIdentity is now used instead of 'SKI' only. Subsequently, All
APIs dependent on ski have been migrated to a new 'identity' parameter.
For example, `RegisterRemoteSKI(ski, shipID string)` is migrated to
`RegisterRemoteService(identity shipapi.ServiceIdentity)`
- New Service APIs:
```go
GetLocalCertificateFingerprint() (string, error)
StartAnnouncementTo(target shipapi.PairingTarget) error
StopAnnouncementTo(shipID string) error
IsAnnouncingTo(shipID string) bool
GetActiveAnnouncements() []string
HasTrustedAddCuDevice() (string, string)
```
- New Service events:
```go
ServiceAutoTrusted(service ServiceInterface, identity shipapi.ServiceIdentity)
ServiceAutoTrustFailed(service ServiceInterface, identity shipapi.ServiceIdentity, reason error)
ServiceAutoTrustRemoved(service ServiceInterface, identity shipapi.ServiceIdentity, reason string)
```
- Service Configuration: New parameters:
`pairingConfig`: Optional SHIP Pairing configuration. Pass nil if SHIP
Pairing should not be used.
`ringBufferPersistence`: Interface to Pairing ring buffer persistence.
SHALL be set if pairingConfig is set to listener mode (i.e. devA). See
ship-go examples on how to create an implementation of this interface.

## Examples:

The examples have been updated to accommodate the new API changes.
In addition to that, the legacy commandline arguments have been retired
and replaced by flags instead.

86 of 92 new or added lines in 4 files covered. (93.48%)

7082 of 7432 relevant lines covered (95.29%)

12.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
93.65
-2.62% service/service.go
Jobs
ID Job ID Ran Files Coverage
1 26031653122.1 18 May 2026 11:51AM UTC 89
95.29
GitHub Action Run
Source Files on build 26031653122
  • Tree
  • List 89
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26031653122
  • a4df7991 on github
  • Prev Build on dev (#24498756629)
  • Next Build on dev (#26032164866)
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