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

hyperledger / fabric-x-committer / 24121558350
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: dynamic-tls
DEFAULT BRANCH: main
Ran 08 Apr 2026 06:41AM UTC
Jobs 2
Files 128
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

08 Apr 2026 06:11AM UTC coverage: 91.527% (+0.3%) from 91.256%
24121558350

Pull #528

github

cendhu
[viper] Centralize configuration defaults in service packages

  Move hardcoded default values from cmd/config/viper.go to their respective
  service packages (coordinator, verifier, vc, query). Export these
  values as constants so they can be reused by the viper initialization logic.

  This consolidation reduces duplication and ensures that the defaults used
  by the CLI stay in sync with the service implementations.

  Key changes:
   - Exported Default... constants in service/coordinator, service/verifier, service/vc, and service/query.
   - Updated cmd/config/viper.go to use these constants.
   - Updated cmd/config/app_config_test.go to align with the centralized defaults.

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #528: [viper] Centralize configuration defaults in service packages

54 of 57 new or added lines in 5 files covered. (94.74%)

4 existing lines in 4 files now uncovered.

9981 of 10905 relevant lines covered (91.53%)

42677.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
84.38
-2.72% cmd/config/app_config.go
1
96.95
-0.76% utils/deliverorderer/orderer.go

Coverage Regressions

Lines Coverage ∆ File
1
94.95
-1.01% loadgen/adapters/common.go
1
94.17
-0.83% mock/coordinator.go
1
96.95
-0.76% utils/deliverorderer/orderer.go
1
86.42
-1.23% loadgen/adapters/verifier.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 24121558350.1 08 Apr 2026 06:41AM UTC 81
76.12
GitHub Action Run
2 db-test - 24121558350.2 08 Apr 2026 06:42AM UTC 128
84.48
GitHub Action Run
Source Files on build 24121558350
  • Tree
  • List 128
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #528
  • PR Base - main (#24077869260)
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