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

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

Build:
DEFAULT BRANCH: main
Ran 27 Sep 2026 10:10AM 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

27 Sep 2026 10:08AM UTC coverage: 86.452% (-0.008%) from 86.46%
36311595292

push

github

web-flow
fix(fabricx): implement NewTransactionFromEnvelopeBytes instead of panicking (#1897)

Manager.NewTransactionFromEnvelopeBytes was a stub that always panicked,
reachable through driver.TransactionManager from
endorser.Builder.NewTransactionFromEnvelopeBytes whenever a fabricx network
receives a raw Fabric envelope instead of an FSC-serialized transaction.

Implement it the same way its sibling NewTransactionFromBytes already does
a few lines up: look up the fixed EndorserTransaction factory (fabricx
never registers any other type), create an empty transaction, and delegate
to Transaction.SetFromEnvelopeBytes, which already exists and is
unit-tested on its own. No new parsing logic is needed.

Replace the panic-assertion test with cases covering the same branches as
NewTransactionFromBytes's test: missing factory, factory creation failure,
and SetFromEnvelopeBytes failure. A full success-path envelope isn't built
in the test, matching the existing TestTransactionSetFromEnvelopeBytes,
which also only exercises the error path.

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

11 of 12 new or added lines in 1 file covered. (91.67%)

17 existing lines in 8 files now uncovered.

27733 of 32079 relevant lines covered (86.45%)

2784.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.55
-0.82% platform/fabricx/core/transaction/manager.go

Coverage Regressions

Lines Coverage ∆ File
5
90.76
-1.65% platform/view/services/comm/p2p.go
3
77.11
-1.49% platform/view/services/comm/host/libp2p/host.go
2
87.74
-1.29% platform/view/services/comm/session.go
2
86.43
1.94% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
91.95
-1.34% platform/view/services/metrics/prometheus/provider.go
1
91.67
-1.19% platform/view/services/comm/service.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
1
89.58
0.0% platform/fabric/events.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-stoprestart - 36311595292.1 27 Sep 2026 10:13AM UTC 449
31.24
GitHub Action Run
2 itest-fabric-configupdate - 36311595292.2 27 Sep 2026 10:13AM UTC 459
38.8
GitHub Action Run
3 itest-fabricx-multiendorsement - 36311595292.3 27 Sep 2026 10:11AM UTC 481
28.46
GitHub Action Run
4 itest-fabricx-atsa - 36311595292.4 27 Sep 2026 10:11AM UTC 481
30.6
GitHub Action Run
5 itest-fabric-twonets - 36311595292.5 27 Sep 2026 10:12AM UTC 449
29.24
GitHub Action Run
6 itest-fabric-events - 36311595292.6 27 Sep 2026 10:13AM UTC 454
29.08
GitHub Action Run
7 itest-fabric-iouhsm - 36311595292.7 27 Sep 2026 10:14AM UTC 459
39.71
GitHub Action Run
8 itest-fsc-signedpingpong - 36311595292.8 27 Sep 2026 10:12AM UTC 240
31.63
GitHub Action Run
9 utest-postgres - 36311595292.9 27 Sep 2026 10:12AM UTC 494
9.76
GitHub Action Run
10 utest-root - 36311595292.10 27 Sep 2026 10:14AM UTC 494
83.42
GitHub Action Run
11 itest-fabric-iou-libp2p - 36311595292.11 27 Sep 2026 10:13AM UTC 459
36.55
GitHub Action Run
12 utest-extensions - 36311595292.12 27 Sep 2026 10:11AM UTC 8
52.57
GitHub Action Run
13 itest-fsc-stoprestart - 36311595292.13 27 Sep 2026 10:12AM UTC 241
33.54
GitHub Action Run
14 itest-fabric-iou - 36311595292.14 27 Sep 2026 10:15AM UTC 459
40.38
GitHub Action Run
15 itest-fabric-atsachaincode - 36311595292.15 27 Sep 2026 10:13AM UTC 454
30.95
GitHub Action Run
16 itest-fabric-runtimeconfig - 36311595292.16 27 Sep 2026 10:13AM UTC 459
38.85
GitHub Action Run
17 itest-fabric-atsa - 36311595292.17 27 Sep 2026 10:15AM UTC 449
43.54
GitHub Action Run
18 itest-fabricx-configupdate - 36311595292.18 27 Sep 2026 10:13AM UTC 481
28.43
GitHub Action Run
19 itest-fsc-pingpong - 36311595292.19 27 Sep 2026 10:13AM UTC 245
34.69
GitHub Action Run
20 itest-fabricx-deployment - 36311595292.20 27 Sep 2026 10:11AM UTC 481
28.42
GitHub Action Run
21 itest-fabricx-iou - 36311595292.21 27 Sep 2026 10:11AM UTC 481
29.25
GitHub Action Run
22 itest-fabricx-simple - 36311595292.22 27 Sep 2026 10:10AM UTC 481
27.88
GitHub Action Run
Source Files on build 36311595292
  • Tree
  • List 503
  • Changed 30
  • Source Changed 1
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36311595292
  • c2007b18 on github
  • Prev Build on main (#36309599453)
  • Next Build on main (#36312182522)
  • 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