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

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

Build:
Build:
LAST BUILD BRANCH: fix/696-integration-port-reservation
DEFAULT BRANCH: main
Ran 28 Jul 2026 12:33PM UTC
Jobs 3
Files 130
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

28 Jul 2026 11:54AM UTC coverage: 91.308% (+0.02%) from 91.291%
30359199169

Pull #713

github

liran-funaro
[coordinator] Split the VC request/response API from the VC manager

#### 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>
Pull Request #713: [coordinator] Split the VC request/response API from the VC manager

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

6 existing lines in 4 files now uncovered.

10347 of 11332 relevant lines covered (91.31%)

34876.67 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
2
92.05
2.36% service/coordinator/validator_committer_manager.go
2
94.82
-0.67% service/coordinator/coordinator.go
1
86.42
-1.23% loadgen/adapters/verifier.go
1
82.09
-1.49% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 30359199169.1 28 Jul 2026 12:36PM UTC 95
84.58
GitHub Action Run
2 core-db-test - 30359199169.2 28 Jul 2026 12:33PM UTC 99
46.15
GitHub Action Run
3 db-test - 30359199169.3 28 Jul 2026 12:36PM UTC 130
79.6
GitHub Action Run
Source Files on build 30359199169
  • Tree
  • List 130
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #713
  • PR Base - main (#30346792200)
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