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

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

Build:
Build:
LAST BUILD BRANCH: sidecar-relay-single-owner-tracking
DEFAULT BRANCH: main
Ran 03 Sep 2026 09:14AM 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:04AM UTC coverage: 90.614% (+0.1%) from 90.471%
33737351482

Pull #737

github

liran-funaro
[verifier] Report the per-stream executor queues

#### Type of change

- New feature

#### Description

- Add `monitoring.ChannelLenGaugeVec[T]`, a collector for a queue that exists once per stream or
  worker. `Register`/`Unregister` add and remove a channel and `Collect` reads each live one, so
  cardinality follows the number of live streams and a finished stream leaves no series behind.
  Re-registering the same label values replaces the channel, since prometheus rejects a duplicate
  series mid-scrape.
- Report the verifier's three `parallelExecutor` queues through it, one series per stream. A new
  executor exists per stream, so a gauge closing over a single channel cannot address them.
  `StartStream` registers them when it creates the executor and unregisters them on return.

#### Additional details (Optional)

`prometheus` has no `GaugeFuncVec`, which is why this is a custom `Collector` rather than another
wrapper over `NewGaugeFunc`. 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.

Read these with `sum()` for the total across streams or `max()` to catch one saturated worker
while the total still looks healthy; `sum` covers only the live streams.

#### Related issues

- resolves partly #734
- related to #730

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #737: [verifier] Report the per-stream executor queues

72 of 72 new or added lines in 3 files covered. (100.0%)

6 existing lines in 3 files now uncovered.

9393 of 10366 relevant lines covered (90.61%)

12050.52 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
94.74
-5.26% service/verifier/verifier_server.go
1
97.12
2.88% mock/coordinator.go
1
94.74
-1.05% mock/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 33737351482.1 03 Sep 2026 09:14AM UTC 103
47.54
GitHub Action Run
2 unit-test - 33737351482.2 03 Sep 2026 09:15AM UTC 96
85.35
GitHub Action Run
3 db-test - 33737351482.3 03 Sep 2026 09:15AM UTC 134
78.52
GitHub Action Run
Source Files on build 33737351482
  • Tree
  • List 134
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #737
  • 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