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

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

Build:
Build:
LAST BUILD BRANCH: query-tls-refresh-ignore-older-config
DEFAULT BRANCH: main
Ran 30 Sep 2026 07:11AM UTC
Jobs 3
Files 141
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

30 Sep 2026 07:01AM UTC coverage: 90.598% (-0.1%) from 90.735%
36681803112

Pull #831

github

cendhu
[vc, sidecar, snapshot-hasher] Abort a snapshot that will never be hashed

#### Type of change

- New feature

#### Description

- Accept abort snapshot transactions under SnapshotEndorsement using
  committerpb.SnapshotAbortKey, without a snapshot submission barrier.
- Reject aborts naming missing, different, or closed snapshots with
  REJECTED_SNAPSHOT_ABORT_NO_SUCH_SNAPSHOT.
- Commit the abort row and ABORTED snapshot status atomically through
  statedb.MarkSnapshotTerminalInTx, allowing subsequent snapshot requests.
- Cancel hashing when a snapshot is aborted and record abandoned jobs
  separately from failures.
- Pin fabric-x-common to v0.2.9-0.20260929152408-38584e47464b,
  including its collision-safe abort key encoding. Update tests and docs.

#### Related issues

- resolves #822

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #831: [vc, sidecar, snapshot-hasher] Abort a snapshot that will never be hashed

142 of 160 new or added lines in 9 files covered. (88.75%)

38 existing lines in 11 files now uncovered.

9867 of 10891 relevant lines covered (90.6%)

9547.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
84.73
7.18% service/snapshothasher/scheduler.go
6
84.96
0.69% service/vc/database_snapshot.go
2
83.01
-2.28% service/vc/database.go
2
96.94
-0.81% service/vc/preparer.go
2
74.07
-4.14% service/vc/validator.go

Coverage Regressions

Lines Coverage ∆ File
6
83.01
-2.28% service/vc/database.go
5
94.39
-2.55% service/coordinator/coordinator.go
4
93.27
-3.85% mock/coordinator.go
4
81.76
-0.46% service/sidecar/sidecar.go
4
74.07
-4.14% service/vc/validator.go
4
86.99
0.55% service/sidecar/mapping.go
3
90.32
-1.61% service/vc/validator_committer_service.go
3
85.71
-3.06% loadgen/adapters/broadcast.go
2
90.58
-0.61% mock/orderer.go
2
86.57
-1.4% service/vc/committer.go
1
96.2
-1.27% mock/sigverifier.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 36681803112.1 30 Sep 2026 07:13AM UTC 95
86.13
GitHub Action Run
2 core-db-test - 36681803112.2 30 Sep 2026 07:14AM UTC 108
49.63
GitHub Action Run
3 db-test - 36681803112.3 30 Sep 2026 07:11AM UTC 141
78.52
GitHub Action Run
Source Files on build 36681803112
  • Tree
  • List 141
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #831
  • PR Base - main (#36565007287)
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