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

hyperledger-labs / fabric-smart-client / 28500805867
77%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 07:30AM UTC
Jobs 15
Files 530
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

01 Jul 2026 07:23AM UTC coverage: 75.878% (+0.04%) from 75.838%
28500805867

push

github

web-flow
feat(fabric/config): make PKCS11 SessionCacheSize configurable (#1547)

* feat(fabric/config): make PKCS11 SessionCacheSize configurable

The PKCS11 session cache size was hardcoded to the fabric-lib-go default
of 10, with no way to set it from the MSP PKCS11 config. On nodes that
drive a large, concurrent PKCS11/HSM signing workload this caps the
session pool and serializes signing under load.

fabric-lib-go v1.1.4 exposes SessionCacheSize on bccsp/pkcs11.PKCS11Opts,
so bump to it and plumb the value through:

- add SessionCacheSize to config.PKCS11 and to the !pkcs11 build-tag stub
  so both build variants compile;
- pass it into PKCS11Opts in the x509 ToPKCS11OptsOpts converters (the
  package-level call site in config.go and the pkcs11-tag sub-package).

Default (omitted) keeps current behavior: zero, which fabric-lib-go maps
to its default cache size of 10.

Signed-off-by: Evan <evanyan@sign.global>

* feat(integration/nwo): wire PKCS11 SessionCacheSize through the NWO converter

The NWO test-network PKCS11 converter (ToPKCS11Opts) read config.PKCS11 but
dropped SessionCacheSize, so a configured value was silently lost when
spinning up integration test networks. Bump this module's fabric-lib-go to
v1.1.4 (matching the root module) and forward the field, mirroring the
production x509 path.

Signed-off-by: Evan <evanyan@sign.global>

* chore(comm/libp2p): bump fabric-lib-go to v1.1.4 to keep modules aligned

This module does not use the PKCS11 changes; the bump only keeps the
fabric-lib-go version consistent across all modules in the repo.

Signed-off-by: Evan <evanyan@sign.global>

* docs(fabric/config): document PKCS11 SessionCacheSize in core.yaml

Add the SessionCacheSize option to the PKCS11 section of the core.yaml
reference in docs/configuration.md, per review feedback on #1547.

Refs #1546

Signed-off-by: Evan <evanyan@sign.global>

---------

Signed-off-by: Evan <evanyan@sign.global>

9 of 18 new or added lines in 2 files covered. (50.0%)

29713 of 39159 relevant lines covered (75.88%)

3058.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
16.67
0.0% platform/fabric/core/generic/msp/x509/pkcs11/pkcs11.go
Jobs
ID Job ID Ran Files Coverage
14 utest-postgres - 28500805867.14 01 Jul 2026 07:30AM UTC 521
7.71
GitHub Action Run
15 utest - 28500805867.15 01 Jul 2026 07:31AM UTC 521
60.76
GitHub Action Run
7 itest-fsc-stoprestart - 27540653510.7 15 Jun 2026 10:48AM UTC 270
29.13
GitHub Action Run
3 itest-fabricx-deployment - 27540653510.3 15 Jun 2026 10:45AM UTC 499
26.12
GitHub Action Run
9 itest-fabric-iou - 27540653510.9 15 Jun 2026 10:54AM UTC 482
37.87
GitHub Action Run
12 itest-fabric-twonets - 27540653510.12 15 Jun 2026 10:50AM UTC 472
27.38
GitHub Action Run
8 itest-fabric-stoprestart - 27540653510.8 15 Jun 2026 10:54AM UTC 472
29.07
GitHub Action Run
1 itest-fsc-pingpong - 27540653510.1 15 Jun 2026 10:50AM UTC 270
30.55
GitHub Action Run
2 itest-fabric-events - 27540653510.2 15 Jun 2026 10:50AM UTC 477
25.84
GitHub Action Run
5 itest-fabric-atsa - 27540653510.5 15 Jun 2026 10:52AM UTC 472
40.79
GitHub Action Run
10 itest-fabric-iouhsm - 27540653510.10 15 Jun 2026 10:53AM UTC 482
37.15
GitHub Action Run
13 itest-fabricx-simple - 27540653510.13 15 Jun 2026 10:45AM UTC 499
25.39
GitHub Action Run
14 itest-fabricx-iou - 27540653510.14 15 Jun 2026 10:45AM UTC 501
26.45
GitHub Action Run
15 itest-fabricx-multiendorsement - 27540653510.15 15 Jun 2026 10:45AM UTC 499
26.1
GitHub Action Run
11 itest-fabric-atsachaincode - 27540653510.11 15 Jun 2026 10:50AM UTC 477
28.36
GitHub Action Run
Source Files on build 28500805867
  • Tree
  • List 530
  • Changed 24
  • Source Changed 4
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28500805867
  • b3c5f539 on github
  • Prev Build on main (#28499798421)
  • Next Build on main (#28503797759)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc