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

hyperledger / fabric-x-committer / 30427832488
91%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 06:23AM UTC
Jobs 3
Files 131
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

29 Jul 2026 06:20AM UTC coverage: 91.207% (-0.07%) from 91.278%
30427832488

push

github

web-flow
[coordinator] Split the VC request/response API from the VC manager (#713)

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

- Move the load-balanced vcservice connection, and the request/response
calls it serves
(`SetLastCommittedBlockNumber`, `GetNextBlockNumberToCommit`,
`GetTransactionsStatus`,
`GetNamespacePolicies`, `GetConfigTransaction`), out of
`validatorCommitterManager` and into a new
`validatorCommitterAPI`. These calls are served by whichever vcservice
the load-balanced
connection picks and are issued outside the transaction pipeline, so the
manager is now
  responsible only for streaming transactions to the vcservices.
- The coordinator owns the API and creates it in `Run` before starting
the managers. The
`channel.Ready` handshake that existed only to tell the coordinator when
the manager had assigned
its `commonClient` is therefore removed, along with the `WaitForReady`
call in `Run`.
- `newVcMgrTestEnv` waits for the vcservice connections instead of that
handshake, matching what
  `newSvMgrTestEnv` already does for the verifiers.

#### Related issues

- resolves partly #611

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

54 of 67 new or added lines in 2 files covered. (80.6%)

28 existing lines in 7 files now uncovered.

10456 of 11464 relevant lines covered (91.21%)

34931.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
78.0
service/coordinator/validator_committer_api.go
2
94.82
0.15% service/coordinator/coordinator.go

Coverage Regressions

Lines Coverage ∆ File
10
85.26
-2.89% service/vc/database.go
4
94.17
-3.33% mock/coordinator.go
4
79.82
-3.67% service/vc/validator.go
4
87.8
-2.44% service/vc/committer.go
3
91.15
-1.33% service/vc/validator_committer_service.go
2
92.35
-0.53% mock/orderer.go
1
82.0
-2.0% loadgen/adapters/coordinator.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 30427832488.1 29 Jul 2026 06:25AM UTC 95
84.53
GitHub Action Run
2 core-db-test - 30427832488.2 29 Jul 2026 06:23AM UTC 100
46.59
GitHub Action Run
3 db-test - 30427832488.3 29 Jul 2026 06:25AM UTC 131
79.4
GitHub Action Run
Source Files on build 30427832488
  • Tree
  • List 131
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1c633d3a on github
  • Prev Build on main (#30427229518)
  • Next Build on main (#30434633217)
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