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

hyperledger / fabric-x-committer / 23785829163
91%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 07:38AM UTC
Jobs 2
Files 124
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

31 Mar 2026 07:32AM UTC coverage: 91.198% (-0.4%) from 91.57%
23785829163

push

github

web-flow
[cmd] restructure and remove redundant flags (#496)

#### Type of change

- Improvement (improvement to code, performance, etc)
 
#### Description

- Move start commands from cmd/config/cmd.go to
cmd/committer/start_cmd.go
- Consolidate start commands using switch-case pattern, eliminating
duplication
- Create cmd/cliutil package for shared CLI utilities (VersionCmd,
SetDefaultFlags)
   - Move test helpers from cmd/config to cmd/cliutil/test_exports.go
- Remove redundant CLI flags (--endpoint, --metrics-endpoint, --verbose,
--parallelism, --ledger-path, etc.) that duplicate YAML/env var config
   - Simplify SetDefaultFlags to only register --config flag
- Remove unused CobraInt/CobraString/CobraBool/CobraDuration flag
helpers

   The config package retains config-reading utilities, viper defaults,
    and template definitions. Command wiring is now colocated with the
    binary that uses it.

    

#### Related issues

 - resolves hyperledger/fabric-x-committer#495

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>

67 of 83 new or added lines in 3 files covered. (80.72%)

32 existing lines in 9 files now uncovered.

9915 of 10872 relevant lines covered (91.2%)

42782.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
16
76.12
cmd/committer/start_cmd.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.95
-1.01% loadgen/adapters/common.go
1
96.63
-1.12% mock/sigverifier.go
2
90.37
-0.62% mock/orderer.go
3
93.59
-1.28% service/vc/validator_committer_service.go
3
93.14
-2.94% mock/vcservice.go
3
83.12
-1.3% service/sidecar/relay.go
4
88.61
-2.53% service/vc/committer.go
7
83.28
-2.17% service/sidecar/sidecar.go
8
82.7
-2.16% service/vc/database.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 23785829163.1 31 Mar 2026 07:38AM UTC 124
84.33
GitHub Action Run
2 unit-test - 23785829163.2 31 Mar 2026 07:38AM UTC 79
75.33
GitHub Action Run
Source Files on build 23785829163
  • Tree
  • List 124
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe43764e on github
  • Prev Build on main (#23751537229)
  • Next Build on main (#23796255643)
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