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

enbility / ship-go / 36413688379
93%

Build:
DEFAULT BRANCH: dev
Ran 28 Sep 2026 11:10AM UTC
Jobs 1
Files 46
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

28 Sep 2026 11:06AM UTC coverage: 93.027% (-0.06%) from 93.083%
36413688379

push

github

web-flow
fix(hub): don't strand the connection attempt flag when the service is gone (#123)

May fix some failed connection attempts by the living lab after
reregistering SKIs.

coordinateConnectionInitations sets connectionAttemptRunning for a SKI
and raises its attempt counter before it resolves the service entry.
When the entry is gone it returns early — leaving the flag set with no
delay timer attached.

The flag is only ever cleared by the delay timer's callback or by
cancelConnectionDelayTimer, and neither can run without a timer. Every
later call for that SKI then returns at the guard, so the SKI never
initiates a connection again until the process restarts.
UnregisterRemoteService removes the entry concurrently with mDNS
processing, which is exactly how the lookup comes back nil.

The stranded attempt counter has a second effect: it stays raised,
pushing the next delay into the 10–20 s band.

Resolving the service before taking any per-SKI state fixes both. If the
entry is removed after the lookup, the timer already exists and its
callback clears the flag.

Two regression tests: the attempt flag and counter must stay untouched
when no service entry exists, and a SKI must be able to connect again
after an unregister/register cycle.

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

4 existing lines in 1 file now uncovered.

6164 of 6626 relevant lines covered (93.03%)

14377.39 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
95.69
-0.96% mdns/avahi.go
Jobs
ID Job ID Ran Files Coverage
1 36413688379.1 28 Sep 2026 11:10AM UTC 46
93.03
GitHub Action Run
Source Files on build 36413688379
  • Tree
  • List 46
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36413688379
  • a84426bc on github
  • Prev Build on dev (#36413409072)
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