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

hyperledger-labs / fabric-smart-client / 36419883708
92%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 12:10PM UTC
Jobs 22
Files 503
Run time 2min
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

28 Sep 2026 12:08PM UTC coverage: 86.496% (-0.02%) from 86.52%
36419883708

push

github

web-flow
fix(runner): validate batch capacity and timeout before starting the batcher (#1914)

newBatcher started its batching goroutine without validating its arguments. A zero capacity made start divide by zero, and a non-positive timeout made time.NewTicker panic, both on the background goroutine where the caller cannot recover them, crashing the process. A negative capacity panicked in the caller with an unhelpful makeslice error.

Validate capacity and timeout in newBatcher before the goroutine starts and panic in the caller with a message naming the invalid argument, following the convention of time.NewTicker and keeping the public constructor signatures unchanged. Document the precondition on NewBatchRunner and NewBatchExecutor.

Cover zero and negative capacity and timeout for both constructors.

Fixes #1913

Signed-off-by: Said Altury <Said.Altury@ibm.com>

4 of 4 new or added lines in 1 file covered. (100.0%)

11 existing lines in 5 files now uncovered.

27793 of 32132 relevant lines covered (86.5%)

2296.37 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
77.11
-1.49% platform/view/services/comm/host/libp2p/host.go
2
96.72
-3.28% platform/common/utils/lazy/provider.go
2
88.39
-1.29% platform/view/services/comm/session.go
2
92.35
-1.18% platform/fabric/core/generic/ordering/bft.go
2
92.08
-0.66% platform/view/services/comm/p2p.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36419883708.1 28 Sep 2026 12:10PM UTC 8
52.57
GitHub Action Run
2 itest-fabricx-configupdate - 36419883708.2 28 Sep 2026 12:12PM UTC 481
28.38
GitHub Action Run
3 utest-postgres - 36419883708.3 28 Sep 2026 12:12PM UTC 494
9.74
GitHub Action Run
4 itest-fabric-configupdate - 36419883708.4 28 Sep 2026 12:12PM UTC 459
38.8
GitHub Action Run
5 itest-fabric-events - 36419883708.5 28 Sep 2026 12:13PM UTC 454
28.99
GitHub Action Run
6 itest-fabric-iou - 36419883708.6 28 Sep 2026 12:15PM UTC 459
40.38
GitHub Action Run
7 itest-fabric-runtimeconfig - 36419883708.7 28 Sep 2026 12:12PM UTC 459
38.9
GitHub Action Run
8 itest-fabric-twonets - 36419883708.8 28 Sep 2026 12:13PM UTC 449
29.26
GitHub Action Run
9 itest-fabricx-iou - 36419883708.9 28 Sep 2026 12:12PM UTC 481
29.23
GitHub Action Run
10 itest-fabric-stoprestart - 36419883708.10 28 Sep 2026 12:12PM UTC 449
31.23
GitHub Action Run
11 itest-fabric-atsa - 36419883708.11 28 Sep 2026 12:15PM UTC 449
43.72
GitHub Action Run
12 utest-root - 36419883708.12 28 Sep 2026 12:13PM UTC 494
83.45
GitHub Action Run
13 itest-fabric-iouhsm - 36419883708.13 28 Sep 2026 12:14PM UTC 459
39.59
GitHub Action Run
14 itest-fabric-atsachaincode - 36419883708.14 28 Sep 2026 12:12PM UTC 454
30.93
GitHub Action Run
15 itest-fabricx-simple - 36419883708.15 28 Sep 2026 12:10PM UTC 481
27.79
GitHub Action Run
16 itest-fsc-pingpong - 36419883708.16 28 Sep 2026 12:11PM UTC 245
34.65
GitHub Action Run
17 itest-fsc-signedpingpong - 36419883708.17 28 Sep 2026 12:11PM UTC 240
31.63
GitHub Action Run
18 itest-fabric-iou-libp2p - 36419883708.18 28 Sep 2026 12:13PM UTC 459
36.56
GitHub Action Run
19 itest-fabricx-multiendorsement - 36419883708.19 28 Sep 2026 12:10PM UTC 481
28.44
GitHub Action Run
20 itest-fsc-stoprestart - 36419883708.20 28 Sep 2026 12:12PM UTC 241
33.52
GitHub Action Run
21 itest-fabricx-atsa - 36419883708.21 28 Sep 2026 12:10PM UTC 481
30.74
GitHub Action Run
22 itest-fabricx-deployment - 36419883708.22 28 Sep 2026 12:10PM UTC 481
28.39
GitHub Action Run
Source Files on build 36419883708
  • Tree
  • List 503
  • Changed 29
  • Source Changed 1
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36419883708
  • 71cf6cd8 on github
  • Prev Build on main (#36419643532)
  • Next Build on main (#36428650090)
  • Delete
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