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

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

Build:
Build:
LAST BUILD BRANCH: queue-gauge-per-stream
DEFAULT BRANCH: main
Ran 28 Jul 2026 11:27AM 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

28 Jul 2026 11:22AM UTC coverage: 91.375% (+0.08%) from 91.291%
30354642771

Pull #710

github

liran-funaro
[coordinator] Fix VC manager in-flight transaction tracking

#### Type of change

- Bug fix
- Test update

#### Description

- Return the transactions to `txBeingValidated` when forwarding their results fails, so that
  `recoverPendingTransactions` can re-queue them instead of dropping them. The signature verifier
  manager already guards this invariant, the VC manager did not.
- Move the map insertion into a new `addTxsBeingValidated`, mirroring the verifier manager, so the
  key is computed in one place.
- Key `validatorCommitter.txBeingValidated` by `servicepb.Height` rather than `TxRef.TxId`, again
  mirroring the verifier manager. The height is the transaction's own identity within the block, so
  matching a status back to its node no longer depends on transaction IDs being unique among the
  transactions currently in flight.

#### Additional details (Optional)

The failed-forward re-add is currently reachable only while the manager itself is tearing down,
because both output writes are bound to the manager's context rather than the stream's. It is
guarded here so the invariant holds regardless of how those contexts are wired later.

`TestValidatorCommitterAddAndRecoverPendingTxs` covers the add/recover round trip that the guard
relies on.

#### Related issues

- resolves #608

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #710: [coordinator] Fix VC manager in-flight transaction tracking

7 of 9 new or added lines in 1 file covered. (77.78%)

20 existing lines in 8 files now uncovered.

10351 of 11328 relevant lines covered (91.38%)

34272.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.08
-0.6% service/coordinator/validator_committer_manager.go

Coverage Regressions

Lines Coverage ∆ File
7
79.07
0.78% service/sidecar/sidecar.go
3
84.84
-1.23% service/sidecar/relay.go
2
94.74
-5.26% utils/statedb/database_connection.go
2
97.83
-2.17% service/verifier/verifier_server.go
2
94.67
-0.82% service/coordinator/coordinator.go
2
85.8
1.16% service/vc/database.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 - 30354642771.1 28 Jul 2026 11:30AM UTC 94
84.63
GitHub Action Run
2 db-test - 30354642771.2 28 Jul 2026 11:30AM UTC 129
79.53
GitHub Action Run
3 core-db-test - 30354642771.3 28 Jul 2026 11:27AM UTC 99
46.17
GitHub Action Run
Source Files on build 30354642771
  • Tree
  • List 129
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #710
  • 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