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

hyperledger-labs / fabric-smart-client / 24961088813 / 8
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 26 Apr 2026 04:23PM UTC
Files 506
Run time 13s
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

26 Apr 2026 04:10PM UTC coverage: 26.041% (-0.02%) from 26.058%
24961088813.8

push

github

web-flow
fix(lazy): add read lock to lazyProvider.Length (#1329)

Resolves #1324.

lazyProvider.Length read len(v.cache) without holding cacheLock,
which is a data race against any concurrent write through Get,
Update, or Delete (all of which take cacheLock.Lock). The race
trips Go's runtime detector under -race.

Adds RLock/RUnlock around the read, matching what Peek already
does for cache reads, and adds TestLengthConcurrentWithWrites that
exercises Update / Delete / Length in parallel goroutines so the
race is caught by 'go test -race ./platform/common/utils/lazy/...'.

Signed-off-by: Matt Van Horn <mvanhorn@gmail.com>

9899 of 38013 relevant lines covered (26.04%)

0.27 hits per line

Source Files on job itest-fabricx-deployment - 24961088813.8
  • Tree
  • List 506
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24961088813
  • 0c42f335 on github
  • Prev Job for on main (#24958135596.7)
  • Next Job for on main (#24992564340.5)
  • 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