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

hyperledger / fabric-x-committer / 30427229518
91%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 06:12AM 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

29 Jul 2026 06:08AM UTC coverage: 91.278% (-0.004%) from 91.282%
30427229518

push

github

web-flow
[coordinator] Fix VC manager in-flight transaction tracking (#710)

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

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

17 existing lines in 6 files now uncovered.

10455 of 11454 relevant lines covered (91.28%)

34207.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.21
-1.48% service/coordinator/validator_committer_manager.go

Coverage Regressions

Lines Coverage ∆ File
6
91.94
-2.84% service/coordinator/signature_verifier_manager.go
4
95.65
-4.35% service/verifier/verifier_server.go
2
88.21
-1.48% service/coordinator/validator_committer_manager.go
2
95.58
-1.77% mock/vcservice.go
2
94.74
-5.26% utils/statedb/database_connection.go
1
78.29
-0.19% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 30427229518.1 29 Jul 2026 06:14AM UTC 94
84.5
GitHub Action Run
2 core-db-test - 30427229518.2 29 Jul 2026 06:12AM UTC 100
46.59
GitHub Action Run
3 db-test - 30427229518.3 29 Jul 2026 06:14AM UTC 130
79.4
GitHub Action Run
Source Files on build 30427229518
  • Tree
  • List 130
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b3badc3d on github
  • Prev Build on main (#30372655358)
  • Next Build on main (#30427832488)
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