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

hyperledger / fabric-x-committer / 29756843948
91%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:51PM UTC
Jobs 3
Files 127
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

20 Jul 2026 03:48PM UTC coverage: 91.467% (-0.04%) from 91.509%
29756843948

push

github

web-flow
[loadgen] Remove the workload distribution (#688)

#### Type of change

- Improvement
 
#### Description

- The load generator's `Distribution` descriptor supported five variants
(`const`, `uniform`, `normal`, `bernoulli`, `discrete`), but only
`const` was ever used. Load generation holds each parameter at a fixed
value so results are deterministic and comparable across runs, so the
unused variants only added config surface, sample-YAML documentation,
generator types, and tests with no realized benefit. This collapses
`Distribution` down to plain constant values.

- Delete `distributions.go` and the orphaned
`Const`/`FloatToInt`/`FloatToPositiveInt`/`FloatToBoolean` generators;
`MultiGenerator.Count` is now a plain `int`.
- Replace the `*Distribution` profile fields with plain scalars:
read/read-write/blind-write counts and query size become `uint32`, the
minimal invalid-keys portion becomes `Probability`, and the dependency
gap becomes `uint64` (min 1).
- Keep per-transaction conflict injection (invalid signatures and
dependency probability) via a small `bernoulliGenerator` (`rnd.Float64()
< p`) with identical semantics to the previous Bernoulli-based path.
- Update the sample `loadgen.yaml` documentation and the affected tests.

#### Related issues

- resolves #682
- address #46

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

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

19 existing lines in 9 files now uncovered.

10312 of 11274 relevant lines covered (91.47%)

35573.64 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
95.0
-3.33% mock/coordinator.go
3
82.61
-13.04% service/query/lock_free.go
3
91.16
-2.04% loadgen/workload/limiter.go
2
88.05
-0.88% service/coordinator/validator_committer_manager.go
2
97.83
-2.17% service/verifier/verifier_server.go
2
85.76
-0.68% service/query/batcher.go
1
80.97
2.52% service/sidecar/sidecar.go
1
86.42
-1.23% loadgen/adapters/verifier.go
1
94.95
-1.01% loadgen/adapters/common.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 29756843948.1 20 Jul 2026 03:53PM UTC 127
79.55
GitHub Action Run
2 unit-test - 29756843948.2 20 Jul 2026 03:54PM UTC 91
85.21
GitHub Action Run
3 core-db-test - 29756843948.3 20 Jul 2026 03:51PM UTC 98
46.1
GitHub Action Run
Source Files on build 29756843948
  • Tree
  • List 127
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ece72e7 on github
  • Prev Build on main (#29753106335)
  • Next Build on main (#29826905697)
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