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

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

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 09:47AM UTC
Jobs 22
Files 503
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

29 Sep 2026 09:45AM UTC coverage: 86.744% (+0.02%) from 86.722%
36551184958

push

github

web-flow
fix(state)!: return errors instead of panicking from transaction inspection APIs (#1388) (#1928)

endorser.Transaction.Namespaces and state.Namespace's NumInputs, NumOutputs,
Commands, Outputs and Inputs panicked when the RWSet could not be obtained,
a read key or write could not be looked up, or the command header was not
valid JSON. These are data-dependent failures on received transactions, not
internal invariants, so a malformed or unexpected transaction payload
crashed the process instead of surfacing as a recoverable error.

The six methods now return (T, error) and callers handle the error.
Panic-asserting unit tests were rewritten to assert the returned error, and
the integration sample views (iou, atsa, fabricx/simple) were updated to
check it, following each file's existing error-handling idiom.

BREAKING CHANGE: (*endorser.Transaction).Namespaces and
(*state.Namespace).NumInputs, NumOutputs, Commands, Outputs and Inputs now
return (T, error) instead of T. Callers must check the error instead of
relying on a panic to signal a malformed or unreadable transaction.

Closes #1388

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

15 of 15 new or added lines in 2 files covered. (100.0%)

9 existing lines in 3 files now uncovered.

27916 of 32182 relevant lines covered (86.74%)

2332.55 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
85.6
-0.28% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
96.72
-3.28% platform/common/utils/lazy/provider.go
2
92.35
-0.59% platform/fabric/core/generic/ordering/bft.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabricx-multiendorsement - 36551184958.1 29 Sep 2026 09:48AM UTC 481
28.4
GitHub Action Run
2 itest-fabric-stoprestart - 36551184958.2 29 Sep 2026 09:49AM UTC 449
31.21
GitHub Action Run
3 utest-postgres - 36551184958.3 29 Sep 2026 09:49AM UTC 494
9.71
GitHub Action Run
4 itest-fabric-runtimeconfig - 36551184958.4 29 Sep 2026 09:50AM UTC 459
38.8
GitHub Action Run
5 itest-fabricx-simple - 36551184958.5 29 Sep 2026 09:47AM UTC 481
27.79
GitHub Action Run
6 utest-extensions - 36551184958.6 29 Sep 2026 09:47AM UTC 8
52.57
GitHub Action Run
7 itest-fabric-atsachaincode - 36551184958.7 29 Sep 2026 09:48AM UTC 454
30.88
GitHub Action Run
8 itest-fabric-iou-libp2p - 36551184958.8 29 Sep 2026 09:50AM UTC 459
36.54
GitHub Action Run
9 utest-root - 36551184958.9 29 Sep 2026 09:51AM UTC 494
83.74
GitHub Action Run
10 itest-fabric-iouhsm - 36551184958.10 29 Sep 2026 09:51AM UTC 459
39.63
GitHub Action Run
11 itest-fabricx-configupdate - 36551184958.11 29 Sep 2026 09:48AM UTC 481
28.34
GitHub Action Run
12 itest-fabric-events - 36551184958.12 29 Sep 2026 09:50AM UTC 454
29.01
GitHub Action Run
13 itest-fabric-atsa - 36551184958.13 29 Sep 2026 09:52AM UTC 449
43.72
GitHub Action Run
14 itest-fsc-pingpong - 36551184958.14 29 Sep 2026 09:50AM UTC 245
34.6
GitHub Action Run
15 itest-fabricx-atsa - 36551184958.15 29 Sep 2026 09:47AM UTC 481
30.51
GitHub Action Run
16 itest-fabric-twonets - 36551184958.16 29 Sep 2026 09:49AM UTC 449
29.21
GitHub Action Run
17 itest-fsc-stoprestart - 36551184958.17 29 Sep 2026 09:49AM UTC 241
33.45
GitHub Action Run
18 itest-fabric-iou - 36551184958.18 29 Sep 2026 09:51AM UTC 459
40.43
GitHub Action Run
19 itest-fabricx-deployment - 36551184958.19 29 Sep 2026 09:48AM UTC 481
28.35
GitHub Action Run
20 itest-fabricx-iou - 36551184958.20 29 Sep 2026 09:47AM UTC 481
29.18
GitHub Action Run
21 itest-fabric-configupdate - 36551184958.21 29 Sep 2026 09:49AM UTC 459
38.74
GitHub Action Run
22 itest-fsc-signedpingpong - 36551184958.22 29 Sep 2026 09:48AM UTC 240
31.54
GitHub Action Run
Source Files on build 36551184958
  • Tree
  • List 503
  • Changed 27
  • Source Changed 2
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36551184958
  • 3a53768a on github
  • Prev Build on main (#36550489657)
  • Next Build on main (#36563084612)
  • 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