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

Chaguar / committer / 41607624579
91%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 09:06AM UTC
Jobs 3
Files 142
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

03 Nov 2026 09:01AM UTC coverage: 90.854% (-0.04%) from 90.893%
41607624579

push

github

web-flow
[BREAKING] Group database administration under committer db (#903)

#### Type of change

- New feature
- Improvement
- Test update
- Documentation update
- Breaking change

#### Description

Group state database administration under `committer db`:

- Move initialization to `committer db init` and clone deletion to
`committer db clone delete`.
- Add `committer db clone list`, displaying transaction IDs, nonempty
recorded clone names, and statuses in transaction-ID order. Listing
reflects recorded metadata, not physical database existence.
- Support deletion using exactly one nonempty selector: `--tx-id` or
`--name`. Name-based deletion resolves the recorded snapshot before
using the existing status-gated deletion path.
- Collect snapshot records with `pgx.CollectRows` inside the retry
closure, retaining protobuf decoding and transaction-key validation.
- Consolidate DB commands and tests into `db_cmd.go` and
`db_cmd_test.go`.
- Update deployment callers, test-node wiring, and CLI/deployment
documentation.

**Compatibility:** Former top-level `init-db` and `delete-clone`
commands are removed. Update scripts to `db init` and `db clone delete`.
The test-node wrapper operation `run init-db` remains supported.

#### Additional details (Optional)

Verification:

- `make lint-go` passes.
- CLI help documentation regenerated; `scripts/cli_help_docs.sh check`
passes.
- Focused CLI routing, output, selector, and DB integration tests pass
on PostgreSQL.
- Snapshot listing and name-based deletion tests pass on PostgreSQL and
YugabyteDB.
- Existing empty-output test verified red/green for cleared-name
filtering.
- `git diff --check` passes.

Full suite not run locally, per repository guidance; CI remains
responsible for full-suite verification.

#### Related issues

None linked.

---------

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

160 of 182 new or added lines in 3 files covered. (87.91%)

21 existing lines in 5 files now uncovered.

10172 of 11196 relevant lines covered (90.85%)

10867.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
87.69
cmd/committer/db_cmd.go
4
82.21
3.58% utils/statedb/snapshot_state.go
2
82.28
2.97% utils/statedb/snapshot_clone.go

Coverage Regressions

Lines Coverage ∆ File
5
85.5
-1.51% service/vc/database.go
5
90.27
-2.7% service/vc/validator_committer_service.go
5
88.37
-2.91% service/coordinator/validator_committer_manager.go
4
80.88
-0.92% service/sidecar/sidecar.go
2
86.47
-1.5% service/vc/committer.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 41607624579.1 03 Nov 2026 09:07AM UTC 95
86.03
GitHub Action Run
2 core-db-test - 41607624579.2 03 Nov 2026 09:08AM UTC 109
49.54
GitHub Action Run
3 db-test - 41607624579.3 03 Nov 2026 09:06AM UTC 142
78.9
GitHub Action Run
Source Files on build 41607624579
  • Tree
  • List 142
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d777054b on github
  • Prev Build on main (#41452634410)
  • Next Build on main (#43000973265)
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