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

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

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2026 09:23PM 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

15 Sep 2026 09:21PM UTC coverage: 85.571% (-0.1%) from 85.706%
35025109872

push

github

web-flow
refactor!: propagate errors instead of panicking (#1845)

utils.Must/utils.MustGet turn an error into a panic. Four call sites on the
node-startup / store-construction path panicked despite every enclosing
function already returning error and already propagating sibling errors
normally: newKVS, GetPersistenceName, and the two GetTableNames functions.
They now return the error instead of crashing the process.

Also fixes escapeForTableName's bare panic on the same call path: Fabric
channel names legally contain digits, but escapeForTableName validated
against ^[a-zA-Z_]+$, so a channel named e.g. mychannel1 panicked at vault
store construction instead of surfacing the existing wrapped error at
channelprovider.go.

Wrap errors.Wrapf around the entry points that would otherwise lose context
on propagation (GetPersistenceName, Format, both GetTableNames), add godoc
to the constructors and helpers on this call path, and replace the
remaining utils.MustGet calls in sqlite tests and benchmarks with testify
require / plain error propagation.

BREAKING CHANGE: (*TableNameCreator).MustGetTableName is removed from
platform/view/services/storage/db; call CreateTableName and handle the
error instead. Table-name and persistence-name construction on the store
startup path (GetPersistenceName, GetTableNames, and escapeForTableName's
callers) no longer panics on invalid config or channel names; callers that
relied on that fail-fast crash now receive a normal error return.

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

79 of 131 new or added lines in 18 files covered. (60.31%)

6 existing lines in 4 files now uncovered.

27339 of 31949 relevant lines covered (85.57%)

2345.17 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
61.29
-38.71% platform/fabric/services/db/driver/sql/common/init.go
9
61.54
-38.46% platform/view/services/storage/driver/sql/common/init.go
2
75.76
-4.24% platform/fabric/services/db/driver/memory/driver.go
2
75.0
-2.78% platform/fabric/services/db/driver/sql/postgres/driver.go
2
75.51
-2.75% platform/fabric/services/db/driver/sql/sqlite/driver.go
2
73.33
-8.48% platform/fabric/services/storage/endorsetx/store.go
2
73.33
-8.48% platform/fabric/services/storage/envelope/store.go
2
76.0
-4.95% platform/fabric/services/storage/metadata/store.go
2
74.07
-4.19% platform/view/sdk/dig/providers.go
2
60.0
-40.0% platform/view/services/storage/auditinfo/store.go
2
60.0
-40.0% platform/view/services/storage/binding/store.go
2
95.92
-4.08% platform/view/services/storage/db/tablename.go
2
88.24
-11.76% platform/view/services/storage/driver/common/config.go
2
93.94
-6.06% platform/view/services/storage/driver/memory/driver.go
2
79.17
-3.06% platform/view/services/storage/driver/sql/postgres/driver.go
2
79.59
-3.02% platform/view/services/storage/driver/sql/sqlite/driver.go
2
60.0
-40.0% platform/view/services/storage/kvs/store.go
2
60.0
-40.0% platform/view/services/storage/signerinfo/store.go

Coverage Regressions

Lines Coverage ∆ File
2
85.14
-2.7% platform/fabric/core/generic/msp/idemix/cache.go
2
76.83
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
1
61.29
-38.71% platform/fabric/services/db/driver/sql/common/init.go
1
61.54
-38.46% platform/view/services/storage/driver/sql/common/init.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fsc-pingpong - 35025109872.1 15 Sep 2026 09:25PM UTC 247
34.6
GitHub Action Run
2 itest-fabric-iouhsm - 35025109872.2 15 Sep 2026 09:27PM UTC 459
39.63
GitHub Action Run
3 itest-fabric-iou - 35025109872.3 15 Sep 2026 09:28PM UTC 459
40.49
GitHub Action Run
4 itest-fabricx-atsa - 35025109872.4 15 Sep 2026 09:23PM UTC 481
30.79
GitHub Action Run
5 itest-fabricx-deployment - 35025109872.5 15 Sep 2026 09:23PM UTC 481
28.51
GitHub Action Run
6 itest-fabric-events - 35025109872.6 15 Sep 2026 09:26PM UTC 454
28.99
GitHub Action Run
7 itest-fabric-runtimeconfig - 35025109872.7 15 Sep 2026 09:25PM UTC 459
38.97
GitHub Action Run
8 itest-fabric-stoprestart - 35025109872.8 15 Sep 2026 09:25PM UTC 449
31.19
GitHub Action Run
9 utest-extensions - 35025109872.9 15 Sep 2026 09:23PM UTC 8
52.57
GitHub Action Run
10 itest-fabric-iou-libp2p - 35025109872.10 15 Sep 2026 09:26PM UTC 459
36.55
GitHub Action Run
11 itest-fabric-atsachaincode - 35025109872.11 15 Sep 2026 09:24PM UTC 454
30.92
GitHub Action Run
12 itest-fsc-signedpingpong - 35025109872.12 15 Sep 2026 09:24PM UTC 242
31.54
GitHub Action Run
13 itest-fabricx-configupdate - 35025109872.13 15 Sep 2026 09:25PM UTC 481
28.53
GitHub Action Run
14 utest-root - 35025109872.14 15 Sep 2026 09:25PM UTC 494
81.48
GitHub Action Run
15 itest-fabric-twonets - 35025109872.15 15 Sep 2026 09:25PM UTC 449
29.21
GitHub Action Run
16 utest-postgres - 35025109872.16 15 Sep 2026 09:24PM UTC 494
9.74
GitHub Action Run
17 itest-fsc-stoprestart - 35025109872.17 15 Sep 2026 09:25PM UTC 243
33.4
GitHub Action Run
18 itest-fabricx-multiendorsement - 35025109872.18 15 Sep 2026 09:24PM UTC 481
28.55
GitHub Action Run
19 itest-fabric-atsa - 35025109872.19 15 Sep 2026 09:27PM UTC 449
43.74
GitHub Action Run
20 itest-fabric-configupdate - 35025109872.20 15 Sep 2026 09:25PM UTC 459
38.84
GitHub Action Run
21 itest-fabricx-simple - 35025109872.21 15 Sep 2026 09:23PM UTC 481
27.95
GitHub Action Run
22 itest-fabricx-iou - 35025109872.22 15 Sep 2026 09:23PM UTC 481
29.32
GitHub Action Run
Source Files on build 35025109872
  • Tree
  • List 503
  • Changed 50
  • Source Changed 18
  • Coverage Changed 50
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35025109872
  • e127583f on github
  • Prev Build on main (#35025060767)
  • Next Build on main (#35075513744)
  • 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