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

hyperledger-labs / fabric-smart-client / 36395577099
92%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 08:10AM UTC
Jobs 22
Files 503
Run time 3min
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

28 Sep 2026 08:08AM UTC coverage: 86.5% (+0.02%) from 86.485%
36395577099

push

github

web-flow
fix(fabric): guard the processor registries against concurrent registration (#1908)

processorManager held its registries in plain maps. ProcessByID read
r.processors and r.defaultProcessor while AddProcessor,
SetDefaultProcessor and AddChannelProcessor wrote them, so a registration
overlapping a dispatch could panic with "concurrent map read and map
write". Both sides run concurrently: ProcessByID is reached from the
committer's post-processing, whose event notifiers run on their own
goroutines, and platform/fabric/processor.go exposes registration to
applications at any point in a node's life.

Guard the registries with an RWMutex, taking the write lock in the three
registration methods and resolving processors through read-locked
accessors. Dispatch holds no lock: Processor.Process is application code
and may call back into the manager, so a lock spanning it would deadlock.

Cover both with tests, one dispatching and registering concurrently, one
registering from inside Process. Each dispatch gets its own rwsetfake.RWSet
because the fake counts Done calls without synchronisation.

Fixes #1907

Signed-off-by: Said Altury <Said.Altury@ibm.com>

23 of 23 new or added lines in 1 file covered. (100.0%)

7 existing lines in 3 files now uncovered.

27789 of 32126 relevant lines covered (86.5%)

2284.95 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
84.49
-1.39% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
1
92.74
0.33% platform/view/services/comm/p2p.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36395577099.1 28 Sep 2026 08:11AM UTC 8
52.57
GitHub Action Run
2 itest-fabric-stoprestart - 36395577099.2 28 Sep 2026 08:13AM UTC 449
31.27
GitHub Action Run
3 itest-fabric-atsachaincode - 36395577099.3 28 Sep 2026 08:12AM UTC 454
30.93
GitHub Action Run
4 itest-fabricx-configupdate - 36395577099.4 28 Sep 2026 08:12AM UTC 481
28.4
GitHub Action Run
5 itest-fsc-pingpong - 36395577099.5 28 Sep 2026 08:12AM UTC 245
34.73
GitHub Action Run
6 utest-root - 36395577099.6 28 Sep 2026 08:14AM UTC 494
83.45
GitHub Action Run
7 itest-fabric-events - 36395577099.7 28 Sep 2026 08:12AM UTC 454
29.04
GitHub Action Run
8 itest-fabric-iouhsm - 36395577099.8 28 Sep 2026 08:15AM UTC 459
39.68
GitHub Action Run
9 itest-fabric-runtimeconfig - 36395577099.9 28 Sep 2026 08:13AM UTC 459
38.89
GitHub Action Run
10 utest-postgres - 36395577099.10 28 Sep 2026 08:12AM UTC 494
9.74
GitHub Action Run
11 itest-fabricx-deployment - 36395577099.11 28 Sep 2026 08:10AM UTC 481
28.36
GitHub Action Run
12 itest-fabric-iou-libp2p - 36395577099.12 28 Sep 2026 08:13AM UTC 459
36.57
GitHub Action Run
13 itest-fabric-iou - 36395577099.13 28 Sep 2026 08:15AM UTC 459
40.41
GitHub Action Run
14 itest-fabricx-iou - 36395577099.14 28 Sep 2026 08:10AM UTC 481
29.23
GitHub Action Run
15 itest-fabricx-multiendorsement - 36395577099.15 28 Sep 2026 08:11AM UTC 481
28.45
GitHub Action Run
16 itest-fabricx-simple - 36395577099.16 28 Sep 2026 08:10AM UTC 481
27.72
GitHub Action Run
17 itest-fabric-atsa - 36395577099.17 28 Sep 2026 08:14AM UTC 449
43.66
GitHub Action Run
18 itest-fsc-signedpingpong - 36395577099.18 28 Sep 2026 08:12AM UTC 240
31.63
GitHub Action Run
19 itest-fsc-stoprestart - 36395577099.19 28 Sep 2026 08:12AM UTC 241
33.55
GitHub Action Run
20 itest-fabric-twonets - 36395577099.20 28 Sep 2026 08:11AM UTC 449
29.27
GitHub Action Run
21 itest-fabric-configupdate - 36395577099.21 28 Sep 2026 08:12AM UTC 459
38.77
GitHub Action Run
22 itest-fabricx-atsa - 36395577099.22 28 Sep 2026 08:11AM UTC 481
30.71
GitHub Action Run
Source Files on build 36395577099
  • Tree
  • List 503
  • Changed 25
  • Source Changed 1
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36395577099
  • 41d022ca on github
  • Prev Build on main (#36391040719)
  • Next Build on main (#36419643532)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc