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

KarpelesLab / libwallet / 26939167125
22%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2026 08:06AM UTC
Jobs 1
Files 125
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

04 Jun 2026 08:05AM UTC coverage: 21.884% (-0.03%) from 21.911%
26939167125

push

github

MagicalTux
device transfer: register handler under bare "transfer" segment + bump 0.4.49

The 0.4.48 waitOnlineSpot fix proved Spot was online on both ends, yet
pair_received still never fired. Root cause: spotlib's dispatcher
(connect.go:317-336) only matches the first path segment after the
recipient id, but exportToDevice registered the per-session handler
under "transfer/<sid>". The lookup always missed; the receiver hung
the full transferQueryTimeout (2 min) before giving up.

Refactor:

- One permanent global handler, installed in InitEnv under the bare
  "transfer" prefix (same single-segment shape pair.go uses). No more
  per-session SetHandler/SetHandler(nil) churn.
- transferQueryBody gains a Sid field. Receiver builds target as
  <spotID>/transfer and puts the sid in the body.
- transferHandle (now func(env, msg)) claims the matching session
  out of transferRegistry under one lock per request — concurrent
  duplicate requests for the same sid resolve cleanly as
  session_not_found instead of racing on the channels.
- Comment + endpoint constant updated to reflect the new shape.

Hosts on 0.4.48 will keep seeing peer_unreachable until both ends are
on 0.4.49 — bump together.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

0 of 50 new or added lines in 2 files covered. (0.0%)

4031 of 18420 relevant lines covered (21.88%)

102.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
20.21
-0.72% wltwallet/transfer.go
12
0.0
0.0% wltwallet/init.go
Jobs
ID Job ID Ran Files Coverage
1 26939167125.1 04 Jun 2026 08:06AM UTC 125
21.88
GitHub Action Run
Source Files on build 26939167125
  • Tree
  • List 125
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26939167125
  • 823ce44c on github
  • Prev Build on master (#26934789109)
  • Next Build on master (#26945273473)
  • Delete
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