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

hyperledger / fabric-x-committer / 36705432257
90%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 11:01AM UTC
Jobs 3
Files 141
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

30 Sep 2026 10:56AM UTC coverage: 90.673% (-0.06%) from 90.735%
36705432257

push

github

web-flow
[sidecar] Parse a block's transactions in parallel (#840)

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

- Splits `mapBlock` into a parallel parse and a serial fold.
`parseMessages` parses, classifies
and validates each message across up to `max-workers-for-tx-parsing`
goroutines, each given at
least `min-tx-parsing-batch-size` messages, and `applyParsedTX` folds
the results into the
  block in message order.
- Adds the sidecar `max-workers-for-tx-parsing` (default 1, parsing on
one goroutine) and
  `min-tx-parsing-batch-size` (default 256) settings.
- The TX ID dedup set, the one-snapshot-per-block rule and the batch
order stay single-threaded,
so which transactions a block accepts and rejects does not depend on how
parsing was split.
- Replaces `mapConfigTx` with `parseConfigTx` and `appendConfigTx`: a
config TX is validated in
the parallel pass, where failing the block is still an option, and
appended in the serial one.
- Each parse worker builds its own messages' TxWithRefs in per-block
slabs, now allocated in
  `parseMessages`, so the slabs need no locking.

#### Related issues

- resolves #786

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

56 of 64 new or added lines in 3 files covered. (87.5%)

27 existing lines in 8 files now uncovered.

9770 of 10775 relevant lines covered (90.67%)

10674.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
88.37
1.93% service/sidecar/mapping.go

Coverage Regressions

Lines Coverage ∆ File
7
93.37
-3.57% service/coordinator/coordinator.go
6
83.33
-1.96% service/vc/database.go
4
74.26
-3.96% service/vc/validator.go
3
81.57
-0.65% service/sidecar/sidecar.go
3
90.32
-1.61% service/vc/validator_committer_service.go
2
86.47
-1.5% service/vc/committer.go
1
96.2
-1.27% mock/sigverifier.go
1
76.0
-2.0% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 36705432257.1 07 Oct 2026 05:48AM UTC 95
86.18
GitHub Action Run
2 db-test - 36705432257.2 30 Sep 2026 11:01AM UTC 141
78.65
GitHub Action Run
3 core-db-test - 36705432257.3 30 Sep 2026 11:03AM UTC 108
48.88
GitHub Action Run
Source Files on build 36705432257
  • Tree
  • List 141
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7a325ead on github
  • Prev Build on main (#36565007287)
  • Next Build on main (#38118405099)
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