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

hyperledger / fabric-x-committer / 29421861922
92%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 02:05PM 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

15 Jul 2026 02:03PM UTC coverage: 91.699% (+0.07%) from 91.632%
29421861922

push

github

web-flow
[coordinator] fix deadlock waiting for pending transactions (#649)

#### Type of change

- Bug fix

#### Description

While the sidecar stream is inactive, the VC keeps filling the
coordinator's
bounded status queue, but its only drainer (`sendTxStatus`) is gone with
the
stream. If the in-flight backlog exceeds the queue capacity, the VC
blocks on the
full queue and recovery deadlocks: the sidecar won't reconnect until
`NoPendingTransactionProcessing` reports idle, which can't happen while
the VC is
blocked.

Fix by draining and discarding queued statuses in
`NoPendingTransactionProcessing`
(polled during recovery). This unblocks the VC so it can finish.
Discarding is
safe — statuses are durable in the state DB and recovered via
`GetTransactionsStatus`, never from this queue.

Adds a regression test reproducing the deadlock.

#### Related issues

 - resolves #616

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

11 of 11 new or added lines in 2 files covered. (100.0%)

16 existing lines in 5 files now uncovered.

10450 of 11396 relevant lines covered (91.7%)

43269.12 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
91.98
-2.83% service/coordinator/signature_verifier_manager.go
4
95.0
-2.5% mock/coordinator.go
2
97.83
-2.17% service/verifier/verifier_server.go
2
86.34
-0.55% service/vc/database.go
2
85.76
-0.68% service/query/batcher.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 29421861922.1 15 Jul 2026 02:09PM UTC 93
83.72
GitHub Action Run
2 db-test - 29421861922.2 15 Jul 2026 02:09PM UTC 129
80.12
GitHub Action Run
3 core-db-test - 29421861922.3 15 Jul 2026 02:05PM UTC 100
45.16
GitHub Action Run
Source Files on build 29421861922
  • Tree
  • List 129
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d6f5d450 on github
  • Prev Build on main (#29252954204)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc