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

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

Build:
Build:
LAST BUILD BRANCH: remove-loadgen-distribution
DEFAULT BRANCH: main
Repo Added 05 Feb 2026 02:31PM UTC
Token jPdUrnvNWwfmepGbZr5ayPDiYLV4D9fJk regen
Build 534 Last
Files 128
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

LAST BUILD ON BRANCH remove-loadgen-distribution
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • apt-ci-fix
  • backoff-v5
  • backoff-v5-orig
  • bccsp-race
  • bft-delivery
  • bft-metrics
  • bob-reduce-context
  • bob-rules
  • bob-skills
  • buffer-race
  • channel-race
  • ci-gotestsum
  • client-test-race
  • coord-queue-deadlock
  • coordinator-metadata-fix
  • coordinator-test-no-db
  • coveralls
  • cryptogen-recreate-support
  • deliver-check-block-order
  • deliver-seek-tls-cert
  • deliver-seek-tls-cert-fix
  • deliverorderer-tests
  • delivery-data-blocks
  • dependencygraph-race
  • doc-loadgen-artifacts
  • doc-scale-notify
  • docker-moby-update
  • external-server-config
  • fabric-lib-go-v1.1.3
  • find-bad-imports
  • fix-automatic-env
  • flaky-coordinator-test-615
  • grpc-logger-fix
  • homegrown-validator
  • http-endpoint
  • ledger-service-wait-behaviour
  • llm-adjust
  • loadgen-const-distribution-shorthand
  • loadgen-manual-msp
  • loadgen-remove-ctx
  • loadgen-remove-query
  • main
  • make-fixes
  • makefile-lints
  • makefile-test-flags
  • metrics-bob-rules
  • metrics-url-race
  • mock-orderer-direct-config
  • mock-orderer-features
  • mock-orderer-stream-holder
  • mock-verifier-race
  • move-retry-package
  • move-testcrypto-to-common
  • notify-full-block
  • notify-tx-metadata
  • orderer-config-race
  • rebase-helper
  • refactor-test
  • remove-file
  • remove-ifrit-gomega
  • remove-loadgen-distribution
  • remove-non-maintained-pkg
  • retry-infinite-max-elapsed-time
  • service-manager
  • sidecar-block-store-code-fix
  • sidecar-diagram-mod
  • sidecar-diagrm
  • sidecar-race
  • sidecar-recover-inline
  • sidecar-remove-chan-id
  • sidecar-unified
  • sustain-config
  • template-tls-per-endpoint
  • test-container-port-binding
  • test-coverage-connection
  • test-coverage-improve
  • test-coverage-latency
  • test-coverage-tests
  • test-minor-fixes
  • test-query-status
  • test-tls-flatten
  • testcrypto-race
  • testcrypto-refactor
  • tx-metadata
  • unused-code
  • update-dep-4
  • update-depenencies-3
  • vc-race
  • vc-resource-leak
  • verifier-test-remove-gomega
  • verifier-timeout
  • viper-default-annot

20 Jul 2026 02:11PM UTC coverage: 91.58% (-0.1%) from 91.691%
29749685031

push

github

liran-funaro
[loadgen] Remove the workload distribution

#### 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.

#### Changes

- 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.

#### Related issues

- Resolves #682

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

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

22 of 22 new or added lines in 6 files covered. (100.0%)

27 existing lines in 9 files now uncovered.

10344 of 11295 relevant lines covered (91.58%)

35694.13 hits per line

Relevant lines Covered
Build:
Build:
11295 RELEVANT LINES 10344 COVERED LINES
35694.13 HITS PER LINE
Source Files on main
  • Tree
  • List 128
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29749685031 remove-loadgen-distribution [loadgen] Remove the workload distribution #### Type of change - Improvement #### Description - The load generator's `Distribution` descriptor supported five variants (`const`, `uniform`, `normal`, `bernoulli`, `discrete`), but only `const` wa... push 20 Jul 2026 02:17PM UTC liran-funaro github
91.58
29743506564 loadgen-remove-query [loadgen] Remove unused query generator The standalone query load — QueryProfile, QueryGenerator, and QueryStream — was dead code: fully implemented and unit-tested, but never wired into the running client (NewLoadGenClient builds only a TxStream... push 20 Jul 2026 12:49PM UTC liran-funaro github
91.47
29742436279 main [retry] Support unlimited retries via max-elapsed-time (#684) #### Type of change - Improvement #### Description - Make `retry.Profile.MaxElapsedTime` a `*time.Duration` so an operator can request unlimited retries via `max-elapsed-time: 0`. T... push 20 Jul 2026 12:34PM UTC web-flow github
91.69
29742359213 main init Signed-off-by: Liran Funaro <liran.funaro@gmail.com> push 20 Jul 2026 12:33PM UTC liran-funaro github
91.71
29739651900 retry-infinite-max-elapsed-time Address PR comments Signed-off-by: Liran Funaro <liran.funaro@gmail.com> push 20 Jul 2026 11:48AM UTC liran-funaro github
91.81
29739621325 retry-infinite-max-elapsed-time Address PR comments Signed-off-by: Liran Funaro <liran.funaro@gmail.com> push 20 Jul 2026 11:47AM UTC liran-funaro github
91.65
29733006502 retry-infinite-max-elapsed-time [retry] Support unlimited retries via max-elapsed-time Make retry.Profile.MaxElapsedTime a *time.Duration so an operator can request unlimited retries, enabling dynamic scaling of pre-configured service instances (the coordinator/sidecar keep rec... push 20 Jul 2026 09:56AM UTC liran-funaro github
91.66
29687637310 viper-default-annot [config] Default value annotation Signed-off-by: Liran Funaro <liran.funaro@gmail.com> push 19 Jul 2026 12:51PM UTC liran-funaro github
91.68
29686690370 flaky-coordinator-test-615 [test] fix flaky TestSignatureVerifierManagerPolicyUpdateAndRecover Batch submission ran inside require.Eventually/require.Never conditions. testify runs the condition in its own goroutine and, once waitFor elapses, returns without waiting for it... push 19 Jul 2026 12:21PM UTC liran-funaro github
91.48
29686598346 loadgen-const-distribution-shorthand [loadgen] Allow bare number as const distribution shorthand - New feature Add a mapstructure decode hook so a bare number is accepted as a shorthand for a const distribution. For example: read-write-count: 2 is now equivalent to: read... push 19 Jul 2026 12:18PM UTC liran-funaro github
91.58
See All Builds (414)

Badge your Repo: fabric-x-committer

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc