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

hyperledger / fabric-x-committer / 33737353773
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: fix-flaky-sv-manager-port-reuse
DEFAULT BRANCH: main
Ran 03 Sep 2026 09:15AM UTC
Jobs 3
Files 134
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

03 Sep 2026 09:07AM UTC coverage: 90.423% (-0.05%) from 90.471%
33737353773

Pull #744

github

liran-funaro
[sidecar] Report each notification stream's block queue

#### Type of change

- New feature

#### Description

- Report each `StreamAllTransactions` subscription's block queue as
  `sidecar_notifier_stream_block_queue_size`, one series per live stream, through
  `monitoring.ChannelLenGaugeVec`. A subscription's queue exists per stream, so a gauge closing
  over a single channel cannot address it.
- Register and unregister alongside the stream, in `registerAllTxStream` and
  `unregisterAllTxStream`, so a finished subscription leaves no series reporting the depth of a
  queue nothing drains.

#### Additional details (Optional)

The `stream` label is a counter, unique only among the live streams, which is all it needs to be
since a series exists only while its stream does. Cardinality therefore follows the number of live
subscriptions rather than growing over time.

Read it with `sum()` for the total or `max()` to catch one saturated stream; `sum` covers only the
live streams.

#### Related issues

- resolves #734
- related to #730

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #744: [sidecar] Report each notification stream's block queue

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

22 existing lines in 6 files now uncovered.

9385 of 10379 relevant lines covered (90.42%)

11638.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
83.44
-2.6% service/vc/database.go
4
94.74
-5.26% service/verifier/verifier_server.go
4
83.7
-2.96% service/vc/committer.go
3
91.3
-1.45% service/vc/validator_committer_service.go
2
91.08
-0.62% mock/orderer.go
1
94.74
-1.05% mock/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 33737353773.1 03 Sep 2026 09:15AM UTC 103
47.47
GitHub Action Run
2 db-test - 33737353773.2 03 Sep 2026 09:15AM UTC 134
78.33
GitHub Action Run
3 unit-test - 33737353773.3 03 Sep 2026 09:16AM UTC 96
85.18
GitHub Action Run
Source Files on build 33737353773
  • Tree
  • List 134
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #744
  • PR Base - main (#33734936218)
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