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

hyperledger / fabric-x-committer / 27186710622
92%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 05:54AM 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

09 Jun 2026 05:51AM UTC coverage: 91.588% (+0.1%) from 91.491%
27186710622

push

github

web-flow
[Coordinator] fix waiting status count (#613)

#### Type of change

- Bug fix
 
#### Description

Track VC-produced transaction statuses separately from the status queue
length so NumberOfWaitingTransactionsForStatus does not count statuses
that are already ready to be sent back to the sidecar.

Use a txStatusQueue to count statuses before enqueueing and roll the
count back if a blocked enqueue is canceled. This avoids a race where a
fast reader could decrement the count before the writer increments it.

Simplify queue handling by removing impossible nil/closed-channel cases
and keep tests focused on count accounting and context cancellation.

#### Related issues

 - resolves #612

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>

85 of 87 new or added lines in 5 files covered. (97.7%)

12 existing lines in 8 files now uncovered.

10419 of 11376 relevant lines covered (91.59%)

41184.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.07
-0.91% service/coordinator/validator_committer_manager.go
1
78.45
1.36% service/sidecar/sidecar.go

Coverage Regressions

Lines Coverage ∆ File
2
93.33
-1.67% mock/coordinator.go
2
94.74
-5.26% utils/dbconn/database_connection.go
2
94.96
-0.51% service/coordinator/coordinator.go
2
93.14
-1.96% mock/vcservice.go
1
92.07
-0.91% service/coordinator/validator_committer_manager.go
1
86.42
-1.23% loadgen/adapters/verifier.go
1
96.63
-1.12% mock/sigverifier.go
1
80.33
-1.64% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 27186710622.1 09 Jun 2026 05:57AM UTC 80
77.05
GitHub Action Run
2 db-test - 27186710622.2 09 Jun 2026 05:57AM UTC 129
83.25
GitHub Action Run
3 core-db-test - 27186710622.3 09 Jun 2026 05:54AM UTC 100
45.25
GitHub Action Run
Source Files on build 27186710622
  • Tree
  • List 129
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 815121e8 on github
  • Prev Build on main (#27125170727)
  • Next Build on main (#27543333514)
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