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

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

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2026 09:23PM 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

15 Sep 2026 09:20PM UTC coverage: 85.706% (+0.02%) from 85.682%
35025060767

push

github

web-flow
refactor!: propagate TLS config errors instead of panicking in websocket host (#1846)

Config.ClientTLSConfig/ServerTLSConfig panicked via utils.MustGet on an
invalid root CA pool or keypair, even though every caller (NewHost, the
endpoint-based provider) already returns error and could propagate it
instead of crashing the process on bad configuration.

NewHost and GetNewHost now propagate that error instead of calling
utils.MustGet themselves, and NewConfigFromProperties (a test helper) moved
from config.go to websocket_test_utils.go and returns (*config, error)
instead of *config, for the same reason.

Every changed function gets a regression test that actually triggers its
error branch (invalid root CA PEM, unreadable key/cert files) rather than
just the happy path, so a dropped error check or wrong wrap message would
be caught.

BREAKING CHANGE: websocket.Config.ClientTLSConfig and ServerTLSConfig now
return (*tls.Config, error) instead of *tls.Config. websocket.NewHost now
returns (*host, error) instead of *host. NewConfigFromProperties moved from
config.go to websocket_test_utils.go and now returns (*config, error)
instead of *config.

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

32 of 36 new or added lines in 3 files covered. (88.89%)

8 existing lines in 3 files now uncovered.

27306 of 31860 relevant lines covered (85.71%)

2771.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
74.24
-2.54% platform/view/services/comm/host/websocket/provider.go

Coverage Regressions

Lines Coverage ∆ File
5
84.49
-1.39% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
92.35
-1.18% platform/fabric/core/generic/ordering/bft.go
1
87.5
-2.08% platform/fabric/events.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-stoprestart - 35025060767.1 15 Sep 2026 09:25PM UTC 449
31.16
GitHub Action Run
2 itest-fabric-events - 35025060767.2 15 Sep 2026 09:25PM UTC 454
29.01
GitHub Action Run
3 utest-extensions - 35025060767.3 15 Sep 2026 09:23PM UTC 8
52.57
GitHub Action Run
4 itest-fabric-atsa - 35025060767.4 15 Sep 2026 09:27PM UTC 449
43.76
GitHub Action Run
5 itest-fabric-twonets - 35025060767.5 15 Sep 2026 09:24PM UTC 449
29.19
GitHub Action Run
6 itest-fabric-iou - 35025060767.6 15 Sep 2026 09:27PM UTC 459
40.42
GitHub Action Run
7 itest-fabric-runtimeconfig - 35025060767.7 15 Sep 2026 09:25PM UTC 459
38.92
GitHub Action Run
8 itest-fabricx-configupdate - 35025060767.8 15 Sep 2026 09:24PM UTC 481
28.5
GitHub Action Run
9 utest-root - 35025060767.9 15 Sep 2026 09:26PM UTC 494
81.62
GitHub Action Run
10 itest-fabric-iouhsm - 35025060767.10 15 Sep 2026 09:26PM UTC 459
39.66
GitHub Action Run
11 itest-fsc-stoprestart - 35025060767.11 15 Sep 2026 09:25PM UTC 243
33.43
GitHub Action Run
12 itest-fsc-signedpingpong - 35025060767.12 15 Sep 2026 09:24PM UTC 242
31.54
GitHub Action Run
13 utest-postgres - 35025060767.13 15 Sep 2026 09:24PM UTC 494
9.7
GitHub Action Run
14 itest-fabric-configupdate - 35025060767.14 15 Sep 2026 09:25PM UTC 459
38.81
GitHub Action Run
15 itest-fabric-atsachaincode - 35025060767.15 15 Sep 2026 09:24PM UTC 454
30.9
GitHub Action Run
16 itest-fsc-pingpong - 35025060767.16 15 Sep 2026 09:25PM UTC 247
34.61
GitHub Action Run
17 itest-fabricx-multiendorsement - 35025060767.17 15 Sep 2026 09:23PM UTC 481
28.53
GitHub Action Run
18 itest-fabricx-iou - 35025060767.18 15 Sep 2026 09:23PM UTC 481
29.36
GitHub Action Run
19 itest-fabric-iou-libp2p - 35025060767.19 15 Sep 2026 09:25PM UTC 459
36.56
GitHub Action Run
20 itest-fabricx-deployment - 35025060767.20 15 Sep 2026 09:23PM UTC 481
28.47
GitHub Action Run
21 itest-fabricx-simple - 35025060767.21 15 Sep 2026 09:23PM UTC 481
27.79
GitHub Action Run
22 itest-fabricx-atsa - 35025060767.22 15 Sep 2026 09:23PM UTC 481
30.79
GitHub Action Run
Source Files on build 35025060767
  • Tree
  • List 503
  • Changed 42
  • Source Changed 3
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35025060767
  • 46957ede on github
  • Prev Build on main (#34966124261)
  • Next Build on main (#35025109872)
  • 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