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

KarpelesLab / libwallet / 26319124552
22%

Build:
DEFAULT BRANCH: master
Ran 23 May 2026 12:59AM UTC
Jobs 1
Files 123
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

23 May 2026 12:57AM UTC coverage: 22.094% (-0.004%) from 22.098%
26319124552

push

github

MagicalTux
wltintf: read ListHelper params via *Context.GetParam directly

The 00948d8 fix used `apirouter.GetParam[any](ctx, k)` to read each
searchKey out of the apirouter request, but the typed-generic wrapper
panics when the requested key is absent and T is the bare `any`:

  panic: interface conversion: interface is nil, not interface {}
    github.com/KarpelesLab/apirouter.GetParam[...]
        apirouter@v0.5.28/context.go:261

Root cause is reflect-flavoured: `reflect.Zero(reflect.TypeOf(*any))`
round-trips as an untyped nil that fails the final `.(T)` assertion.
The CI Dart Tests run exposed it on `Network:list` (called without
a TestNet query) and `Account:list` (called without a Wallet query).

Switch to the lower-level `*apirouter.Context.GetParam(k)` accessor,
which returns the raw `any` (or nil for absent keys) without any
reflect machinery. Behaviour is otherwise identical — string-valued
empties are still skipped so they don't land in the WHERE map and
turn legitimate "no filter" requests into "rows where Wallet=''"
no-ops.

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

0 of 13 new or added lines in 1 file covered. (0.0%)

4026 of 18222 relevant lines covered (22.09%)

104.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
0.0
0.0% wltintf/env.go
Jobs
ID Job ID Ran Files Coverage
1 26319124552.1 23 May 2026 12:59AM UTC 123
22.09
GitHub Action Run
Source Files on build 26319124552
  • Tree
  • List 123
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26319124552
  • 9a19deb3 on github
  • Prev Build on master (#26318845438)
  • Next Build on master (#26320372235)
  • 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