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

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

Build:
Build:
LAST BUILD BRANCH: bench-report-metrics
DEFAULT BRANCH: main
Ran 20 Jul 2026 02:00PM UTC
Jobs 3
Files 129
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

20 Jul 2026 01:56PM UTC coverage: 91.735% (+0.2%) from 91.545%
29748511094

Pull #685

github

cendhu
[vc, coordinator, verifier] treat _snapshot and _checkpoint as system namespaces

Add committerpb.SnapshotNamespaceID and CheckpointNamespaceID to the
systemNamespaces list so their ns_<id> tables are created via the
existing namespace bootstrap path, alongside _meta and _config. No new
SQL DDL and no timestamp columns.

Recognize _snapshot and _checkpoint as first-class system namespaces
across policy validation, the dependency graph, and the VC preparer,
mirroring existing _meta/_config handling.

- Add utils.IsSystemNamespace covering _meta, _config, _snapshot, and
  _checkpoint, and use it in policy validation and dependency-graph
  read-key construction to avoid duplicating the 4-way guard.
- policy: reject _snapshot/_checkpoint as ordinary application namespace
  policies.
- dependencygraph: skip the normal _meta namespace-version read
  dependency for system namespaces.
- vc preparer: skip the _meta dependency for both; forward the _snapshot
  marker TX to the committer as a single new write into the _snapshot
  namespace (key = tx_id, value = SnapshotState{TxRef}); retain the
  single ReadWrite for _checkpoint. Fail the preparer worker rather than
  silently dropping a _snapshot write, since that would fork state across
  deterministic replicas.

Add table-driven tests for each package.

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #685: [vc, coordinator, verifier] treat _snapshot and _checkpoint as system namespaces

38 of 40 new or added lines in 4 files covered. (95.0%)

14 existing lines in 5 files now uncovered.

10500 of 11446 relevant lines covered (91.74%)

42954.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.92
-0.68% service/vc/preparer.go

Coverage Regressions

Lines Coverage ∆ File
6
85.79
-0.55% service/vc/database.go
4
95.0
-3.33% mock/coordinator.go
2
88.94
-0.88% service/coordinator/validator_committer_manager.go
1
98.88
1.12% mock/sigverifier.go
1
88.99
-0.92% loadgen/adapters/broadcast.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 29748511094.1 20 Jul 2026 02:03PM UTC 93
83.59
GitHub Action Run
2 db-test - 29748511094.2 20 Jul 2026 02:03PM UTC 129
80.03
GitHub Action Run
3 core-db-test - 29748511094.3 20 Jul 2026 02:00PM UTC 100
45.41
GitHub Action Run
Source Files on build 29748511094
  • Tree
  • List 129
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #685
  • PR Base - main (#29747335649)
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