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

KarpelesLab / libwallet / 24507709035
25%

Build:
DEFAULT BRANCH: master
Ran 16 Apr 2026 11:38AM UTC
Jobs 1
Files 84
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

16 Apr 2026 11:28AM UTC coverage: 20.794% (-0.2%) from 20.964%
24507709035

push

github

MagicalTux
wltlog: leveled logging controlled by Info:setWalletInfo's LogLevel

New wltlog package with Debugf / Infof / Warnf / Errorf helpers.
Call sites flip between quiet (release) and verbose (dev) without
recompiling, via Info:setWalletInfo.

LogLevel field added to WalletInfo (Go + Dart):
  ""       → auto — debug on dev binaries (gitTag empty),
             info on release binaries (gitTag set by CI -ldflags)
  "debug"  → everything: per-RPC method+latency, per-decrypt,
             diagnostic state dumps, every self-heal gate
  "info"   → state changes only: wallet loaded, broadcast OK,
             pubkey repair fired, etc.
  "warn"   → warnings + above (pubkey mismatch detected, RPC retry)
  "error"  → errors only
  "off"    → silent

Dart hosts typically pass `kDebugMode ? "debug" : "off"` — or leave
empty and trust the build-type auto-default.

Info:getWalletInfo now also returns `effectiveLogLevel` so the host
doesn't have to recompute the empty→auto resolution itself.

Converted these call sites (previously raw log.Printf):

  * ed25519-repair flow — every skip-reason logs at debug, the
    actual repair at info, save failures at error.
  * solana-send flow — entry / post-repair traces at debug, TSS
    sign latency at debug, local-verify failure at error,
    "broadcast OK" at info.
  * wltnet.DoRPCCtx / DoRPCNamedCtx — per-call method+latency+size
    at debug. Release binaries stay silent; a tester on "debug"
    sees every RPC round-trip.
  * wallet.go subSign (ed25519 branch) — entry, per-key decrypt
    latency at debug, Pubkey-mismatch-detected at warn.

So in release builds the log volume is dominated by the things the
support team would want to see anyway (broadcasts and repairs), and
in a repro-bug session a tester can flip LogLevel="debug" on their
settings screen and get a full trace.

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

13 of 160 new or added lines in 7 files covered. (8.13%)

5 existing lines in 2 files now uncovered.

2131 of 10248 relevant lines covered (20.79%)

2.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
72
0.0
wltlog/log.go
23
43.85
-1.78% wltnet/network.go
17
2.08
-0.18% wlttx/solana.go
15
18.56
6.56% wltbase/info.go
11
0.0
0.0% wltacct/ed25519_repair.go
7
26.67
-8.12% wltwallet/clientid.go
2
56.51
0.04% wltwallet/wallet.go

Coverage Regressions

Lines Coverage ∆ File
4
2.08
-0.18% wlttx/solana.go
1
18.56
6.56% wltbase/info.go
Jobs
ID Job ID Ran Files Coverage
1 24507709035.1 16 Apr 2026 11:38AM UTC 84
20.79
GitHub Action Run
Source Files on build 24507709035
  • Tree
  • List 84
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24507709035
  • 9dcd48dc on github
  • Prev Build on master (#24507349550)
  • Next Build on master (#24508175158)
  • 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