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

liran-funaro / fabric-x-committer / 29754058440
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: skill-dev
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:14PM 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:07PM UTC coverage: 91.44% (-0.1%) from 91.58%
29754058440

push

github

liran-funaro
[loadgen] Remove the workload distribution

- Improvement

- 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` and the `loadgen_shared.yaml.tmpl`
config template to the plain-number syntax, plus the affected tests.

- Resolves #682

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

52 existing lines in 13 files now uncovered.

10309 of 11274 relevant lines covered (91.44%)

35136.78 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
77.19
0.0% service/vc/dbinit.go
5
92.21
-2.39% service/verifier/policy/policy.go
5
72.22
0.0% loadgen/workload/config.go
5
89.36
0.11% service/verifier/verify.go
4
95.0
-2.5% mock/coordinator.go
4
88.05
-1.77% service/coordinator/validator_committer_manager.go
3
98.92
-0.68% service/vc/preparer.go
3
80.0
-20.0% loadgen/workload/utils.go
3
91.16
-2.04% loadgen/workload/limiter.go
2
81.9
-1.9% service/query/query.go
2
96.55
0.0% loadgen/workload/conflicts.go
2
85.76
-0.68% service/query/batcher.go
2
83.58
3.25% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 29754058440.1 20 Jul 2026 03:17PM UTC 127
79.66
GitHub Action Run
2 core-db-test - 29754058440.2 20 Jul 2026 03:14PM UTC 98
46.08
GitHub Action Run
3 unit-test - 29754058440.3 20 Jul 2026 03:16PM UTC 91
85.1
GitHub Action Run
Source Files on build 29754058440
  • Tree
  • List 127
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fe6fee6b on github
  • Prev Build on remove-loadgen-distribution (#29749685031)
  • Next Build on remove-loadgen-distribution (#29756077901)
  • Delete
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