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

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

Build:
DEFAULT BRANCH: main
Ran 02 Nov 2026 08:09AM UTC
Jobs 28
Files 496
Run time 1min
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

02 Nov 2026 08:08AM UTC coverage: 91.562% (+0.03%) from 91.536%
41410905971

push

github

web-flow
feat(storage): version every FSC store and add node migrate (#2425)

Every FSC store (KVS, binding, signer info, audit info, endorse tx, metadata, envelope and vault) implements migrate.Versioned on SQLite, Postgres and memory. Step 1 runs the CREATE TABLE IF NOT EXISTS statements CreateSchema runs. On the KVS and the vault it also runs the existing layout probes inside the step's transaction, through new ReorderPrimaryKeyTx variants and, on the Postgres vault, convertTextKeysTx. Each probe reads the layout first and takes ACCESS EXCLUSIVE only on a table it has to convert, so step 1 on a v0.27 database records version 1 without blocking older replicas. CreateSchema on these stores is unchanged and records no version.

With skipCreateTable: true an FSC store with pending steps now fails to open with migrate.ErrPending, naming the store; the error tells the operator to run `node migrate`.

While a store runs schema steps or waits for the migration lock, migrate.InProgress reports true and /readyz answers 503 with reason "migrating". This covers a channel's vault, which migrates when the channel opens, after the web listener has started; /healthz stays 200 meanwhile.

`node migrate` installs every SDK without starting it and opens every store the SDKs register, running their pending steps; `--check` runs nothing and exits non-zero while a step is pending. pkg/node gets StoreOpener and Node.Migrate. The view SDK registers one StoreOpener that calls every entry of the dig value group fsc-store-openers, so an SDK nested in another reaches it. The view SDK provides an entry for its stores, and the Fabric SDK one for its stores and the vault of every channel on a generic network. config.Provider.ForceSkipCreateTable sets skipCreateTable on every persistence for the run. Installing loads identities, so the command needs the node's configuration and key material.

Tests:
- Catalog diffs on SQLite and Postgres show that step 1 on an empty database creates the s... (continued)

209 of 233 new or added lines in 24 files covered. (89.7%)

5 existing lines in 3 files now uncovered.

30710 of 33540 relevant lines covered (91.56%)

1287.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
87.58
-3.73% pkg/node/node.go
5
70.59
platform/fabric/sdk/dig/stores.go
5
79.03
1.25% platform/fabric/services/db/driver/sql/postgres/vault.go
2
94.59
0.84% node/node.go
2
77.65
2.32% platform/fabric/services/db/driver/sql/sqlite/vault.go
2
94.04
-0.55% platform/view/services/config/provider.go

Coverage Regressions

Lines Coverage ∆ File
2
96.66
-0.61% platform/fabric/core/generic/delivery/delivery.go
2
79.03
1.25% platform/fabric/services/db/driver/sql/postgres/vault.go
1
93.99
-0.3% platform/view/services/comm/p2p.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-configupdate - 41410905971.1 02 Nov 2026 08:10AM UTC 459
39.49
GitHub Action Run
2 itest-fabric-twonets - 41410905971.2 02 Nov 2026 08:10AM UTC 449
37.72
GitHub Action Run
3 itest-fabric-iou - 41410905971.3 02 Nov 2026 08:11AM UTC 459
41.88
GitHub Action Run
4 itest-fabricx-deployment - 41410905971.4 02 Nov 2026 08:10AM UTC 481
29.67
GitHub Action Run
5 itest-fabricx-faultrecovery-replication - 41410905971.5 02 Nov 2026 08:11AM UTC 481
29.31
GitHub Action Run
6 itest-fabricx-atsa - 41410905971.6 02 Nov 2026 08:10AM UTC 481
31.83
GitHub Action Run
7 itest-fabric-events - 41410905971.7 02 Nov 2026 08:11AM UTC 454
29.83
GitHub Action Run
8 itest-fabricx-faultrecovery - 41410905971.8 02 Nov 2026 08:12AM UTC 481
30.27
GitHub Action Run
9 itest-fabric-faultrecovery - 41410905971.9 02 Nov 2026 08:12AM UTC 449
40.95
GitHub Action Run
10 itest-fabric-faultrecovery-bft - 41410905971.10 02 Nov 2026 08:10AM UTC 449
38.48
GitHub Action Run
11 utest-root - 41410905971.11 02 Nov 2026 08:12AM UTC 487
89.75
GitHub Action Run
12 itest-fabric-faultrecovery-replication - 41410905971.12 02 Nov 2026 08:12AM UTC 449
39.98
GitHub Action Run
13 utest-extensions - 41410905971.13 02 Nov 2026 08:09AM UTC 8
52.69
GitHub Action Run
14 itest-fabric-iouhsm - 41410905971.14 02 Nov 2026 08:11AM UTC 459
38.86
GitHub Action Run
15 itest-fabric-iou-libp2p - 41410905971.15 02 Nov 2026 08:11AM UTC 459
37.12
GitHub Action Run
16 itest-fabricx-simple - 41410905971.16 02 Nov 2026 08:10AM UTC 481
29.19
GitHub Action Run
17 itest-fabric-faultrecovery-postgres-outage - 41410905971.17 02 Nov 2026 08:12AM UTC 449
39.99
GitHub Action Run
18 itest-fabric-faultrecovery-partition - 41410905971.18 02 Nov 2026 08:12AM UTC 449
38.63
GitHub Action Run
19 itest-fabricx-iou - 41410905971.19 02 Nov 2026 08:10AM UTC 481
30.48
GitHub Action Run
20 itest-fabric-runtimeconfig - 41410905971.20 02 Nov 2026 08:11AM UTC 459
39.71
GitHub Action Run
21 itest-fabricx-multiendorsement - 41410905971.21 02 Nov 2026 08:10AM UTC 481
29.71
GitHub Action Run
22 itest-fsc-pingpong - 41410905971.22 02 Nov 2026 08:10AM UTC 253
35.7
GitHub Action Run
23 itest-fsc-stoprestart - 41410905971.23 02 Nov 2026 08:11AM UTC 249
34.44
GitHub Action Run
24 itest-fabricx-configupdate - 41410905971.24 02 Nov 2026 08:11AM UTC 481
29.74
GitHub Action Run
25 itest-fabric-atsa - 41410905971.25 02 Nov 2026 08:12AM UTC 449
44.75
GitHub Action Run
26 itest-fsc-signedpingpong - 41410905971.26 02 Nov 2026 08:10AM UTC 248
31.15
GitHub Action Run
27 utest-postgres - 41410905971.27 02 Nov 2026 08:10AM UTC 183
28.97
GitHub Action Run
28 itest-fabric-atsachaincode - 41410905971.28 02 Nov 2026 08:10AM UTC 454
31.63
GitHub Action Run
Source Files on build 41410905971
  • Tree
  • List 496
  • Changed 61
  • Source Changed 22
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41410905971
  • 6be759b4 on github
  • Prev Build on main (#41410798460)
  • Next Build on main (#41419757343)
  • 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