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

hyperledger / fabric-x-committer / 24183740360
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: coordinator-test-no-db
DEFAULT BRANCH: main
Ran 09 Apr 2026 09:54AM 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

09 Apr 2026 09:46AM UTC coverage: 91.334% (-0.1%) from 91.476%
24183740360

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%)

27 existing lines in 9 files now uncovered.

9960 of 10905 relevant lines covered (91.33%)

42070.49 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
7
83.13
-2.32% service/sidecar/sidecar.go
4
93.16
-1.71% service/vc/validator_committer_service.go
4
80.0
-3.64% service/vc/validator.go
4
84.32
0.54% service/vc/database.go
3
82.97
-0.58% service/sidecar/relay.go
2
92.2
-0.92% service/coordinator/signature_verifier_manager.go
1
98.88
1.12% mock/sigverifier.go
1
96.95
-0.76% utils/deliverorderer/orderer.go
1
88.99
-0.92% loadgen/adapters/broadcast.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 24183740360.1 09 Apr 2026 09:54AM UTC 81
76.12
GitHub Action Run
2 db-test - 24183740360.2 09 Apr 2026 10:16AM UTC 128
84.28
GitHub Action Run
Source Files on build 24183740360
  • Tree
  • List 128
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #528
  • PR Base - main (#24178455311)
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