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

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

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2026 12:29PM UTC
Jobs 22
Files 502
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

23 Sep 2026 12:27PM UTC coverage: 86.239% (+0.06%) from 86.179%
35860568679

push

github

web-flow
test(fabric): increase coverage of platform/fabric/core/protoutil (#1864)

The package sat at 72.6% with the coverage filter applied, and
unmarshalers.go had no test file at all.

Adds unmarshalers_test.go, which round-trips a populated message through
each of the six uncovered unmarshalers and checks malformed input is
reported. Covers the nil guards in the four GetBytes helpers, Marshal and
MarshalOrPanic, the happy paths of GetBytesProposalResponsePayload and
CreateChaincodeProposalWithTxIDNonceAndTransient, and the signer failures
in NewSignatureHeader, GetSignedProposal, CreateSignedEnvelope and
CreateSignedTx.

commonutils_test.go is an internal test, so it fakes Serializer locally:
mock.SignerSerializer imports this package, which would be an import
cycle. The external tests use the existing mock.

The package is now at 95.4%. What remains is getRandomNonce's rand.Read
error, which has no injection point, and Marshal or GetBytes guards on
messages the functions build themselves -- reachable only through
protobuf's own validation, such as invalid UTF-8 in a string field,
which would test protobuf rather than this package.

Fixes #1862

Signed-off-by: Siddhi Khandelwal <siddhi.200727@gmail.com>
Co-authored-by: Marcus Brandenburger <mbrandenburger@users.noreply.github.com>

27580 of 31981 relevant lines covered (86.24%)

2821.36 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
45.45
-27.27% platform/view/services/storage/driver/sql/postgres/errormapper.go
2
96.72
-3.28% platform/common/utils/lazy/provider.go
2
85.14
-2.7% platform/fabric/core/generic/msp/idemix/cache.go
2
76.83
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
1
92.94
0.59% platform/fabric/core/generic/ordering/bft.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-runtimeconfig - 35860568679.1 23 Sep 2026 12:32PM UTC 458
38.95
GitHub Action Run
2 itest-fabric-events - 35860568679.2 23 Sep 2026 12:32PM UTC 453
29.02
GitHub Action Run
3 utest-extensions - 35860568679.3 23 Sep 2026 12:29PM UTC 8
52.57
GitHub Action Run
4 itest-fsc-stoprestart - 35860568679.4 23 Sep 2026 12:31PM UTC 241
33.57
GitHub Action Run
5 itest-fabric-iouhsm - 35860568679.5 23 Sep 2026 12:31PM UTC 458
39.63
GitHub Action Run
6 itest-fabric-twonets - 35860568679.6 23 Sep 2026 12:31PM UTC 448
29.2
GitHub Action Run
7 itest-fabric-iou-libp2p - 35860568679.7 23 Sep 2026 12:31PM UTC 458
36.56
GitHub Action Run
8 utest-postgres - 35860568679.8 23 Sep 2026 12:31PM UTC 493
9.79
GitHub Action Run
9 itest-fabric-atsa - 35860568679.9 23 Sep 2026 12:33PM UTC 448
43.7
GitHub Action Run
10 utest-root - 35860568679.10 23 Sep 2026 12:32PM UTC 493
83.0
GitHub Action Run
11 itest-fabricx-iou - 35860568679.11 23 Sep 2026 12:30PM UTC 480
29.35
GitHub Action Run
12 itest-fabric-iou - 35860568679.12 23 Sep 2026 12:34PM UTC 458
40.5
GitHub Action Run
13 itest-fabric-atsachaincode - 35860568679.13 23 Sep 2026 12:31PM UTC 453
30.91
GitHub Action Run
14 itest-fabric-configupdate - 35860568679.14 23 Sep 2026 12:31PM UTC 458
38.83
GitHub Action Run
15 itest-fabricx-atsa - 35860568679.15 23 Sep 2026 12:30PM UTC 480
30.79
GitHub Action Run
16 itest-fabricx-multiendorsement - 35860568679.16 23 Sep 2026 12:29PM UTC 480
28.56
GitHub Action Run
17 itest-fabricx-simple - 35860568679.17 23 Sep 2026 12:30PM UTC 480
27.92
GitHub Action Run
18 itest-fsc-pingpong - 35860568679.18 23 Sep 2026 12:30PM UTC 245
34.96
GitHub Action Run
19 itest-fabric-stoprestart - 35860568679.19 23 Sep 2026 12:32PM UTC 448
31.18
GitHub Action Run
20 itest-fabricx-configupdate - 35860568679.20 23 Sep 2026 12:31PM UTC 480
28.51
GitHub Action Run
21 itest-fabricx-deployment - 35860568679.21 23 Sep 2026 12:29PM UTC 480
28.55
GitHub Action Run
22 itest-fsc-signedpingpong - 35860568679.22 23 Sep 2026 12:30PM UTC 240
31.65
GitHub Action Run
Source Files on build 35860568679
  • Tree
  • List 502
  • Changed 32
  • Source Changed 0
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35860568679
  • 48eb2f36 on github
  • Prev Build on main (#35841090586)
  • Next Build on main (#35860782818)
  • 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