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

LFDT-Panurus / panurus / 37749007535
85%

Build:
DEFAULT BRANCH: main
Ran 08 Oct 2026 08:27AM UTC
Jobs 97
Files 613
Run time 8min
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

08 Oct 2026 08:18AM UTC coverage: 84.097% (-0.1%) from 84.224%
37749007535

push

github

AkramBitar
feat(storage): run the ledger drift checks in the background

Adds a background sweep that periodically compares locally stored
token transactions and unspent tokens against the ledger, recording
findings for anything that drifted (a token missing on the ledger, a
transaction status that disagrees, content mismatches, etc). One
replica per store runs the sweep at a time via a PostgreSQL advisory
lock, findings are aged and auto-resolved once a problem stops being
observed, and the whole thing is a safety net that never fails the
owning service.

Includes the fixes from all review rounds:
- clamp the default timeout to scanInterval (and now any explicit
  timeout that exceeds it too), so a misconfiguration cannot fail
  owner/auditor service startup
- use FSC errors.Join instead of stdlib
- stop dropping info-severity findings on the legacy on-demand check
  API, and only elevate tx_status_unavailable to Warning for confirmed
  records so it still surfaces through the on-demand path without
  reintroducing the transient-lookup flakiness the info-severity filter
  was added for
- classic Fabric's token query now reports a missing token as a nil
  entry instead of erroring the whole call, matching fabricx, so
  checkUnspentOneByOne can tell a missing token apart from a read
  failure; GetTokenView and the interactive certifier backend both
  reject a nil entry explicitly since certification needs the token to
  actually exist, and the chaincode handler's own contract is
  documented rather than left implicit
- order transaction queries by (stored_at, tx_id) so the transaction
  walk dedupes a multi-movement transaction in O(1) memory instead of a
  set that grows with total ledger history; documented on the
  interface, since it's shared by every QueryTransactions caller, not
  just the checks walk
- reset the FindingsOpen gauge when leadership is not acquired or a
  leader sweep itself fails, so a replica that is not currently
  reporting current findin... (continued)

1006 of 1308 new or added lines in 26 files covered. (76.91%)

17 existing lines in 7 files now uncovered.

45520 of 54128 relevant lines covered (84.1%)

26137.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
206
59.02
-5.93% token/services/storage/db/common/checks.go
24
87.3
token/services/storage/db/sql/common/findings.go
15
93.64
token/services/storage/services/checks/manager.go
12
79.11
-6.5% token/sdk/dig/sdk.go
11
73.17
token/services/storage/db/common/finding.go
10
84.21
-15.79% token/sdk/db/checks.go
4
15.6
-0.59% token/services/certifier/interactive/driver.go
4
71.03
-0.12% token/services/storage/auditdb/store.go
4
69.23
token/services/storage/services/checks/service.go
4
75.0
-0.27% token/services/storage/ttxdb/store.go
3
18.52
18.52% token/services/network/fabric/tcc/certifier.go
3
83.58
-0.15% token/services/storage/db/sql/common/tokens.go
2
94.29
token/services/storage/services/checks/config.go

Coverage Regressions

Lines Coverage ∆ File
4
74.81
-1.48% token/services/network/fabric/tcc/tcc.go
3
59.02
-5.93% token/services/storage/db/common/checks.go
2
84.21
-15.79% token/sdk/db/checks.go
2
88.11
-0.36% token/services/benchmark/runner.go
2
92.14
-0.36% token/services/identity/membership/lm.go
2
83.58
-0.15% token/services/storage/db/sql/common/tokens.go
2
75.0
-0.27% token/services/storage/ttxdb/store.go
Jobs
ID Job ID Ran Files Coverage
1 itest-evm-fabtoken-t9 - 37749007535.1 08 Oct 2026 08:28AM UTC 528
26.88
GitHub Action Run
2 itest-evm-gateway-fabtoken-t9 - 37749007535.2 08 Oct 2026 08:29AM UTC 528
27.55
GitHub Action Run
3 itest-evm-gateway-fabtoken-t2 - 37749007535.3 08 Oct 2026 08:28AM UTC 528
10.69
GitHub Action Run
4 itest-evm-fabtoken-t2 - 37749007535.4 08 Oct 2026 08:29AM UTC 528
26.89
GitHub Action Run
5 itest-interop-dlog-t3 - 37749007535.5 08 Oct 2026 08:35AM UTC 510
41.47
GitHub Action Run
6 itest-evm-fabtoken-t13 - 37749007535.6 08 Oct 2026 08:27AM UTC 528
28.79
GitHub Action Run
7 itest-nft-fabtoken - 37749007535.7 08 Oct 2026 08:31AM UTC 518
30.99
GitHub Action Run
8 itest-dlog-fabric-t12 - 37749007535.8 08 Oct 2026 08:31AM UTC 510
41.49
GitHub Action Run
9 itest-fabtoken-fabric-t2 - 37749007535.9 08 Oct 2026 08:31AM UTC 510
29.42
GitHub Action Run
10 itest-evm-fabtoken-t11 - 37749007535.10 08 Oct 2026 08:35AM UTC 528
28.09
GitHub Action Run
11 itest-evm-gateway-t11 - 37749007535.11 08 Oct 2026 08:35AM UTC 528
34.19
GitHub Action Run
12 itest-dlog-fabric-t2 - 37749007535.12 08 Oct 2026 08:32AM UTC 510
35.13
GitHub Action Run
13 itest-evm-t13 - 37749007535.13 08 Oct 2026 08:27AM UTC 528
36.01
GitHub Action Run
14 itest-fabtoken-fabric-t1-replicas - 37749007535.14 08 Oct 2026 08:36AM UTC 510
37.3
GitHub Action Run
15 itest-evm-gateway-t12 - 37749007535.15 08 Oct 2026 08:29AM UTC 528
39.07
GitHub Action Run
16 itest-dlog-fabric-t8-libp2p - 37749007535.16 08 Oct 2026 08:35AM UTC 510
43.26
GitHub Action Run
17 itest-fabricx-dlog-t5 - 37749007535.17 08 Oct 2026 08:34AM UTC 530
40.3
GitHub Action Run
18 itest-fabtoken-fabric-t3 - 37749007535.18 08 Oct 2026 08:31AM UTC 510
31.11
GitHub Action Run
19 itest-fabtoken-fabric-t5 - 37749007535.19 08 Oct 2026 08:33AM UTC 510
32.76
GitHub Action Run
20 itest-nft-dlog - 37749007535.20 08 Oct 2026 08:31AM UTC 518
38.38
GitHub Action Run
21 itest-evm-gateway-t13 - 37749007535.21 08 Oct 2026 08:29AM UTC 528
35.98
GitHub Action Run
22 itest-evm-gateway-t9 - 37749007535.22 08 Oct 2026 08:29AM UTC 528
33.79
GitHub Action Run
23 itest-dlog-fabric-t7 - 37749007535.23 08 Oct 2026 08:34AM UTC 510
35.35
GitHub Action Run
24 itest-update-t2 - 37749007535.24 08 Oct 2026 08:35AM UTC 510
38.14
GitHub Action Run
25 itest-evm-gateway-fabtoken-t6 - 37749007535.25 08 Oct 2026 08:35AM UTC 528
35.14
GitHub Action Run
26 itest-update-t1 - 37749007535.26 08 Oct 2026 08:33AM UTC 510
43.01
GitHub Action Run
27 itest-dlog-fabric-t1-libp2p - 37749007535.27 08 Oct 2026 08:36AM UTC 510
43.19
GitHub Action Run
28 itest-interop-fabtoken-t4 - 37749007535.28 08 Oct 2026 08:32AM UTC 510
33.32
GitHub Action Run
29 itest-evm-t2 - 37749007535.29 08 Oct 2026 08:28AM UTC 528
33.24
GitHub Action Run
30 itest-update-t4 - 37749007535.30 08 Oct 2026 08:34AM UTC 510
43.14
GitHub Action Run
31 itest-evm-gateway-t2.1 - 37749007535.31 08 Oct 2026 08:29AM UTC 528
32.77
GitHub Action Run
32 itest-evm-gateway-t1 - 37749007535.32 08 Oct 2026 08:35AM UTC 528
42.21
GitHub Action Run
33 itest-dloghsm-fabric-t2-websocket - 37749007535.33 08 Oct 2026 08:38AM UTC 511
43.48
GitHub Action Run
34 itest-update-t3 - 37749007535.34 08 Oct 2026 08:38AM UTC 510
38.98
GitHub Action Run
35 itest-dlog-fabric-t1-websocket - 37749007535.35 08 Oct 2026 08:37AM UTC 510
43.24
GitHub Action Run
36 itest-evm-t2.1 - 37749007535.36 08 Oct 2026 08:27AM UTC 528
32.49
GitHub Action Run
37 itest-fabtoken-fabric-t1-libp2p - 37749007535.37 08 Oct 2026 08:37AM UTC 510
35.56
GitHub Action Run
38 itest-dlog-fabric-t8-websocket - 37749007535.38 08 Oct 2026 08:38AM UTC 510
43.29
GitHub Action Run
39 itest-dloghsm-fabric-t2-replicas - 37749007535.39 08 Oct 2026 08:37AM UTC 511
45.21
GitHub Action Run
40 itest-dlog-fabric-t10-websocket - 37749007535.40 08 Oct 2026 08:37AM UTC 510
44.15
GitHub Action Run
41 itest-dlog-fabric-t1-replicas - 37749007535.41 08 Oct 2026 08:38AM UTC 510
44.97
GitHub Action Run
42 itest-evm-t12 - 37749007535.42 08 Oct 2026 08:28AM UTC 528
38.73
GitHub Action Run
43 itest-interop-fabtoken-t1 - 37749007535.43 08 Oct 2026 08:36AM UTC 510
34.89
GitHub Action Run
44 itest-interop-fabtoken-t5 - 37749007535.44 08 Oct 2026 08:33AM UTC 510
33.34
GitHub Action Run
45 itest-fabricx-dlog-t3 - 37749007535.45 08 Oct 2026 08:32AM UTC 530
38.15
GitHub Action Run
46 itest-dloghsm-fabric-t1-replicas - 37749007535.46 08 Oct 2026 08:37AM UTC 511
45.0
GitHub Action Run
47 itest-interop-dlog-t5 - 37749007535.47 08 Oct 2026 08:34AM UTC 510
40.93
GitHub Action Run
48 itest-fabricx-dlog-t1-replicas - 37749007535.48 08 Oct 2026 08:44AM UTC 530
44.42
GitHub Action Run
49 itest-dvp-fabtoken - 37749007535.49 08 Oct 2026 08:32AM UTC 518
32.35
GitHub Action Run
50 itest-evm-t11 - 37749007535.50 08 Oct 2026 08:36AM UTC 528
33.96
GitHub Action Run
51 itest-evm-gateway-fabtoken-t1 - 37749007535.51 08 Oct 2026 08:36AM UTC 528
34.95
GitHub Action Run
52 itest-fabricx-dlog-t13 - 37749007535.52 08 Oct 2026 08:35AM UTC 530
38.05
GitHub Action Run
53 itest-dlog-fabric-t11 - 37749007535.53 08 Oct 2026 08:34AM UTC 510
34.28
GitHub Action Run
54 itest-interop-dlog-t1 - 37749007535.54 08 Oct 2026 08:37AM UTC 510
42.51
GitHub Action Run
55 itest-dlog-fabric-t6-libp2p - 37749007535.55 08 Oct 2026 08:37AM UTC 510
43.37
GitHub Action Run
56 itest-fabtoken-fabric-t1-websocket - 37749007535.56 08 Oct 2026 08:35AM UTC 510
35.66
GitHub Action Run
57 itest-interop-dlog-t4 - 37749007535.57 08 Oct 2026 08:35AM UTC 510
40.93
GitHub Action Run
58 utest-unit-tests-regression - 37749007535.58 08 Oct 2026 08:34AM UTC 612
75.72
GitHub Action Run
59 itest-fabricx-dlog-t6-libp2p - 37749007535.59 08 Oct 2026 08:42AM UTC 530
43.04
GitHub Action Run
60 itest-dlog-fabric-t2.1 - 37749007535.60 08 Oct 2026 08:34AM UTC 510
34.97
GitHub Action Run
61 itest-fabricx-dlog-t11 - 37749007535.61 08 Oct 2026 08:37AM UTC 530
34.06
GitHub Action Run
62 itest-dlog-fabric-t13 - 37749007535.62 08 Oct 2026 08:34AM UTC 510
38.25
GitHub Action Run
63 itest-fabtoken-dlog-fabric - 37749007535.63 08 Oct 2026 08:41AM UTC 510
43.39
GitHub Action Run
64 itest-evm-t6 - 37749007535.64 08 Oct 2026 08:38AM UTC 528
42.2
GitHub Action Run
65 itest-dlog-fabric-t9 - 37749007535.65 08 Oct 2026 08:32AM UTC 510
36.24
GitHub Action Run
66 itest-evm-gateway-fabtoken-t13 - 37749007535.66 08 Oct 2026 08:28AM UTC 528
29.49
GitHub Action Run
67 itest-evm-gateway-fabtoken-t11 - 37749007535.67 08 Oct 2026 08:35AM UTC 528
28.55
GitHub Action Run
68 itest-evm-t9 - 37749007535.68 08 Oct 2026 08:29AM UTC 528
33.45
GitHub Action Run
69 itest-interop-fabtoken-t3 - 37749007535.69 08 Oct 2026 08:36AM UTC 510
33.91
GitHub Action Run
70 itest-dlog-fabric-t8-replicas - 37749007535.70 08 Oct 2026 08:39AM UTC 510
45.06
GitHub Action Run
71 itest-dlog-fabric-t6-replicas - 37749007535.71 08 Oct 2026 08:39AM UTC 510
45.12
GitHub Action Run
72 itest-dlog-fabric-t6-websocket - 37749007535.72 08 Oct 2026 08:38AM UTC 510
43.41
GitHub Action Run
73 itest-fabtoken-fabric-t4 - 37749007535.73 08 Oct 2026 08:31AM UTC 510
32.72
GitHub Action Run
74 itest-dlog-fabric-t10-libp2p - 37749007535.74 08 Oct 2026 08:37AM UTC 510
44.09
GitHub Action Run
75 itest-evm-t1 - 37749007535.75 08 Oct 2026 08:39AM UTC 528
42.02
GitHub Action Run
76 itest-fabricx-dlog-t16-libp2p - 37749007535.76 08 Oct 2026 08:40AM UTC 530
43.01
GitHub Action Run
77 itest-dlog-fabric-t3 - 37749007535.77 08 Oct 2026 08:33AM UTC 510
38.59
GitHub Action Run
78 itest-fabricx-dlog-t1-websocket - 37749007535.78 08 Oct 2026 08:40AM UTC 530
42.85
GitHub Action Run
79 itest-dvp-dlog - 37749007535.79 08 Oct 2026 08:32AM UTC 518
39.69
GitHub Action Run
80 itest-dlog-fabric-t5 - 37749007535.80 08 Oct 2026 08:34AM UTC 510
40.17
GitHub Action Run
81 itest-fabricx-dlog-t1-libp2p - 37749007535.81 08 Oct 2026 08:41AM UTC 530
42.83
GitHub Action Run
82 itest-evm-fabtoken-t1 - 37749007535.82 08 Oct 2026 08:37AM UTC 528
35.08
GitHub Action Run
83 itest-evm-gateway-t2 - 37749007535.83 08 Oct 2026 08:29AM UTC 528
33.11
GitHub Action Run
84 itest-dloghsm-fabric-t1-websocket - 37749007535.84 08 Oct 2026 08:39AM UTC 511
43.29
GitHub Action Run
85 utest-unit-tests-race - 37749007535.85 08 Oct 2026 08:34AM UTC 612
75.73
GitHub Action Run
86 itest-fabricx-dlog-t4 - 37749007535.86 08 Oct 2026 08:36AM UTC 530
40.34
GitHub Action Run
87 itest-dloghsm-fabric-t1-libp2p - 37749007535.87 08 Oct 2026 08:38AM UTC 511
43.24
GitHub Action Run
88 itest-evm-gateway-t6 - 37749007535.88 08 Oct 2026 08:37AM UTC 528
42.53
GitHub Action Run
89 itest-fabricx-dlog-t16-websocket - 37749007535.89 08 Oct 2026 08:42AM UTC 530
43.02
GitHub Action Run
90 itest-fabricx-dlog-t6-replicas - 37749007535.90 08 Oct 2026 08:43AM UTC 530
44.63
GitHub Action Run
91 itest-evm-fabtoken-t6 - 37749007535.91 08 Oct 2026 08:37AM UTC 528
34.96
GitHub Action Run
92 itest-dlogstress-t1 - 37749007535.92 08 Oct 2026 08:30AM UTC 510
38.92
GitHub Action Run
93 itest-dloghsm-fabric-t2-libp2p - 37749007535.93 08 Oct 2026 08:38AM UTC 511
43.43
GitHub Action Run
94 itest-fabricx-dlog-t16-replicas - 37749007535.94 08 Oct 2026 08:44AM UTC 530
44.71
GitHub Action Run
95 itest-dlog-fabric-t4 - 37749007535.95 08 Oct 2026 08:34AM UTC 510
40.19
GitHub Action Run
96 itest-fabricx-dlog-t6-websocket - 37749007535.96 08 Oct 2026 08:39AM UTC 530
43.01
GitHub Action Run
97 itest-dlog-fabric-t10-replicas - 37749007535.97 08 Oct 2026 08:40AM UTC 510
45.88
GitHub Action Run
Source Files on build 37749007535
  • Tree
  • List 613
  • Changed 91
  • Source Changed 22
  • Coverage Changed 90
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37749007535
  • f7a91440 on github
  • Prev Build on main (#37628696316)
  • Next Build on main (#37755657533)
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