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

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

Build:
DEFAULT BRANCH: main
Ran 26 Apr 2026 04:23PM UTC
Files 535
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: 7.484% (-0.001%) from 7.485%
24961088813.9

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>

2966 of 39630 relevant lines covered (7.48%)

0.66 hits per line

Source Files on job utest-postgres - 24961088813.9
  • Tree
  • List 535
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24961088813
  • 0c42f335 on github
  • Prev Job for on main (#24958135596.3)
  • 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