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

hyperledger / fabric-x-committer / 22547416404
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: test-coverage-improve
DEFAULT BRANCH: main
Ran 01 Mar 2026 04:25PM UTC
Jobs 2
Files 114
Run time 1min
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 Mar 2026 04:12PM UTC coverage: 89.405% (-0.1%) from 89.546%
22547416404

Pull #392

github

dean-amar
This update introduces dynamic TLS root CA rotation across the platform by adding the utils/dynamictls package for certificate extraction and a new CreateServerTLSConfigWithDynamic method that merges static YAML CAs with live-loaded certificates during handshakes. The architecture is powered by the DynamicService interface and dedicated entry points like RunGrpcDynamicServer that wire atomic certificate updates to the gRPC layer. Both the Sidecar and Query Service implement this interface—the former updating immediately upon receiving config blocks from the orderer, and the latter performing periodic, optimized refreshes from the state database via a configurable ca-fetch-interval. These changes are supported by new testing helpers in utils/test and comprehensive documentation in docs/tls-configurations.md covering the rotation mechanism and configuration.

Signed-off-by: Dean Amar <Dean.Amar@ibm.com>
Pull Request #392: [sidecar & query] Add Dynamic client CAs updates without service restart

220 of 277 new or added lines in 8 files covered. (79.42%)

14 existing lines in 5 files now uncovered.

9147 of 10231 relevant lines covered (89.4%)

1.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.65
-3.35% utils/connection/config.go
6
73.91
utils/dynamictls/tls.go
8
76.81
1.81% utils/connection/tls.go
12
84.43
-1.28% utils/connection/server_util.go
14
81.79
1.55% service/sidecar/sidecar.go
15
80.57
-2.51% service/query/query_service.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.34
-1.22% mock/sigverifier.go
2
97.87
-2.13% service/verifier/verifier_server.go
3
93.14
-2.94% mock/vcservice.go
4
93.16
-1.71% service/vc/validator_committer_service.go
4
84.43
-1.28% utils/connection/server_util.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 22547416404.1 01 Mar 2026 04:25PM UTC 114
84.01
GitHub Action Run
2 unit-test - 22547416404.2 01 Mar 2026 04:26PM UTC 70
66.86
GitHub Action Run
Source Files on build 22547416404
  • Tree
  • List 114
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #392
  • PR Base - main (#22541944336)
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