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

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

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

24 Sep 2026 08:41PM UTC coverage: 86.339% (+0.03%) from 86.313%
36056587838

push

github

web-flow
fix(grpc): report an error from SetClientRootCAs when TLS is disabled (#1885)

SetClientRootCAs ended in gServer.tls.SetClientCAs without checking that
gServer.tls is set. The field is assigned only in the UseTLS branch of the
constructor, so on a server created without TLS it is nil and the call
panicked: TLSConfig.SetClientCAs takes its lock as the first statement, so
a nil receiver fails immediately. The method is exported and needs no
special input to reach.

Guard it with TLSEnabled, which exists for this check and which
MutualTLSRequired already uses before dereferencing the same field, and
report the missing configuration as an error. Calling it while gServer.lock
is held is safe: TLSEnabled takes no lock, and gServer.tls is written once
during construction.

The internal appendClientRootCA dereferences the same field but runs only
inside the UseTLS branch, so it is left unchanged.

Fixes #1884

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

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

5 existing lines in 2 files now uncovered.

27708 of 32092 relevant lines covered (86.34%)

2754.07 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
45.45
-27.27% platform/view/services/storage/driver/sql/postgres/errormapper.go
2
92.86
-2.38% platform/view/services/comm/service.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-runtimeconfig - 36056587838.1 24 Sep 2026 08:46PM UTC 459
39.0
GitHub Action Run
2 itest-fabricx-configupdate - 36056587838.2 24 Sep 2026 08:45PM UTC 481
28.41
GitHub Action Run
3 utest-extensions - 36056587838.3 24 Sep 2026 08:44PM UTC 8
52.57
GitHub Action Run
4 itest-fabricx-multiendorsement - 36056587838.4 24 Sep 2026 08:44PM UTC 481
28.46
GitHub Action Run
5 itest-fabric-stoprestart - 36056587838.5 24 Sep 2026 08:45PM UTC 449
31.2
GitHub Action Run
6 itest-fabric-twonets - 36056587838.6 24 Sep 2026 08:46PM UTC 449
29.22
GitHub Action Run
7 utest-postgres - 36056587838.7 24 Sep 2026 08:45PM UTC 494
9.75
GitHub Action Run
8 utest-root - 36056587838.8 24 Sep 2026 08:47PM UTC 494
83.14
GitHub Action Run
9 itest-fabric-iou-libp2p - 36056587838.9 24 Sep 2026 08:46PM UTC 459
36.51
GitHub Action Run
10 itest-fabric-atsachaincode - 36056587838.10 24 Sep 2026 08:45PM UTC 454
30.93
GitHub Action Run
11 itest-fabric-events - 36056587838.11 24 Sep 2026 08:46PM UTC 454
29.05
GitHub Action Run
12 itest-fabric-configupdate - 36056587838.12 24 Sep 2026 08:46PM UTC 459
38.76
GitHub Action Run
13 itest-fsc-pingpong - 36056587838.13 24 Sep 2026 08:46PM UTC 245
34.76
GitHub Action Run
14 itest-fabricx-simple - 36056587838.14 24 Sep 2026 08:44PM UTC 481
27.87
GitHub Action Run
15 itest-fabric-atsa - 36056587838.15 24 Sep 2026 08:48PM UTC 449
43.65
GitHub Action Run
16 itest-fabric-iou - 36056587838.16 24 Sep 2026 08:48PM UTC 459
40.5
GitHub Action Run
17 itest-fsc-signedpingpong - 36056587838.17 24 Sep 2026 08:44PM UTC 240
31.61
GitHub Action Run
18 itest-fabric-iouhsm - 36056587838.18 24 Sep 2026 08:47PM UTC 459
39.76
GitHub Action Run
19 itest-fsc-stoprestart - 36056587838.19 24 Sep 2026 08:46PM UTC 241
33.5
GitHub Action Run
20 itest-fabricx-deployment - 36056587838.20 24 Sep 2026 08:44PM UTC 481
28.42
GitHub Action Run
21 itest-fabricx-atsa - 36056587838.21 24 Sep 2026 08:44PM UTC 481
30.68
GitHub Action Run
22 itest-fabricx-iou - 36056587838.22 24 Sep 2026 08:44PM UTC 481
29.25
GitHub Action Run
Source Files on build 36056587838
  • Tree
  • List 503
  • Changed 25
  • Source Changed 1
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36056587838
  • 4b4a103e on github
  • Prev Build on main (#36018661267)
  • Next Build on main (#36057013037)
  • 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