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

KarpelesLab / libwallet / 24435361820
25%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2026 03:55AM UTC
Jobs 1
Files 80
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

15 Apr 2026 03:47AM UTC coverage: 21.796% (-0.007%) from 21.803%
24435361820

push

github

MagicalTux
Network.DoRPC: default 30 s timeout (bound every untimeouted RPC)

Root cause of the iOS CI hang: every `n.DoRPC(...)` call went through
`DoCtx(context.Background(), ...)` — no deadline. The moment any
upstream endpoint (Ethereum mainnet public RPC, Solana, modchain,
etc.) stopped responding, the goroutine blocked forever. The balance
poller I just added multiplied the problem because it fires every
60 s in the background.

Fix applied at the lowest level so no call site is missed:

- DoRPC and DoRPCNamed now wrap their call in a 30 s
  context.WithTimeout. A single RPC can no longer wedge a goroutine.
  Callers that genuinely need longer deadlines (there are none today)
  can still go through DoRPCCtx / DoRPCNamedCtx with their own ctx.
- The balance poller's poll() already wraps currentAssets in a 15 s
  timeout (tighter than the global default — a poll that's taking
  more than 15 s is almost certainly the user's network being down
  and should be abandoned).
- nativeBalance / bitcoinBalance / NativeAsset / SolanaTokenBalances
  threaded through ctx so both the poller and the API endpoint
  propagate deadlines through to the RPC.

CI:
- Drop iOS job timeout from 60 to 20 min. Happy path is ~8 min;
  20 min is ~2.5× that. With the RPC timeout cap in place, a stuck
  network can't consume the whole window anymore.

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

0 of 25 new or added lines in 4 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

2109 of 9676 relevant lines covered (21.8%)

2.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
45.63
-0.1% wltnet/network.go
4
14.75
0.0% wltbase/asset.go
3
0.0
0.0% wltbase/balance_poll.go
2
0.0
0.0% wltnet/solana.go

Coverage Regressions

Lines Coverage ∆ File
2
45.63
-0.1% wltnet/network.go
Jobs
ID Job ID Ran Files Coverage
1 24435361820.1 15 Apr 2026 03:55AM UTC 80
21.8
GitHub Action Run
Source Files on build 24435361820
  • Tree
  • List 80
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24435361820
  • 97823e3a on github
  • Prev Build on master (#24433984516)
  • Next Build on master (#24435591403)
  • 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