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

hyperledger / fabric-x-committer / 30915313864
91%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2026 01:48PM UTC
Jobs 3
Files 131
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

04 Aug 2026 01:44PM UTC coverage: 91.125% (+0.1%) from 90.981%
30915313864

push

github

web-flow
[query] Fix batcher reference leak when a view is retired mid-query (#741)

#### Type of change

- Bug fix
- Test update

#### Description

- Mark a `viewHolder` as `retired` under its lock when the view is ended
or times out, and
reject `getBatcher()` on a retired view with `ErrInvalidOrStaleView`. As
both the retirement
and the batcher assignment are made under the view's lock, an assignment
either precedes the
  retirement, which then releases it, or is rejected.
- Add unit tests for both orderings of the race: a query that assigns a
batcher only after its
view was retired, either ended or timed out, and a batcher assigned just
before the retirement.

#### Additional details (Optional)

The tests relist the retired view's holder in `viewIDToViewHolder` to
emulate a query that
resolved the holder before the retirement, as such a query cannot be
descheduled deterministically.

#### Related issues

- resolves #740

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

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

13 existing lines in 7 files now uncovered.

10606 of 11639 relevant lines covered (91.12%)

34379.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
85.07
-1.69% service/vc/database.go
2
94.42
-0.86% service/coordinator/coordinator.go
1
78.29
1.16% service/sidecar/sidecar.go
1
86.42
-1.23% loadgen/adapters/verifier.go
1
96.63
-1.12% mock/sigverifier.go
1
94.95
-1.01% loadgen/adapters/common.go
1
80.33
-1.64% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 30915313864.1 04 Aug 2026 01:49PM UTC 131
79.02
GitHub Action Run
2 unit-test - 30915313864.2 04 Aug 2026 01:50PM UTC 95
84.54
GitHub Action Run
3 core-db-test - 30915313864.3 04 Aug 2026 01:48PM UTC 100
46.99
GitHub Action Run
Source Files on build 30915313864
  • Tree
  • List 131
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 93096959 on github
  • Prev Build on main (#30914533709)
  • Next Build on main (#30988812892)
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