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

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

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2026 09:28AM UTC
Jobs 22
Files 501
Run time 3min
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

01 Oct 2026 09:25AM UTC coverage: 90.728% (+0.008%) from 90.72%
36842644528

push

github

web-flow
fix(fabric): report a failed lazy open on every txVaultReader call (#1948)

setVaultReader declared err as a local, so only the call that ran
once.Do saw the error. Every later call returned nil while db.vr was
still nil, and the nine txVaultReader methods dereference db.vr right
after that check, so the second use of a reader whose lazy open had
failed panicked.

The failed open also left db.release nil: the open returns nil, nil,
err, and once.Do assigned all three results. Done then panicked, and
callers defer Done on every reader they obtain.

NewTxLockVaultReader returns successfully even when the open will fail,
because the open is deferred until first use, so a caller cannot detect
the problem before reading.

Store the error on the struct and assign vr and release only when the
open succeeds, so a failed reader keeps its no-op release. The write
happens inside once.Do and every read follows it, so the existing Once
provides the ordering.

TestTxVaultReader_LazyOpenFailurePropagates calls each of the nine
methods twice and then Done, on a reader whose open fails.

Fixes #1925

Signed-off-by: Siddhi Khandelwal <siddhi.200727@gmail.com>
Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>
Co-authored-by: Marcus Brandenburger <bur@zurich.ibm.com>

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

7 existing lines in 3 files now uncovered.

29090 of 32063 relevant lines covered (90.73%)

2328.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
91.76
-1.76% platform/fabric/core/generic/ordering/bft.go
2
85.14
-2.7% platform/fabric/core/generic/msp/idemix/cache.go
2
91.95
-1.34% platform/view/services/metrics/prometheus/provider.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36842644528.1 01 Oct 2026 09:28AM UTC 8
52.57
GitHub Action Run
2 utest-root - 36842644528.2 01 Oct 2026 09:30AM UTC 492
88.61
GitHub Action Run
3 itest-fabricx-deployment - 36842644528.3 01 Oct 2026 09:28AM UTC 479
28.46
GitHub Action Run
4 itest-fabricx-simple - 36842644528.4 01 Oct 2026 09:28AM UTC 479
27.88
GitHub Action Run
5 itest-fabric-configupdate - 36842644528.5 01 Oct 2026 09:30AM UTC 457
38.84
GitHub Action Run
6 itest-fabricx-multiendorsement - 36842644528.6 01 Oct 2026 09:27AM UTC 479
28.5
GitHub Action Run
7 itest-fsc-pingpong - 36842644528.7 01 Oct 2026 09:30AM UTC 246
34.47
GitHub Action Run
8 itest-fabric-events - 36842644528.8 01 Oct 2026 09:30AM UTC 452
29.02
GitHub Action Run
9 itest-fabric-runtimeconfig - 36842644528.9 01 Oct 2026 09:30AM UTC 457
38.79
GitHub Action Run
10 itest-fabric-atsachaincode - 36842644528.10 01 Oct 2026 09:29AM UTC 452
30.96
GitHub Action Run
11 itest-fabric-twonets - 36842644528.11 01 Oct 2026 09:30AM UTC 447
29.24
GitHub Action Run
12 itest-fabric-iou-libp2p - 36842644528.12 01 Oct 2026 09:30AM UTC 457
36.56
GitHub Action Run
13 itest-fabric-atsa - 36842644528.13 01 Oct 2026 09:31AM UTC 447
43.69
GitHub Action Run
14 itest-fabric-iouhsm - 36842644528.14 01 Oct 2026 09:31AM UTC 457
39.72
GitHub Action Run
15 itest-fabric-stoprestart - 36842644528.15 01 Oct 2026 09:29AM UTC 447
31.24
GitHub Action Run
16 itest-fabricx-atsa - 36842644528.16 01 Oct 2026 09:28AM UTC 479
30.63
GitHub Action Run
17 utest-postgres - 36842644528.17 01 Oct 2026 09:29AM UTC 492
9.8
GitHub Action Run
18 itest-fabric-iou - 36842644528.18 01 Oct 2026 09:33AM UTC 457
40.39
GitHub Action Run
19 itest-fabricx-configupdate - 36842644528.19 01 Oct 2026 09:29AM UTC 479
28.55
GitHub Action Run
20 itest-fsc-signedpingpong - 36842644528.20 01 Oct 2026 09:28AM UTC 241
31.37
GitHub Action Run
21 itest-fabricx-iou - 36842644528.21 01 Oct 2026 09:28AM UTC 479
29.28
GitHub Action Run
22 itest-fsc-stoprestart - 36842644528.22 01 Oct 2026 09:30AM UTC 242
33.26
GitHub Action Run
Source Files on build 36842644528
  • Tree
  • List 501
  • Changed 35
  • Source Changed 1
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36842644528
  • 637bae1c on github
  • Prev Build on main (#36835588259)
  • Next Build on main (#36866838226)
  • 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