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

hyperledger-labs / fabric-smart-client / 33849632453
86%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2026 07:40AM UTC
Jobs 19
Files 499
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

04 Sep 2026 07:38AM UTC coverage: 85.074% (+0.2%) from 84.851%
33849632453

push

github

web-flow
refactor(storage)!: replace squirrel with an internal SQL builder (#1711)

github.com/Masterminds/squirrel is unmaintained. Replace it with
internal/storage/sqlbuild, a minimal builder that renders statements
directly, and delete the in-house query package that wrapped it.

- add internal/storage/sqlbuild: statement builder, WHERE conditions
  (Eq/Gt/Gte/Lt/In/And) and pagination, numbering $N placeholders in
  write order so a placeholder and its argument cannot drift apart
- port every call site in the vault, key-value, identity and
  simple-key-data stores, pinning the exact SQL of each query with
  sqlmock oracles first so the port is provably byte-identical
- render pagination through sqlbuild and drop the squirrel renderers
- unify placeholders on $N for both sqlite and postgres, so nine
  exported constructors no longer take a sq.PlaceholderFormat
- with squirrel gone the driver/sql/query tree held only pagination and
  FieldName, so lift both out of it and delete the tree

BREAKING CHANGE: pagination.ApplyToSquirrel, the sqlite and postgres
NewConditionInterpreter/NewPaginationInterpreter, and the nine
constructors' ph sq.PlaceholderFormat parameter are removed.

BREAKING CHANGE: the storage/driver/sql/query tree is removed. Its
pagination package moves to platform/view/services/storage/driver/pagination
and its FieldName type moves into platform/view/services/storage/driver
(driver.FieldName).

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

306 of 316 new or added lines in 32 files covered. (96.84%)

20 existing lines in 9 files now uncovered.

31131 of 36593 relevant lines covered (85.07%)

3441.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
81.55
platform/view/services/storage/driver/pagination/keyset.go
4
74.33
0.72% platform/fabric/services/db/driver/sql/common/vault.go

Coverage Regressions

Lines Coverage ∆ File
4
85.99
0.24% platform/view/services/comm/host/websocket/ws/multiplexed_provider.go
3
50.0
-25.0% platform/view/services/storage/driver/sql/postgres/errormapper.go
2
97.22
-2.78% platform/common/utils/lazy/provider.go
2
90.72
-2.06% platform/view/services/comm/service.go
2
74.33
0.72% platform/fabric/services/db/driver/sql/common/vault.go
2
86.21
-2.3% platform/fabric/core/generic/msp/idemix/cache.go
2
77.72
-0.56% platform/fabric/core/generic/msp/idemix/provider.go
2
54.55
-18.18% platform/view/services/storage/driver/sql/sqlite/errormapper.go
1
98.25
-1.75% platform/common/utils/cache/timeout.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-iou - 33849632453.1 04 Sep 2026 07:47AM UTC 458
42.15
GitHub Action Run
2 itest-fsc-pingpong - 33849632453.2 04 Sep 2026 07:46AM UTC 247
35.0
GitHub Action Run
3 itest-fabric-atsa - 33849632453.3 04 Sep 2026 07:48AM UTC 448
45.73
GitHub Action Run
4 itest-fabric-iouhsm - 33849632453.4 04 Sep 2026 07:47AM UTC 458
41.29
GitHub Action Run
5 utest-postgres - 33849632453.5 04 Sep 2026 07:42AM UTC 490
10.03
GitHub Action Run
6 itest-fabricx-simple - 33849632453.6 04 Sep 2026 07:41AM UTC 475
28.56
GitHub Action Run
7 itest-fabric-atsachaincode - 33849632453.7 04 Sep 2026 07:43AM UTC 453
32.4
GitHub Action Run
8 itest-fabricx-multiendorsement - 33849632453.8 04 Sep 2026 07:41AM UTC 475
29.25
GitHub Action Run
9 itest-fabric-runtimeconfig - 33849632453.9 04 Sep 2026 07:44AM UTC 458
39.8
GitHub Action Run
10 itest-fabricx-deployment - 33849632453.10 04 Sep 2026 07:41AM UTC 475
29.24
GitHub Action Run
11 itest-fabricx-atsa - 33849632453.11 04 Sep 2026 07:41AM UTC 477
31.55
GitHub Action Run
12 itest-fabric-stoprestart - 33849632453.12 04 Sep 2026 07:45AM UTC 448
32.75
GitHub Action Run
13 itest-fabric-twonets - 33849632453.13 04 Sep 2026 07:44AM UTC 448
30.69
GitHub Action Run
14 itest-fsc-stoprestart - 33849632453.14 04 Sep 2026 07:43AM UTC 243
33.92
GitHub Action Run
15 utest - 33849632453.15 04 Sep 2026 07:45AM UTC 490
78.17
GitHub Action Run
16 itest-fabric-configupdate - 33849632453.16 04 Sep 2026 07:44AM UTC 458
39.6
GitHub Action Run
17 itest-fabric-events - 33849632453.17 04 Sep 2026 07:44AM UTC 453
29.71
GitHub Action Run
18 itest-fabricx-iou - 33849632453.18 04 Sep 2026 07:40AM UTC 477
29.69
GitHub Action Run
19 itest-fsc-signedpingpong - 33849632453.19 04 Sep 2026 07:41AM UTC 241
31.96
GitHub Action Run
Source Files on build 33849632453
  • Tree
  • List 499
  • Changed 52
  • Source Changed 25
  • Coverage Changed 52
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33849632453
  • 49120418 on github
  • Prev Build on main (#33848347611)
  • Next Build on main (#33850792656)
  • 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