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

hyperledger / fabric-x-committer / 22621550981 / 1
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 03 Mar 2026 11:51AM UTC
Files 113
Run time 2s
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: 84.151% (-0.1%) from 84.286%
22621550981.1

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>

8384 of 9963 relevant lines covered (84.15%)

0.92 hits per line

Source Files on job db-test - 22621550981.1
  • Tree
  • List 113
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22621550981
  • d8c1cf4d on github
  • Prev Job for on main (#22611541784.1)
  • Next Job for on main (#22625636605.2)
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