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

hyperledger / fabric-x-committer / 22621550981
90%

Build:
DEFAULT BRANCH: main
Ran 03 Mar 2026 11:50AM UTC
Jobs 2
Files 113
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

03 Mar 2026 11:46AM UTC coverage: 89.511% (-0.1%) from 89.651%
22621550981

push

github

web-flow
[connection] Minor fixes (#398)

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

This PR introduces minor fixes and improvements to the connection
utilities:

- Sustain function signature update: Added a retry configuration
parameter to `connection.Sustain()` calls across coordinator and sidecar
services. Currently passing `nil` with TODO comments to initialize retry
from config in future updates.
- ClientParameters refactoring: Renamed `Parameters` struct to
`ClientParameters` for better clarity and removed the unused `Resolver`
field from the struct.
- Single endpoint optimization: Added logic in
`newLoadBalancedConnection()` to handle single endpoint cases more
efficiently by directly calling `NewConnection()` instead of setting up
load balancing infrastructure when only one endpoint is provided.
- Load balancer target naming: Replaced "method` with actual target
addresses in `newLoadBalancedConnection()` to create a meaningful target
string for debugging.

These modifications prepare the codebase for future retry configuration
support while improving code clarity and handling edge cases more
efficiently.

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

30 of 31 new or added lines in 5 files covered. (96.77%)

20 existing lines in 5 files now uncovered.

8918 of 9963 relevant lines covered (89.51%)

1.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.67
0.44% utils/connection/client_util.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.59
-1.22% loadgen/adapters/sigverifier.go
2
82.33
-0.86% service/sidecar/relay.go
3
96.34
-3.66% mock/sigverifier.go
4
90.35
-1.72% service/coordinator/validator_committer_manager.go
10
82.8
-2.15% service/vc/database.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 22621550981.1 03 Mar 2026 11:50AM UTC 113
84.15
GitHub Action Run
2 unit-test - 22621550981.2 03 Mar 2026 11:51AM UTC 69
66.72
GitHub Action Run
Source Files on build 22621550981
  • Tree
  • List 113
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d8c1cf4d on github
  • Prev Build on main (#22611541784)
  • Next Build on main (#22625636605)
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