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

LFDT-Panurus / panurus / 36735360451
85%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 03:23PM UTC
Jobs 97
Files 606
Run time 13min
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

30 Sep 2026 03:15PM UTC coverage: 84.143%. First build
36735360451

push

github

Effi-S
fix(storage): address misc db/sql/common findings

Fixes a batch of medium/low findings from a bug-hunting review of the shared
SQL storage layer (token/services/storage/db/sql/common).

Correctness
- keystore.Put() reported success on a real value conflict: it wrapped an
  already-nil error, and wrapping nil yields nil.
- Foreign-key violations are detected from the code the driver reports through
  its own typed error (Postgres 23503, SQLITE_CONSTRAINT_FOREIGNKEY) rather
  than from the message text, whose wording is not part of any driver's
  contract and has changed across releases. A driver exposing neither accessor
  is deliberately left unclassified, which is the conservative branch in every
  caller.
- IdentityExists returns (bool, error), so a failed lookup no longer reads as
  "not found".
- tokenlock.Lock returned nil for any error that was not a unique-key
  violation, telling the caller it held a lock it did not.

Performance
- SetSpendableBySupportedTokenFormats no longer rewrites the whole Tokens table
  on every reconciliation; both updates are predicated on the flag actually
  having to change. This also fixes a latent bug: with no supported format,
  every token was marked spendable.

Robustness
- The prepared-statement cache evicts a statement that fails at execute time,
  so the next call re-prepares instead of degrading to the unprepared path
  forever. Eviction is narrow on purpose: an ordinary failure such as a
  constraint violation leaves a perfectly valid statement, and a permanent
  failure unrelated to validity would add a DEALLOCATE to every call. Only the
  two PostgreSQL states that mean the statement itself is gone qualify;
  SQLITE_SCHEMA is left out because modernc.org/sqlite prepares through
  sqlite3_prepare_v2 and SQLite re-prepares transparently instead of returning
  the code, so no real backend can reach such a branch.

Cleanup
- Use the FSC errors package instead of fmt.Errorf, wrap or log previously raw
  or d... (continued)

122 of 137 new or added lines in 16 files covered. (89.05%)

44234 of 52570 relevant lines covered (84.14%)

27477.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
91.75
token/services/identity/role/registry.go
4
86.67
token/services/storage/db/sql/common/prepared_stmt_holder.go
2
41.58
token/services/storage/db/kvs/walletdb.go
2
84.17
token/services/storage/db/sql/common/endorser.go
1
87.88
token/services/storage/db/sql/common/keystore.go
1
83.2
token/services/storage/db/sql/common/tokens.go
1
82.29
token/services/storage/db/sql/common/transactions.go
Jobs
ID Job ID Ran Files Coverage
1 itest-evm-t9 - 36735360451.1 30 Sep 2026 03:25PM UTC 521
32.94
GitHub Action Run
2 itest-evm-fabtoken-t13 - 36735360451.2 30 Sep 2026 03:24PM UTC 521
28.03
GitHub Action Run
3 itest-evm-gateway-fabtoken-t9 - 36735360451.3 30 Sep 2026 03:23PM UTC 521
26.09
GitHub Action Run
4 itest-fabricx-dlog-t11 - 36735360451.4 30 Sep 2026 03:33PM UTC 523
33.05
GitHub Action Run
5 itest-dvp-fabtoken - 36735360451.5 30 Sep 2026 03:27PM UTC 511
30.76
GitHub Action Run
6 itest-evm-fabtoken-t9 - 36735360451.6 30 Sep 2026 03:25PM UTC 521
26.17
GitHub Action Run
7 itest-dlog-fabric-t2.1 - 36735360451.7 30 Sep 2026 03:30PM UTC 503
33.67
GitHub Action Run
8 itest-evm-gateway-t13 - 36735360451.8 30 Sep 2026 03:26PM UTC 521
35.01
GitHub Action Run
9 itest-evm-gateway-t2 - 36735360451.9 30 Sep 2026 03:25PM UTC 521
32.05
GitHub Action Run
10 itest-dlog-fabric-t13 - 36735360451.10 30 Sep 2026 03:31PM UTC 503
36.91
GitHub Action Run
11 itest-fabricx-dlog-t13 - 36735360451.11 30 Sep 2026 03:31PM UTC 523
36.72
GitHub Action Run
12 itest-nft-dlog - 36735360451.12 30 Sep 2026 03:27PM UTC 511
37.1
GitHub Action Run
13 itest-evm-t13 - 36735360451.13 30 Sep 2026 03:27PM UTC 521
35.03
GitHub Action Run
14 itest-dlog-fabric-t7 - 36735360451.14 30 Sep 2026 03:31PM UTC 503
34.16
GitHub Action Run
15 itest-fabtoken-fabric-t2 - 36735360451.15 30 Sep 2026 03:30PM UTC 503
27.75
GitHub Action Run
16 itest-evm-fabtoken-t2 - 36735360451.16 30 Sep 2026 03:25PM UTC 521
26.11
GitHub Action Run
17 itest-evm-gateway-fabtoken-t13 - 36735360451.17 30 Sep 2026 03:24PM UTC 521
28.01
GitHub Action Run
18 itest-evm-t2.1 - 36735360451.18 30 Sep 2026 03:26PM UTC 521
31.5
GitHub Action Run
19 itest-evm-gateway-fabtoken-t2 - 36735360451.19 30 Sep 2026 03:24PM UTC 521
10.88
GitHub Action Run
20 itest-evm-gateway-t12 - 36735360451.20 30 Sep 2026 03:25PM UTC 521
37.88
GitHub Action Run
21 itest-evm-gateway-t6 - 36735360451.21 30 Sep 2026 03:34PM UTC 521
42.26
GitHub Action Run
22 itest-dlog-fabric-t11 - 36735360451.22 30 Sep 2026 03:31PM UTC 503
32.83
GitHub Action Run
23 itest-fabricx-dlog-t1-replicas - 36735360451.23 30 Sep 2026 03:40PM UTC 523
44.13
GitHub Action Run
24 itest-dlog-fabric-t6-websocket - 36735360451.24 30 Sep 2026 03:35PM UTC 503
43.1
GitHub Action Run
25 itest-evm-gateway-t2.1 - 36735360451.25 30 Sep 2026 03:25PM UTC 521
31.42
GitHub Action Run
26 itest-fabtoken-fabric-t4 - 36735360451.26 30 Sep 2026 03:29PM UTC 503
31.23
GitHub Action Run
27 itest-dlog-fabric-t9 - 36735360451.27 30 Sep 2026 03:30PM UTC 503
34.74
GitHub Action Run
28 itest-evm-t2 - 36735360451.28 30 Sep 2026 03:25PM UTC 521
32.14
GitHub Action Run
29 itest-fabtoken-fabric-t1-websocket - 36735360451.29 30 Sep 2026 03:34PM UTC 503
35.05
GitHub Action Run
30 itest-update-t2 - 36735360451.30 30 Sep 2026 03:33PM UTC 503
38.01
GitHub Action Run
31 itest-dlog-fabric-t2 - 36735360451.31 30 Sep 2026 03:31PM UTC 503
33.7
GitHub Action Run
32 utest-unit-tests-regression - 36735360451.32 30 Sep 2026 03:30PM UTC 605
75.82
GitHub Action Run
33 itest-dlog-fabric-t8-websocket - 36735360451.33 30 Sep 2026 03:35PM UTC 503
43.01
GitHub Action Run
34 itest-evm-t12 - 36735360451.34 30 Sep 2026 03:26PM UTC 521
37.96
GitHub Action Run
35 itest-evm-gateway-t11 - 36735360451.35 30 Sep 2026 03:30PM UTC 521
32.84
GitHub Action Run
36 itest-dlog-fabric-t5 - 36735360451.36 30 Sep 2026 03:31PM UTC 503
38.91
GitHub Action Run
37 itest-evm-t1 - 36735360451.37 30 Sep 2026 03:35PM UTC 521
41.96
GitHub Action Run
38 itest-update-t3 - 36735360451.38 30 Sep 2026 03:35PM UTC 503
38.46
GitHub Action Run
39 itest-evm-gateway-fabtoken-t11 - 36735360451.39 30 Sep 2026 03:32PM UTC 521
27.02
GitHub Action Run
40 itest-interop-fabtoken-t5 - 36735360451.40 30 Sep 2026 03:32PM UTC 503
32.71
GitHub Action Run
41 itest-evm-t6 - 36735360451.41 30 Sep 2026 03:35PM UTC 521
42.18
GitHub Action Run
42 itest-fabricx-dlog-t3 - 36735360451.42 30 Sep 2026 03:29PM UTC 523
37.01
GitHub Action Run
43 itest-nft-fabtoken - 36735360451.43 30 Sep 2026 03:27PM UTC 511
29.37
GitHub Action Run
44 itest-update-t1 - 36735360451.44 30 Sep 2026 03:29PM UTC 503
42.99
GitHub Action Run
45 itest-dvp-dlog - 36735360451.45 30 Sep 2026 03:29PM UTC 511
38.39
GitHub Action Run
46 itest-evm-gateway-fabtoken-t6 - 36735360451.46 30 Sep 2026 03:33PM UTC 521
34.67
GitHub Action Run
47 itest-dlogstress-t1 - 36735360451.47 30 Sep 2026 03:27PM UTC 503
37.67
GitHub Action Run
48 itest-interop-dlog-t1 - 36735360451.48 30 Sep 2026 03:33PM UTC 503
41.96
GitHub Action Run
49 itest-fabtoken-fabric-t3 - 36735360451.49 30 Sep 2026 03:29PM UTC 503
29.55
GitHub Action Run
50 itest-evm-gateway-t9 - 36735360451.50 30 Sep 2026 03:25PM UTC 521
32.86
GitHub Action Run
51 itest-dlog-fabric-t12 - 36735360451.51 30 Sep 2026 03:30PM UTC 503
40.13
GitHub Action Run
52 itest-dlog-fabric-t1-replicas - 36735360451.52 30 Sep 2026 03:36PM UTC 503
44.66
GitHub Action Run
53 itest-dlog-fabric-t6-libp2p - 36735360451.53 30 Sep 2026 03:34PM UTC 503
43.14
GitHub Action Run
54 itest-evm-fabtoken-t6 - 36735360451.54 30 Sep 2026 03:33PM UTC 521
34.83
GitHub Action Run
55 itest-fabricx-dlog-t16-websocket - 36735360451.55 30 Sep 2026 08:27PM UTC 523
42.68
GitHub Action Run
56 itest-update-t4 - 36735360451.56 30 Sep 2026 03:33PM UTC 503
42.62
GitHub Action Run
57 itest-interop-fabtoken-t3 - 36735360451.57 30 Sep 2026 03:31PM UTC 503
33.23
GitHub Action Run
58 itest-interop-dlog-t4 - 36735360451.58 30 Sep 2026 03:29PM UTC 503
39.61
GitHub Action Run
59 itest-dloghsm-fabric-t2-websocket - 36735360451.59 30 Sep 2026 03:35PM UTC 504
43.18
GitHub Action Run
60 itest-dloghsm-fabric-t2-libp2p - 36735360451.60 30 Sep 2026 03:35PM UTC 504
43.15
GitHub Action Run
61 itest-dloghsm-fabric-t1-websocket - 36735360451.61 30 Sep 2026 03:35PM UTC 504
42.97
GitHub Action Run
62 itest-interop-dlog-t5 - 36735360451.62 30 Sep 2026 03:31PM UTC 503
40.47
GitHub Action Run
63 itest-fabricx-dlog-t4 - 36735360451.63 30 Sep 2026 03:33PM UTC 523
39.12
GitHub Action Run
64 itest-evm-gateway-t1 - 36735360451.64 30 Sep 2026 03:33PM UTC 521
41.96
GitHub Action Run
65 utest-unit-tests-race - 36735360451.65 30 Sep 2026 03:31PM UTC 605
75.87
GitHub Action Run
66 itest-interop-fabtoken-t1 - 36735360451.66 30 Sep 2026 03:32PM UTC 503
34.33
GitHub Action Run
67 itest-interop-dlog-t3 - 36735360451.67 30 Sep 2026 03:32PM UTC 503
41.05
GitHub Action Run
68 itest-fabtoken-fabric-t5 - 36735360451.68 30 Sep 2026 03:30PM UTC 503
31.18
GitHub Action Run
69 itest-dloghsm-fabric-t2-replicas - 36735360451.69 30 Sep 2026 03:35PM UTC 504
44.93
GitHub Action Run
70 itest-dlog-fabric-t4 - 36735360451.70 30 Sep 2026 03:29PM UTC 503
38.91
GitHub Action Run
71 itest-evm-fabtoken-t1 - 36735360451.71 30 Sep 2026 03:35PM UTC 521
34.5
GitHub Action Run
72 itest-fabricx-dlog-t1-libp2p - 36735360451.72 30 Sep 2026 03:38PM UTC 523
42.47
GitHub Action Run
73 itest-evm-gateway-fabtoken-t1 - 36735360451.73 30 Sep 2026 03:33PM UTC 521
34.47
GitHub Action Run
74 itest-dlog-fabric-t10-libp2p - 36735360451.74 30 Sep 2026 03:35PM UTC 503
43.87
GitHub Action Run
75 itest-fabricx-dlog-t6-replicas - 36735360451.75 30 Sep 2026 03:38PM UTC 523
44.29
GitHub Action Run
76 itest-fabricx-dlog-t16-replicas - 36735360451.76 30 Sep 2026 03:40PM UTC 523
44.34
GitHub Action Run
77 itest-fabtoken-dlog-fabric - 36735360451.77 30 Sep 2026 03:37PM UTC 503
42.16
GitHub Action Run
78 itest-dloghsm-fabric-t1-replicas - 36735360451.78 30 Sep 2026 03:36PM UTC 504
44.77
GitHub Action Run
79 itest-interop-fabtoken-t4 - 36735360451.79 30 Sep 2026 03:30PM UTC 503
31.83
GitHub Action Run
80 itest-fabtoken-fabric-t1-replicas - 36735360451.80 30 Sep 2026 03:35PM UTC 503
36.82
GitHub Action Run
81 itest-evm-fabtoken-t11 - 36735360451.81 30 Sep 2026 03:32PM UTC 521
27.1
GitHub Action Run
82 itest-dloghsm-fabric-t1-libp2p - 36735360451.82 30 Sep 2026 03:37PM UTC 504
42.96
GitHub Action Run
83 itest-dlog-fabric-t10-websocket - 36735360451.83 30 Sep 2026 03:35PM UTC 503
43.9
GitHub Action Run
84 itest-dlog-fabric-t8-libp2p - 36735360451.84 30 Sep 2026 03:34PM UTC 503
42.98
GitHub Action Run
85 itest-fabtoken-fabric-t1-libp2p - 36735360451.85 30 Sep 2026 03:34PM UTC 503
35.05
GitHub Action Run
86 itest-fabricx-dlog-t5 - 36735360451.86 30 Sep 2026 03:32PM UTC 523
39.09
GitHub Action Run
87 itest-dlog-fabric-t1-libp2p - 36735360451.87 30 Sep 2026 03:34PM UTC 503
42.91
GitHub Action Run
88 itest-fabricx-dlog-t1-websocket - 36735360451.88 30 Sep 2026 03:39PM UTC 523
42.46
GitHub Action Run
89 itest-dlog-fabric-t6-replicas - 36735360451.89 30 Sep 2026 03:34PM UTC 503
44.89
GitHub Action Run
90 itest-dlog-fabric-t10-replicas - 36735360451.90 30 Sep 2026 03:36PM UTC 503
45.62
GitHub Action Run
91 itest-dlog-fabric-t8-replicas - 36735360451.91 30 Sep 2026 03:35PM UTC 503
44.76
GitHub Action Run
92 itest-fabricx-dlog-t16-libp2p - 36735360451.92 30 Sep 2026 03:40PM UTC 523
42.66
GitHub Action Run
93 itest-fabricx-dlog-t6-libp2p - 36735360451.93 30 Sep 2026 03:39PM UTC 523
42.69
GitHub Action Run
94 itest-evm-t11 - 36735360451.94 30 Sep 2026 03:33PM UTC 521
32.91
GitHub Action Run
95 itest-dlog-fabric-t1-websocket - 36735360451.95 30 Sep 2026 03:34PM UTC 503
42.94
GitHub Action Run
96 itest-dlog-fabric-t3 - 36735360451.96 30 Sep 2026 03:29PM UTC 503
37.13
GitHub Action Run
97 itest-fabricx-dlog-t6-websocket - 36735360451.97 30 Sep 2026 03:39PM UTC 523
42.67
GitHub Action Run
Source Files on build 36735360451
  • Tree
  • List 606
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36735360451
  • 3b59639a on github
  • Prev Build on main (#36692392983)
  • Next Build on main (#36811774432)
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