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

hyperledger / fabric-x-committer / 34108899078
91%

Build:
DEFAULT BRANCH: main
Ran 07 Sep 2026 10:02AM UTC
Jobs 3
Files 133
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

07 Sep 2026 09:57AM UTC coverage: 90.385% (+0.04%) from 90.345%
34108899078

push

github

web-flow
[sidecar] Separate mapping's scaffolding from its result (#800)

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

- `blockMapper` now holds the relay's in-flight TX ID map and embeds the
`blockMappingResult` it is filling. The eight methods that build a block
moved onto
  it; `blockWithStatus`, whose methods read a built block, is untouched.
- `mapBlock` creates a mapper, uses it, and returns only
`mapper.blockMappingResult`,
so the map reference stops being reachable at that point. Receiver
renames aside,
  the method bodies are unchanged.
- Drops the `//nolint:gosec` on the `mapMessage` call: gosec does not
flag that
conversion, so touching the line made `nolintlint` fail on the unused
directive.

#### Additional details (Optional)

The issue also names the three per-block slabs and the collected TX IDs.
Those do not
exist yet — they arrive with #788 and #772 — so this change moves the
one piece of
scaffolding `blockMappingResult` carries today. Once those land, their
state goes onto
this mapper rather than onto the result.

#### Related issues

- resolves #789

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

42 of 47 new or added lines in 1 file covered. (89.36%)

15 existing lines in 8 files now uncovered.

9306 of 10296 relevant lines covered (90.38%)

12299.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
85.58
0.37% service/sidecar/mapping.go

Coverage Regressions

Lines Coverage ∆ File
4
78.98
-0.92% service/sidecar/sidecar.go
3
93.37
-1.66% service/coordinator/signature_verifier_manager.go
2
79.57
-2.15% service/query/query.go
2
97.22
-2.78% service/verifier/verifier_server.go
1
97.12
2.88% mock/coordinator.go
1
85.33
-1.33% loadgen/adapters/verifier.go
1
93.9
-1.22% loadgen/adapters/common.go
1
81.82
-1.82% loadgen/adapters/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 34108899078.1 07 Sep 2026 10:03AM UTC 95
85.0
GitHub Action Run
2 core-db-test - 34108899078.2 07 Sep 2026 10:02AM UTC 102
48.01
GitHub Action Run
3 db-test - 34108899078.3 07 Sep 2026 10:02AM UTC 133
78.19
GitHub Action Run
Source Files on build 34108899078
  • Tree
  • List 133
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 91e68df5 on github
  • Prev Build on main (#33762901489)
  • Next Build on main (#34109194610)
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