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

hyperledger / fabric-x-committer / 26498428929
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: coordinator-test-no-db
DEFAULT BRANCH: main
Ran 27 May 2026 07:58AM UTC
Jobs 3
Files 128
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

27 May 2026 07:54AM UTC coverage: 91.75%. First build
26498428929

Pull #601

github

cendhu
Fix empty ledger newest delivery seek

When SeekPosition_Newest is used on an empty ledger (height=0),
FileLedger.Iterator(Newest) computes Height()-1, underflowing to
math.MaxUint64. Similarly, Stop=Newest computes height-1, also
underflowing. Additionally, for BLOCK_UNTIL_READY behavior, the
cursor was created before waiting for block zero, which could fail
on FileLedger since the block-zero index does not exist yet.

- Move WaitForCondition (height > 0) before cursor creation for
  BLOCK_UNTIL_READY
- In getCursor, replace Start=Newest with Specified{Number:0} when
  height is 0
- Guard Stop=Newest against zero height, returning 0 instead of
  height-1

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #601: [sidecar] Fix empty ledger newest delivery seek

10 of 14 new or added lines in 1 file covered. (71.43%)

10243 of 11164 relevant lines covered (91.75%)

42007.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
80.9
service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 26498428929.1 27 May 2026 08:01AM UTC 128
84.28
GitHub Action Run
2 core-db-test - 26498428929.2 27 May 2026 07:58AM UTC 100
45.31
GitHub Action Run
3 unit-test - 26498428929.3 27 May 2026 08:01AM UTC 80
76.85
GitHub Action Run
Source Files on build 26498428929
  • Tree
  • List 128
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #601
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