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

hyperledger / fabric-x-committer / 30346792200
91%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 09:33AM UTC
Jobs 3
Files 129
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

28 Jul 2026 09:29AM UTC coverage: 91.291% (-0.2%) from 91.485%
30346792200

push

github

web-flow
[loadgen] Consolidate workload config; batch build/sign generation pipeline (#699)

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

Two behavior-preserving loadgen cleanups ahead of the index-addressable
/ query work;
the generated workload is unchanged.

**Config consolidation:**

- Fold `key.size` (`KeyProfile`) into `TransactionProfile.KeySize`;
delete `KeyProfile`.
- Fold `invalid-signatures` and `dependencies` into
`TransactionProfile`; delete
`ConflictProfile`. `DependencyDescription` and the dependency-conflict
machinery
  (`dependenciesModifier`) are unchanged — only their config home moves.
- Inline invalid-signature stamping into the generator and drop
`signTxModifier`; the
per-worker bernoulli decision and dummy endorsement are unchanged. The
generic
  `Modifier` mechanism stays (still used by `dependenciesModifier`).
- Move `key-size`, `invalid-signatures`, and `dependencies` under
`transaction` in the
  config sample and template.

**Batch build/sign pipeline + error-returning construction:**

- Split the per-tx `Next()` into batch methods `buildBatch`/`signBatch`
(with a
`buildAndSignBatch` convenience). The stream worker generates a whole
batch per
iteration (`generateBatches`) instead of wrapping the generator in
`MultiGenerator`;
  the `ingestBatchesToQueue` tx-batching wrapper is removed.
- `newIndependentTxGenerators` and `NewTxStream` now return an error
(surfaced by
`NewLoadGenClient`) instead of `utils.Must`-panicking on tx-builder
setup.

#### Additional details (Optional)

Config consolidation: the generation seed order is preserved (the
inlined
invalid-signature RNG consumes the seed where `signTxModifier` did), so
output is
byte-identical; the coordinator's `BenchmarkDependencyGraph` is
unchanged except for the
moved field reference (`p.Conflicts.Dependencies` ->
`p.Transaction.Dependencies`).

Batch pipeline: the per-worker seeders, key/value generators, the
`Modifier` mechanism
... (continued)

47 of 53 new or added lines in 6 files covered. (88.68%)

25 existing lines in 6 files now uncovered.

10336 of 11322 relevant lines covered (91.29%)

33716.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.48
-1.22% loadgen/client.go
2
94.74
-5.26% loadgen/workload/stream.go
2
97.98
-2.02% loadgen/workload/tx.go

Coverage Regressions

Lines Coverage ∆ File
11
78.29
-2.13% service/sidecar/sidecar.go
6
84.64
-1.16% service/vc/database.go
4
94.17
-3.33% mock/coordinator.go
2
92.35
-0.53% mock/orderer.go
1
88.99
-0.92% loadgen/adapters/broadcast.go
1
94.95
-1.01% loadgen/adapters/common.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 30346792200.1 28 Jul 2026 09:36AM UTC 129
79.66
GitHub Action Run
2 core-db-test - 30346792200.2 28 Jul 2026 09:33AM UTC 99
46.15
GitHub Action Run
3 unit-test - 30346792200.3 28 Jul 2026 09:35AM UTC 94
84.53
GitHub Action Run
Source Files on build 30346792200
  • Tree
  • List 129
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 12e077a5 on github
  • Prev Build on main (#30253020917)
  • Next Build on main (#30372655358)
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