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

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

Build:
Build:
LAST BUILD BRANCH: bench-report-metrics
DEFAULT BRANCH: main
Ran 31 Mar 2026 04:47AM 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 04:41AM UTC coverage: 91.418% (-0.2%) from 91.57%
23780809492

Pull #496

github

cendhu
restructure CLI command organization

    - 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.

    Closes hyperledger/fabric-x-committer#495

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #496: restructure CLI command organization and remove redundant CLI flags

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

20 existing lines in 5 files now uncovered.

9939 of 10872 relevant lines covered (91.42%)

41885.11 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
96.63
-1.12% mock/sigverifier.go
3
93.14
-2.94% mock/vcservice.go
4
93.16
-1.71% service/vc/validator_committer_service.go
5
82.25
-2.16% service/sidecar/relay.go
7
83.28
-2.17% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 23780809492.1 31 Mar 2026 04:47AM UTC 79
75.37
GitHub Action Run
2 db-test - 23780809492.2 31 Mar 2026 04:47AM UTC 124
84.42
GitHub Action Run
Source Files on build 23780809492
  • Tree
  • List 124
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #496
  • PR Base - main (#23751537229)
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