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

hyperledger / fabric-x-committer / 29753106335
91%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:02PM 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

20 Jul 2026 02:59PM UTC coverage: 91.509% (-0.1%) from 91.627%
29753106335

push

github

web-flow
[vc, coordinator, verifier] treat _snapshot and _checkpoint as system namespaces (#685)

#### Type of change

- New feature
 
#### Description

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.

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


#### Additional details (Optional)

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

#### Related issues

 - resolves #657 and #658

---------

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

37 of 39 new or added lines in 4 files covered. (94.87%)

26 existing lines in 5 files now uncovered.

10422 of 11389 relevant lines covered (91.51%)

43008.07 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
13
78.45
-2.33% service/sidecar/sidecar.go
4
79.82
-3.67% service/vc/validator.go
4
84.7
-1.09% service/vc/database.go
3
91.27
-1.31% service/vc/validator_committer_service.go
2
88.94
0.0% service/coordinator/validator_committer_manager.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 29753106335.1 20 Jul 2026 03:04PM UTC 92
84.2
GitHub Action Run
2 core-db-test - 29753106335.2 20 Jul 2026 03:02PM UTC 99
45.73
GitHub Action Run
3 db-test - 29753106335.3 20 Jul 2026 03:04PM UTC 128
79.69
GitHub Action Run
Source Files on build 29753106335
  • Tree
  • List 128
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 87b3c611 on github
  • Prev Build on main (#29751994877)
  • Next Build on main (#29756843948)
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