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

hyperledger-labs / fabric-smart-client / 36057013037
91%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 08:47PM 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

24 Sep 2026 08:45PM UTC coverage: 86.322% (-0.02%) from 86.339%
36057013037

push

github

web-flow
fix(fabric): return the declared errors instead of panicking (#1887)

crypto.provider.Hash declares an error return but panicked when the BCCSP
hasher failed, discarding the cause: the panic value named the message
without saying what went wrong. RWSetProcessor.Process returns an error on
every other failure in its write loop but panicked on fieldMappingKey.
That key comes from rws.GetWriteAt, so it is a write key out of the
transaction's read-write set, and a malformed composite key panicked the
committer rather than failing the transaction.

Return wrapped errors from both, preserving the cause. GetHash cannot
report a failure through its signature, so widen it to
(hash.Hash, error); the package has no importers and no interface
constrains it.

The two provider tests asserted the panics with require.PanicsWithError,
so they now assert the returned errors and that the cause survives.

Fixes #1886

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

3 of 4 new or added lines in 2 files covered. (75.0%)

17 existing lines in 8 files now uncovered.

27705 of 32095 relevant lines covered (86.32%)

2815.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
79.59
-1.66% platform/fabric/services/state/rwsetextractor.go

Coverage Regressions

Lines Coverage ∆ File
5
91.42
-1.65% platform/view/services/comm/p2p.go
3
77.11
-1.49% platform/view/services/comm/host/libp2p/host.go
2
96.72
-3.28% platform/common/utils/lazy/provider.go
2
89.68
0.0% platform/view/services/comm/session.go
2
86.98
1.94% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
1
79.59
-1.66% platform/fabric/services/state/rwsetextractor.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
1
91.76
-0.59% platform/fabric/core/generic/ordering/bft.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36057013037.1 24 Sep 2026 08:48PM UTC 8
52.57
GitHub Action Run
2 itest-fabric-atsa - 36057013037.2 24 Sep 2026 08:50PM UTC 449
43.72
GitHub Action Run
3 itest-fabric-runtimeconfig - 36057013037.3 24 Sep 2026 08:50PM UTC 459
38.88
GitHub Action Run
4 utest-postgres - 36057013037.4 24 Sep 2026 08:49PM UTC 494
9.75
GitHub Action Run
5 itest-fabric-iouhsm - 36057013037.5 24 Sep 2026 08:51PM UTC 459
39.64
GitHub Action Run
6 itest-fabric-iou-libp2p - 36057013037.6 24 Sep 2026 08:50PM UTC 459
36.55
GitHub Action Run
7 itest-fabricx-deployment - 36057013037.7 24 Sep 2026 08:48PM UTC 481
28.41
GitHub Action Run
8 itest-fabric-events - 36057013037.8 24 Sep 2026 08:50PM UTC 454
29.05
GitHub Action Run
9 itest-fabric-stoprestart - 36057013037.9 24 Sep 2026 08:50PM UTC 449
31.21
GitHub Action Run
10 itest-fabric-iou - 36057013037.10 24 Sep 2026 08:52PM UTC 459
40.38
GitHub Action Run
11 itest-fabricx-configupdate - 36057013037.11 24 Sep 2026 08:49PM UTC 481
28.36
GitHub Action Run
12 itest-fsc-stoprestart - 36057013037.12 24 Sep 2026 08:49PM UTC 241
33.5
GitHub Action Run
13 utest-root - 36057013037.13 24 Sep 2026 08:51PM UTC 494
83.13
GitHub Action Run
14 itest-fabricx-iou - 36057013037.14 24 Sep 2026 08:47PM UTC 481
29.34
GitHub Action Run
15 itest-fabric-configupdate - 36057013037.15 24 Sep 2026 08:49PM UTC 459
38.76
GitHub Action Run
16 itest-fsc-pingpong - 36057013037.16 24 Sep 2026 08:50PM UTC 245
34.69
GitHub Action Run
17 itest-fabric-twonets - 36057013037.17 24 Sep 2026 08:49PM UTC 449
29.22
GitHub Action Run
18 itest-fsc-signedpingpong - 36057013037.18 24 Sep 2026 08:48PM UTC 240
31.63
GitHub Action Run
19 itest-fabric-atsachaincode - 36057013037.19 24 Sep 2026 08:49PM UTC 454
30.93
GitHub Action Run
20 itest-fabricx-simple - 36057013037.20 24 Sep 2026 08:48PM UTC 481
27.83
GitHub Action Run
21 itest-fabricx-multiendorsement - 36057013037.21 24 Sep 2026 08:48PM UTC 481
28.45
GitHub Action Run
22 itest-fabricx-atsa - 36057013037.22 24 Sep 2026 08:48PM UTC 481
30.68
GitHub Action Run
Source Files on build 36057013037
  • Tree
  • List 503
  • Changed 24
  • Source Changed 2
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36057013037
  • 1fe10b4d on github
  • Prev Build on main (#36056587838)
  • Next Build on main (#36057583086)
  • 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