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

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

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

28 Sep 2026 12:05PM UTC coverage: 86.52% (+0.02%) from 86.5%
36419643532

push

github

web-flow
fix(vfsdk): wrap every view-factory constructor result without IsNil (#1910)

The MakeFunc shim that turns a view-factory constructor into a view-factories group provider tested the returned factory with reflect.Value.IsNil and left nil results unwrapped. IsNil panics for kinds that cannot be nil, so a constructor returning its factory by value, which validateConstructorType accepts, panicked inside the shim. A nil result left unwrapped does not match the shim's declared *factoryEntry return type, so a constructor failing with (nil, err) panicked in reflect.MakeFunc instead of reporting its error.

Wrap the factory unconditionally: factoryEntry.factory is the view.Factory interface, so value, pointer and nil pointer factories are wrapped the same way. When the constructor returns a non-nil error, return it with a zero entry instead, since dig discards the other results of a failed constructor and newEntry rejects the nil view.Factory an interface-typed constructor may return with its error.

Cover a value-typed factory with and without an error return, and failing constructors returning a nil pointer and a nil view.Factory.

Fixes #1909

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

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

2 existing lines in 1 file now uncovered.

27797 of 32128 relevant lines covered (86.52%)

2348.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
83.93
-0.55% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-atsachaincode - 36419643532.1 28 Sep 2026 12:10PM UTC 454
30.93
GitHub Action Run
2 itest-fabric-iouhsm - 36419643532.2 28 Sep 2026 12:11PM UTC 459
39.66
GitHub Action Run
3 itest-fabric-configupdate - 36419643532.3 28 Sep 2026 12:10PM UTC 459
38.85
GitHub Action Run
4 itest-fabricx-multiendorsement - 36419643532.4 28 Sep 2026 12:09PM UTC 481
28.43
GitHub Action Run
5 itest-fsc-pingpong - 36419643532.5 28 Sep 2026 12:10PM UTC 245
34.7
GitHub Action Run
6 itest-fabric-events - 36419643532.6 28 Sep 2026 12:10PM UTC 454
29.04
GitHub Action Run
7 itest-fsc-stoprestart - 36419643532.7 28 Sep 2026 12:11PM UTC 241
33.5
GitHub Action Run
8 itest-fabric-twonets - 36419643532.8 28 Sep 2026 12:10PM UTC 449
29.25
GitHub Action Run
9 itest-fabric-stoprestart - 36419643532.9 28 Sep 2026 12:10PM UTC 449
31.24
GitHub Action Run
10 itest-fabric-iou-libp2p - 36419643532.10 28 Sep 2026 12:10PM UTC 459
36.59
GitHub Action Run
11 itest-fabric-runtimeconfig - 36419643532.11 28 Sep 2026 12:09PM UTC 459
38.86
GitHub Action Run
12 itest-fabric-atsa - 36419643532.12 28 Sep 2026 12:13PM UTC 449
43.66
GitHub Action Run
13 utest-root - 36419643532.13 28 Sep 2026 12:11PM UTC 494
83.45
GitHub Action Run
14 utest-extensions - 36419643532.14 28 Sep 2026 12:08PM UTC 8
52.57
GitHub Action Run
15 utest-postgres - 36419643532.15 28 Sep 2026 12:09PM UTC 494
9.74
GitHub Action Run
16 itest-fabricx-simple - 36419643532.16 28 Sep 2026 12:08PM UTC 481
27.82
GitHub Action Run
17 itest-fabricx-deployment - 36419643532.17 28 Sep 2026 12:08PM UTC 481
28.39
GitHub Action Run
18 itest-fabricx-atsa - 36419643532.18 28 Sep 2026 12:08PM UTC 481
30.57
GitHub Action Run
19 itest-fabric-iou - 36419643532.19 28 Sep 2026 12:13PM UTC 459
40.53
GitHub Action Run
20 itest-fabricx-iou - 36419643532.20 28 Sep 2026 12:08PM UTC 481
29.23
GitHub Action Run
21 itest-fabricx-configupdate - 36419643532.21 28 Sep 2026 12:09PM UTC 481
28.4
GitHub Action Run
22 itest-fsc-signedpingpong - 36419643532.22 28 Sep 2026 12:09PM UTC 240
31.63
GitHub Action Run
Source Files on build 36419643532
  • Tree
  • List 503
  • Changed 31
  • Source Changed 1
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36419643532
  • 91ecc2dd on github
  • Prev Build on main (#36395577099)
  • Next Build on main (#36419883708)
  • 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