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

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

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 03:16PM UTC
Jobs 22
Files 503
Run time 3min
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 03:14PM UTC coverage: 86.313% (-0.006%) from 86.319%
36018661267

push

github

web-flow
fix(kvs): reject a cache size below 1 instead of panicking on the first write (#1883)

CacheSizeFromConfig validated only cacheSize < 0 and returned a configured
0 unchanged. KVS.New passes that straight to secondcache.New, which
allocates a fixed slice of that length, so the first write panicked with
"index out of range [0] with length 0": addLocked finds num < size false
when both are 0, enters the victim scan, and indexes an empty slice.
GetOrLoad reaches the same code, and NewBytes mirrors it with an
unbounded scan loop.

The KVS cannot honour 0 as "caching disabled": the cache interface has one
implementation, KVS.New hardwires it, and all nine call sites use it
unconditionally. That is unlike vault.NewCachedVault, where 0 selects a
bypassing notCachedStore. Since newKVS already propagates a config error
and fails startup, report the invalid size there rather than constructing
a cache that cannot work.

Document the minimum on both constructors and resolve the open question
about 0 in the core.yaml reference.

Fixes #1882

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

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

16 existing lines in 6 files now uncovered.

27697 of 32089 relevant lines covered (86.31%)

2350.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
84.49
-1.39% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
3
92.08
-0.33% platform/view/services/comm/p2p.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
92.35
-0.59% platform/fabric/core/generic/ordering/bft.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-iou - 36018661267.1 24 Sep 2026 03:20PM UTC 459
40.37
GitHub Action Run
2 itest-fabric-twonets - 36018661267.2 24 Sep 2026 03:18PM UTC 449
29.23
GitHub Action Run
3 itest-fabric-atsa - 36018661267.3 24 Sep 2026 03:20PM UTC 449
43.73
GitHub Action Run
4 itest-fabric-configupdate - 36018661267.4 24 Sep 2026 03:18PM UTC 459
38.79
GitHub Action Run
5 itest-fabricx-deployment - 36018661267.5 24 Sep 2026 03:16PM UTC 481
28.41
GitHub Action Run
6 itest-fabric-iouhsm - 36018661267.6 24 Sep 2026 03:19PM UTC 459
39.72
GitHub Action Run
7 utest-root - 36018661267.7 24 Sep 2026 03:19PM UTC 494
83.11
GitHub Action Run
8 itest-fabric-events - 36018661267.8 24 Sep 2026 03:19PM UTC 454
29.06
GitHub Action Run
9 itest-fabric-iou-libp2p - 36018661267.9 24 Sep 2026 03:19PM UTC 459
36.56
GitHub Action Run
10 utest-extensions - 36018661267.10 24 Sep 2026 03:16PM UTC 8
52.57
GitHub Action Run
11 itest-fsc-stoprestart - 36018661267.11 24 Sep 2026 03:18PM UTC 241
33.55
GitHub Action Run
12 itest-fabric-atsachaincode - 36018661267.12 24 Sep 2026 03:18PM UTC 454
30.89
GitHub Action Run
13 itest-fabric-stoprestart - 36018661267.13 24 Sep 2026 03:19PM UTC 449
31.18
GitHub Action Run
14 utest-postgres - 36018661267.14 24 Sep 2026 03:18PM UTC 494
9.75
GitHub Action Run
15 itest-fsc-signedpingpong - 36018661267.15 24 Sep 2026 03:17PM UTC 240
31.63
GitHub Action Run
16 itest-fabricx-atsa - 36018661267.16 24 Sep 2026 03:16PM UTC 481
30.72
GitHub Action Run
17 itest-fabricx-configupdate - 36018661267.17 24 Sep 2026 03:18PM UTC 481
28.42
GitHub Action Run
18 itest-fabric-runtimeconfig - 36018661267.18 24 Sep 2026 03:19PM UTC 459
38.89
GitHub Action Run
19 itest-fabricx-multiendorsement - 36018661267.19 24 Sep 2026 03:16PM UTC 481
28.46
GitHub Action Run
20 itest-fabricx-simple - 36018661267.20 24 Sep 2026 03:16PM UTC 481
27.86
GitHub Action Run
21 itest-fabricx-iou - 36018661267.21 24 Sep 2026 03:16PM UTC 481
29.26
GitHub Action Run
22 itest-fsc-pingpong - 36018661267.22 24 Sep 2026 03:18PM UTC 245
34.66
GitHub Action Run
Source Files on build 36018661267
  • Tree
  • List 503
  • Changed 23
  • Source Changed 2
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36018661267
  • 0021abd8 on github
  • Prev Build on main (#36018268770)
  • Next Build on main (#36056587838)
  • 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