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

hyperledger-labs / fabric-smart-client / 35742768658
91%

Build:
DEFAULT BRANCH: main
Ran 22 Sep 2026 02:50PM UTC
Jobs 22
Files 502
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

22 Sep 2026 02:47PM UTC coverage: 86.113% (-0.01%) from 86.127%
35742768658

push

github

web-flow
fix(metrics): guard the no-separator case in GetPackageName (#1870)

GetPackageName sliced on strings.LastIndex(fullFuncName, "/") without
checking for -1. Go's main package has no separator in its fully
qualified function name, so a binary that creates a metric directly from
main resolves to main.main and crashes with "slice bounds out of range
[-1:]". The call reaches GetPackageName through the ordinary NewCounter
-> applyNamespaceSubsystem chain at the intended callerSkipFrames depth,
so no unusual call depth is required. Runtime frames such as
runtime.main are slash-free for the same reason.

Return the unqualified name when there is no separator, mirroring the
guard in platform/view/services/tracing/config.go.

Fixes #1869

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

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

14 existing lines in 6 files now uncovered.

27532 of 31972 relevant lines covered (86.11%)

2762.56 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
92.08
-1.32% platform/view/services/comm/p2p.go
2
85.14
-2.7% platform/fabric/core/generic/msp/idemix/cache.go
2
85.6
1.11% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
2
91.95
-1.2% platform/view/services/metrics/prometheus/provider.go
2
76.83
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
2
92.23
-1.04% platform/fabricx/core/membership/membership.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 35742768658.1 22 Sep 2026 02:50PM UTC 8
52.57
GitHub Action Run
2 utest-postgres - 35742768658.2 22 Sep 2026 02:51PM UTC 493
9.79
GitHub Action Run
3 itest-fabric-iou-libp2p - 35742768658.3 22 Sep 2026 02:51PM UTC 458
36.54
GitHub Action Run
4 itest-fabricx-simple - 35742768658.4 22 Sep 2026 02:50PM UTC 480
27.95
GitHub Action Run
5 itest-fsc-stoprestart - 35742768658.5 22 Sep 2026 02:51PM UTC 241
33.53
GitHub Action Run
6 itest-fabric-configupdate - 35742768658.6 22 Sep 2026 02:52PM UTC 458
38.81
GitHub Action Run
7 itest-fabricx-configupdate - 35742768658.7 22 Sep 2026 02:51PM UTC 480
28.52
GitHub Action Run
8 itest-fabric-stoprestart - 35742768658.8 22 Sep 2026 02:52PM UTC 448
31.17
GitHub Action Run
9 itest-fabricx-multiendorsement - 35742768658.9 22 Sep 2026 02:50PM UTC 480
28.57
GitHub Action Run
10 itest-fabric-twonets - 35742768658.10 22 Sep 2026 02:51PM UTC 448
29.2
GitHub Action Run
11 itest-fabric-events - 35742768658.11 22 Sep 2026 02:52PM UTC 453
29.02
GitHub Action Run
12 itest-fsc-pingpong - 35742768658.12 22 Sep 2026 02:52PM UTC 245
34.91
GitHub Action Run
13 itest-fabric-iouhsm - 35742768658.13 22 Sep 2026 02:53PM UTC 458
39.62
GitHub Action Run
14 itest-fabric-iou - 35742768658.14 22 Sep 2026 02:54PM UTC 458
40.52
GitHub Action Run
15 itest-fabricx-atsa - 35742768658.15 22 Sep 2026 02:50PM UTC 480
30.79
GitHub Action Run
16 itest-fabric-atsa - 35742768658.16 22 Sep 2026 02:53PM UTC 448
43.55
GitHub Action Run
17 itest-fabric-atsachaincode - 35742768658.17 22 Sep 2026 02:50PM UTC 453
30.91
GitHub Action Run
18 itest-fabric-runtimeconfig - 35742768658.18 22 Sep 2026 02:52PM UTC 458
38.96
GitHub Action Run
19 utest-root - 35742768658.19 22 Sep 2026 02:53PM UTC 493
82.9
GitHub Action Run
20 itest-fabricx-iou - 35742768658.20 22 Sep 2026 02:50PM UTC 480
29.32
GitHub Action Run
21 itest-fsc-signedpingpong - 35742768658.21 22 Sep 2026 02:51PM UTC 240
31.65
GitHub Action Run
22 itest-fabricx-deployment - 35742768658.22 22 Sep 2026 02:50PM UTC 480
28.55
GitHub Action Run
Source Files on build 35742768658
  • Tree
  • List 502
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35742768658
  • 88671739 on github
  • Prev Build on main (#35735696070)
  • Next Build on main (#35750882730)
  • 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