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

lightningnetwork / lnd / 12332481256
58%
master: 65%

Build:
Build:
LAST BUILD BRANCH: bugfix/fix-peer-disconnect-log
DEFAULT BRANCH: master
Ran 14 Dec 2024 07:40PM UTC
Jobs 5
Files 969
Run time 2min
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

14 Dec 2024 07:16PM UTC coverage: 58.659% (+0.02%) from 58.636%
12332481256

Pull #9361

github

starius
fn/ContextGuard: use context.AfterFunc to wait

Simplifies context cancellation handling by using context.AfterFunc instead of a
goroutine to wait for context cancellation. This approach avoids the overhead of
a goroutine during the waiting period.

For ctxQuitUnsafe, since g.quit is closed only in the Quit method (which also
cancels all associated contexts), waiting on context cancellation ensures the
same behavior without unnecessary dependency on g.quit.

Added a test to ensure that the Create method does not launch any goroutines.
Pull Request #9361: fn: optimize context guard

134492 of 229277 relevant lines covered (58.66%)

19310.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.56
0.36% watchtower/wtclient/queue.go
2
84.8
0.0% invoices/invoiceregistry.go
2
63.74
-0.06% server.go
2
93.92
0.74% htlcswitch/mailbox.go
2
77.27
-0.06% graph/db/graph.go
2
71.07
0.0% rpcserver.go
4
78.71
-0.14% htlcswitch/link.go
5
73.89
-0.14% funding/manager.go
7
80.33
-0.31% discovery/gossiper.go
Jobs
ID Job ID Ran Files Coverage
1 itest-bitcoind - 12332481256.1 14 Dec 2024 07:59PM UTC 821
48.51
GitHub Action Run
2 unit - 12332481256.2 14 Dec 2024 07:40PM UTC 847
57.44
GitHub Action Run
3 itest-bitcoind-rpcpolling - 12332481256.3 14 Dec 2024 07:59PM UTC 821
48.38
GitHub Action Run
4 itest-btcd - 12332481256.4 14 Dec 2024 07:50PM UTC 821
48.39
GitHub Action Run
5 itest-neutrino - 12332481256.5 14 Dec 2024 07:57PM UTC 821
48.0
GitHub Action Run
Source Files on build 12332481256
  • Tree
  • List 969
  • Changed 231
  • Source Changed 0
  • Coverage Changed 54
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9361
  • PR Base - master (#12313602533)
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

© 2025 Coveralls, Inc