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

hyperledger / fabric-x-committer / 29826905697
91%

Build:
DEFAULT BRANCH: main
Ran 21 Jul 2026 11:42AM UTC
Jobs 3
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

21 Jul 2026 11:38AM UTC coverage: 91.23% (-0.2%) from 91.467%
29826905697

push

github

web-flow
[BREAKING] Add CLI command for database initialization (#617)

#### Type of change

- New feature
- Improvement (code improvement)
- Test update
- Documentation update
- Breaking change
 
#### Description

- Introduces a new committer `init-db` CLI command that allows
administrators to initialize the database (create system tables,
metadata tables, and system namespaces) as a standalone operation before
starting services. The change includes a **BREAKING** API modification:
the SetupSystemTablesAndNamespaces RPC method has been removed from the
`VC` service as database initialization is now performed via CLI instead
of gRPC.

#### Additional details

- Usage example: ```committer init-db --config vc.yaml```

#### Related issues

- resolves #487

---------

Signed-off-by: Dean Amar <Dean.Amar@ibm.com>

116 of 150 new or added lines in 7 files covered. (77.33%)

29 existing lines in 7 files now uncovered.

10309 of 11300 relevant lines covered (91.23%)

33899.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
57.14
cmd/committer/db_init_cmd.go
12
75.0
utils/statedb/dbinit.go
5
95.15
-4.85% cmd/config/viper.go
5
84.06
-1.19% service/vc/database.go

Coverage Regressions

Lines Coverage ∆ File
14
78.45
-2.52% service/sidecar/sidecar.go
4
88.31
-2.6% service/vc/committer.go
3
92.04
-0.54% service/vc/validator_committer_service.go
3
84.06
-1.19% service/vc/database.go
2
85.25
-0.82% service/sidecar/relay.go
2
92.35
-0.53% mock/orderer.go
1
81.67
1.98% loadgen/adapters/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 29826905697.1 21 Jul 2026 11:44AM UTC 93
84.62
GitHub Action Run
2 db-test - 29826905697.2 21 Jul 2026 11:44AM UTC 128
79.15
GitHub Action Run
3 core-db-test - 29826905697.3 21 Jul 2026 11:42AM UTC 98
45.93
GitHub Action Run
Source Files on build 29826905697
  • Tree
  • List 128
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • db00e82c on github
  • Prev Build on main (#29756843948)
  • Next Build on main (#29830255468)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc