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

hyperledger / fabric-x-common / 39776640765
82%
main: 82%

Build:
Build:
LAST BUILD BRANCH: issue-231-checktxid
DEFAULT BRANCH: main
Ran 22 Oct 2026 12:15PM UTC
Jobs 1
Files 200
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

22 Oct 2026 12:13PM UTC coverage: 82.142% (+0.004%) from 82.138%
39776640765

Pull #228

github

liran-funaro
[blocksprovider] Fix BFT censorship monitor stop race and flaky deliverer test

#### Type of change

- Bug fix
- Test update

#### Description

- `BFTCensorshipMonitor.launchHeaderReceivers()` does nothing once the monitor is stopped, so `Monitor()` can no longer start header receivers that are never stopped.
- The BFT deliverer test fake now ends each deliver stream only when its own connection context is cancelled, like gRPC. Previously, all streams shared one fake whose `CloseSend` pushed an error onto the shared response channel, so a late-closing old stream could fail the stream that replaced it. The `CloseSendStub = nil` workarounds in `TestBFTDeliverer_BlockReception` are no longer needed and are removed.

#### Additional details (Optional)

Ran both tests 150 times each with `-race -cpu 1,2,4` and no failures. Before the fix, the same run reproduced the #155 panic; #128 did not reproduce locally, so its fix rests on the CI log.

#### Related issues

- resolves #128
- resolves #155

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #228: [blocksprovider] Fix BFT censorship monitor stop race and flaky deliverer test

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

13831 of 16838 relevant lines covered (82.14%)

0.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
94.19
-1.16% common/deliverclient/blocksprovider/block_receiver.go
Jobs
ID Job ID Ran Files Coverage
1 39776640765.1 22 Oct 2026 12:15PM UTC 200
82.14
GitHub Action Run
Source Files on build 39776640765
  • Tree
  • List 200
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #228
  • PR Base - main (#39773948939)
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