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

hyperledger / fabric-x-committer / 22951501048
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: test-coverage-improve
DEFAULT BRANCH: main
Ran 11 Mar 2026 12:03PM UTC
Jobs 2
Files 122
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

11 Mar 2026 11:59AM UTC coverage: 89.561% (-0.2%) from 89.783%
22951501048

Pull #316

github

cendhu
Address review comments

To support the fuzz contract:
- extractField now returns the last match for duplicate fields, matching
  proto3's last-writer-wins semantics for scalar fields. Note that proto.Marshal
  would not add duplicate fields but proto.Unmarshal parses them correctly even
  if there are duplicate fields.
- Remove the "advance past field 1" optimization in ChannelHeader parsing
  since last-writer-wins requires searching from the beginning for each field.
  Example bytes (field order): field5, field1, field5, field1
  - Last field 1 is at position 4. Advancing past it means we only search positions 5+ for field 5.
  - But the last field 5 is at position 3 — we'd miss it.

Signed-off-by: Senthilnathan <cendhu@gmail.com>

fix all bugs

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #316: Introduce UnmarshalEnvelopeLite to speed up mapBlock

122 of 151 new or added lines in 3 files covered. (80.79%)

25 existing lines in 5 files now uncovered.

9497 of 10604 relevant lines covered (89.56%)

1.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
82.81
0.55% service/sidecar/mapping.go
21
76.92
-15.38% utils/serialization/envelope.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
92.2
-0.92% service/coordinator/signature_verifier_manager.go
3
82.33
-1.29% service/sidecar/relay.go
6
82.26
-1.61% service/vc/database.go
7
76.92
-15.38% utils/serialization/envelope.go
7
80.25
-2.16% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 22951501048.1 11 Mar 2026 12:04PM UTC 78
72.23
GitHub Action Run
2 db-test - 22951501048.2 11 Mar 2026 12:03PM UTC 122
83.11
GitHub Action Run
Source Files on build 22951501048
  • Tree
  • List 122
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #316
  • PR Base - main (#22902315482)
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