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

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

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 11:50AM UTC
Jobs 22
Files 498
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

04 Oct 2026 11:47AM UTC coverage: 90.687% (-0.01%) from 90.699%
37199935160

push

github

web-flow
fix(fabric): read the network's client keepalive settings (#2034)

ClientKeepAliveConfig only enabled keepalive when keepalive.interval
was set, a key grpc.ClientKeepAliveConfig does not have. The documented
keys are time, timeout and permit-without-stream, so a node configured
as documented sent no keepalive pings, and a peer connection that died
without an error went unnoticed until the OS TCP keepalive gave up.

Both ClientKeepAliveConfig and ClientConnTimeout also checked for their
key at the configuration root while reading the value under
fabric.<network>, so a network's keepalive.connectionTimeout was
ignored as well. Both now look up fabric.<network>.keepalive.

Keepalive is enabled by a positive keepalive.time. Zero or omitted
disables it: grpc.WithKeepaliveParams would raise a zero time to 10s,
which Fabric peers and orderers reject as too many pings.

TestKeepAliveAccessors loads YAML through the real configuration
provider and covers the documented keys, a zero or missing time, and
connectionTimeout on its own. TestClientKeepAliveConfig_UnmarshalError
now sets a positive time and checks that the section is decoded.

docs/configuration.md documents keepalive.connectionTimeout, says that
zero or omitted time disables keepalive and that values below 10s are
raised to 10s, and warns that Fabric peers and orderers close
connections that ping more often than their minimum interval. The
environment variable example sets KEEPALIVE_TIME instead of
KEEPALIVE_TIMEOUT, which has no effect on its own.

Fixes #2033

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

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

14 existing lines in 5 files now uncovered.

28959 of 31933 relevant lines covered (90.69%)

2786.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
91.42
-1.32% platform/view/services/comm/p2p.go
3
91.67
-3.57% platform/view/services/comm/service.go
3
77.11
-1.49% platform/view/services/comm/host/libp2p/host.go
2
88.39
-1.29% platform/view/services/comm/session.go
2
76.83
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabricx-simple - 37199935160.1 04 Oct 2026 11:50AM UTC 477
27.93
GitHub Action Run
2 itest-fabric-iou-libp2p - 37199935160.2 04 Oct 2026 11:52AM UTC 455
36.68
GitHub Action Run
3 itest-fabric-runtimeconfig - 37199935160.3 04 Oct 2026 11:51AM UTC 455
38.97
GitHub Action Run
4 itest-fabric-events - 37199935160.4 04 Oct 2026 11:52AM UTC 450
29.14
GitHub Action Run
5 utest-extensions - 37199935160.5 04 Oct 2026 11:50AM UTC 8
52.57
GitHub Action Run
6 itest-fabricx-atsa - 37199935160.6 04 Oct 2026 11:50AM UTC 477
30.8
GitHub Action Run
7 utest-postgres - 37199935160.7 04 Oct 2026 11:51AM UTC 489
9.84
GitHub Action Run
8 itest-fabricx-iou - 37199935160.8 04 Oct 2026 11:50AM UTC 477
29.34
GitHub Action Run
9 itest-fabric-atsachaincode - 37199935160.9 04 Oct 2026 11:51AM UTC 450
31.04
GitHub Action Run
10 utest-root - 37199935160.10 04 Oct 2026 11:53AM UTC 489
88.6
GitHub Action Run
11 itest-fabricx-deployment - 37199935160.11 04 Oct 2026 11:51AM UTC 477
28.52
GitHub Action Run
12 itest-fabric-iouhsm - 37199935160.12 04 Oct 2026 11:54AM UTC 455
39.87
GitHub Action Run
13 itest-fabric-iou - 37199935160.13 04 Oct 2026 11:54AM UTC 455
40.52
GitHub Action Run
14 itest-fabricx-multiendorsement - 37199935160.14 04 Oct 2026 11:50AM UTC 477
28.57
GitHub Action Run
15 itest-fabric-atsa - 37199935160.15 04 Oct 2026 11:54AM UTC 445
43.73
GitHub Action Run
16 itest-fabric-stoprestart - 37199935160.16 04 Oct 2026 11:51AM UTC 445
31.38
GitHub Action Run
17 itest-fabricx-configupdate - 37199935160.17 04 Oct 2026 11:51AM UTC 477
28.48
GitHub Action Run
18 itest-fabric-twonets - 37199935160.18 04 Oct 2026 11:52AM UTC 445
29.33
GitHub Action Run
19 itest-fabric-configupdate - 37199935160.19 04 Oct 2026 11:52AM UTC 455
39.01
GitHub Action Run
20 itest-fsc-pingpong - 37199935160.20 04 Oct 2026 11:51AM UTC 244
34.66
GitHub Action Run
21 itest-fsc-stoprestart - 37199935160.21 04 Oct 2026 11:52AM UTC 240
33.47
GitHub Action Run
22 itest-fsc-signedpingpong - 37199935160.22 04 Oct 2026 11:51AM UTC 239
31.59
GitHub Action Run
Source Files on build 37199935160
  • Tree
  • List 498
  • Changed 28
  • Source Changed 1
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37199935160
  • 38ec33b3 on github
  • Prev Build on main (#37007304962)
  • Next Build on main (#37603115914)
  • 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