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

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

Build:
Build:
LAST BUILD BRANCH: depgraph/size-scaling
DEFAULT BRANCH: main
Ran 03 Sep 2026 09:07AM 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:01AM UTC coverage: 90.664% (+0.2%) from 90.471%
33736639523

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%)

9 existing lines in 4 files now uncovered.

9410 of 10379 relevant lines covered (90.66%)

11527.79 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
83.7
-2.96% service/vc/committer.go
2
97.37
-2.63% service/verifier/verifier_server.go
2
86.69
0.65% service/vc/database.go
1
94.74
-1.05% mock/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 33736639523.1 03 Sep 2026 09:07AM UTC 134
78.74
GitHub Action Run
2 unit-test - 33736639523.2 03 Sep 2026 09:08AM UTC 96
85.17
GitHub Action Run
3 core-db-test - 33736639523.3 03 Sep 2026 09:07AM UTC 103
47.57
GitHub Action Run
Source Files on build 33736639523
  • Tree
  • List 134
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
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