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

LFDT-Panurus / panurus / 36569751760
85%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 12:53PM UTC
Jobs 97
Files 602
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

29 Sep 2026 12:40PM UTC coverage: 83.816% (+0.02%) from 83.801%
36569751760

push

github

adecaro
feat(selector): add sherdlock lock-contention diagnostics

Phases 1-2 of #2395: make sherdlock's lock contention observable, and give the
behaviour a reproducible baseline before changing the selector itself.

- Metrics: a lock_conflicts_total counter and a distinct_tokens_attempted
  histogram. The histogram is observed exactly once per Select() call, with the
  attempted-token set accumulated in the caller and unioned across every backoff
  round, so a StubbornSelector retry does not emit one sample per round; a call
  that never attempted a lock records nothing rather than a zero sample below the
  first bucket.

- A reproducible hot-token contention baseline test, plus shared selector test
  cases.

- driver.TokenLockStore.ListLocks and driver.LockRecord: read every held lock
  joined with the status of its consuming transaction. The SQL implementation
  checks rows.Err() after draining the iterator, because the shared rowIterator
  does not, and a mid-scan failure would otherwise return a truncated list with a
  nil error.

- cond.Exists, for correlated-subquery conditions.

- tokendiag: a new CGO-free CLI (cmd/tokendiag) that reports the currently held
  token locks with their age and consumer status, flags locks whose consumer has
  already reached a terminal status, and prints a script-friendly summary.
  Configuration is a YAML file; every scalar key can be overridden by a CORE_*
  environment variable, each bound up front so that viper's Unmarshal, which
  walks AllKeys(), actually visits keys supplied only through the environment.

- Documentation: docs/development/tokendiag.md, cmd/tokendiag/README.md and the
  metrics reference.

Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Co-authored-by: AkramBitar <akram@il.ibm.com>
Signed-off-by: AkramBitar <akram@il.ibm.com>

151 of 166 new or added lines in 7 files covered. (90.96%)

19 existing lines in 5 files now uncovered.

44012 of 52510 relevant lines covered (83.82%)

27682.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
89.78
-8.05% token/services/storage/db/sql/common/tokenlock.go
3
0.0
0.0% token/services/selector/sherdlock/inmemory/locker.go

Coverage Regressions

Lines Coverage ∆ File
8
90.6
-1.57% token/services/storage/services/recovery/manager.go
6
88.89
-0.67% token/services/selector/sherdlock/selector.go
2
81.96
0.0% token/services/storage/db/sql/common/transactions.go
2
78.38
-2.7% token/services/storage/services/cleanup/service.go
1
75.21
-0.21% token/services/storage/db/sql/common/identity.go
Jobs
ID Job ID Ran Files Coverage
1 itest-evm-gateway-t13 - 36569751760.1 29 Sep 2026 12:54PM UTC 517
35.02
GitHub Action Run
2 itest-fabricx-dlog-t6-websocket - 36569751760.2 29 Sep 2026 01:09PM UTC 519
42.65
GitHub Action Run
3 itest-evm-gateway-t9 - 36569751760.3 29 Sep 2026 12:54PM UTC 517
32.86
GitHub Action Run
4 itest-nft-dlog - 36569751760.4 29 Sep 2026 12:58PM UTC 507
37.0
GitHub Action Run
5 itest-interop-fabtoken-t4 - 36569751760.5 29 Sep 2026 01:00PM UTC 499
31.77
GitHub Action Run
6 itest-fabtoken-fabric-t4 - 36569751760.6 29 Sep 2026 12:59PM UTC 499
31.17
GitHub Action Run
7 itest-evm-gateway-t2.1 - 36569751760.7 29 Sep 2026 12:54PM UTC 517
31.41
GitHub Action Run
8 itest-evm-t2 - 36569751760.8 29 Sep 2026 12:55PM UTC 517
32.13
GitHub Action Run
9 itest-dlog-fabric-t11 - 36569751760.9 29 Sep 2026 01:03PM UTC 499
32.81
GitHub Action Run
10 itest-dlog-fabric-t2 - 36569751760.10 29 Sep 2026 01:01PM UTC 499
33.64
GitHub Action Run
11 itest-fabtoken-fabric-t1-replicas - 36569751760.11 29 Sep 2026 01:05PM UTC 499
36.75
GitHub Action Run
12 itest-fabtoken-fabric-t5 - 36569751760.12 29 Sep 2026 12:59PM UTC 499
31.18
GitHub Action Run
13 itest-evm-fabtoken-t9 - 36569751760.13 29 Sep 2026 12:55PM UTC 517
26.1
GitHub Action Run
14 itest-fabtoken-fabric-t3 - 36569751760.14 29 Sep 2026 12:58PM UTC 499
29.43
GitHub Action Run
15 itest-dlog-fabric-t9 - 36569751760.15 29 Sep 2026 12:59PM UTC 499
34.73
GitHub Action Run
16 itest-evm-fabtoken-t2 - 36569751760.16 29 Sep 2026 12:55PM UTC 517
26.05
GitHub Action Run
17 itest-evm-t13 - 36569751760.17 29 Sep 2026 12:55PM UTC 517
35.1
GitHub Action Run
18 itest-evm-t9 - 36569751760.18 29 Sep 2026 12:55PM UTC 517
32.94
GitHub Action Run
19 utest-unit-tests-race - 36569751760.19 29 Sep 2026 01:00PM UTC 601
75.53
GitHub Action Run
20 itest-dvp-dlog - 36569751760.20 29 Sep 2026 12:58PM UTC 507
38.31
GitHub Action Run
21 itest-evm-t2.1 - 36569751760.21 29 Sep 2026 12:54PM UTC 517
31.48
GitHub Action Run
22 itest-dlog-fabric-t4 - 36569751760.22 29 Sep 2026 01:00PM UTC 499
38.89
GitHub Action Run
23 itest-dlog-fabric-t3 - 36569751760.23 29 Sep 2026 01:00PM UTC 499
37.07
GitHub Action Run
24 itest-dloghsm-fabric-t1-websocket - 36569751760.24 29 Sep 2026 01:04PM UTC 500
42.98
GitHub Action Run
25 itest-dlog-fabric-t8-websocket - 36569751760.25 29 Sep 2026 01:03PM UTC 499
42.99
GitHub Action Run
26 itest-evm-gateway-t1 - 36569751760.26 29 Sep 2026 01:03PM UTC 517
42.05
GitHub Action Run
27 itest-evm-gateway-t6 - 36569751760.27 29 Sep 2026 01:03PM UTC 517
42.26
GitHub Action Run
28 itest-fabricx-dlog-t6-replicas - 36569751760.28 29 Sep 2026 01:11PM UTC 519
44.25
GitHub Action Run
29 itest-dlog-fabric-t2.1 - 36569751760.29 29 Sep 2026 12:59PM UTC 499
33.53
GitHub Action Run
30 itest-dlogstress-t1 - 36569751760.30 29 Sep 2026 12:56PM UTC 499
37.67
GitHub Action Run
31 itest-dlog-fabric-t13 - 36569751760.31 29 Sep 2026 01:00PM UTC 499
36.86
GitHub Action Run
32 itest-interop-dlog-t4 - 36569751760.32 29 Sep 2026 01:00PM UTC 499
39.6
GitHub Action Run
33 itest-evm-t12 - 36569751760.33 29 Sep 2026 12:55PM UTC 517
37.96
GitHub Action Run
34 itest-evm-fabtoken-t11 - 36569751760.34 29 Sep 2026 01:01PM UTC 517
27.07
GitHub Action Run
35 itest-nft-fabtoken - 36569751760.35 29 Sep 2026 12:57PM UTC 507
29.33
GitHub Action Run
36 itest-evm-t6 - 36569751760.36 29 Sep 2026 01:04PM UTC 517
42.15
GitHub Action Run
37 itest-evm-fabtoken-t13 - 36569751760.37 29 Sep 2026 12:55PM UTC 517
28.08
GitHub Action Run
38 itest-evm-gateway-fabtoken-t1 - 36569751760.38 29 Sep 2026 01:03PM UTC 517
34.45
GitHub Action Run
39 itest-update-t2 - 36569751760.39 29 Sep 2026 01:02PM UTC 499
37.82
GitHub Action Run
40 itest-evm-t11 - 36569751760.40 29 Sep 2026 01:03PM UTC 517
32.89
GitHub Action Run
41 itest-dlog-fabric-t6-replicas - 36569751760.41 29 Sep 2026 01:06PM UTC 499
44.82
GitHub Action Run
42 itest-evm-fabtoken-t1 - 36569751760.42 29 Sep 2026 01:02PM UTC 517
34.46
GitHub Action Run
43 itest-dlog-fabric-t12 - 36569751760.43 29 Sep 2026 01:00PM UTC 499
40.08
GitHub Action Run
44 itest-fabtoken-fabric-t1-websocket - 36569751760.44 29 Sep 2026 01:03PM UTC 499
35.05
GitHub Action Run
45 itest-fabricx-dlog-t16-websocket - 36569751760.45 29 Sep 2026 01:07PM UTC 519
42.67
GitHub Action Run
46 itest-evm-gateway-fabtoken-t11 - 36569751760.46 29 Sep 2026 01:01PM UTC 517
26.99
GitHub Action Run
47 itest-fabricx-dlog-t4 - 36569751760.47 29 Sep 2026 01:02PM UTC 519
39.04
GitHub Action Run
48 itest-evm-gateway-fabtoken-t2 - 36569751760.48 29 Sep 2026 12:54PM UTC 517
10.85
GitHub Action Run
49 itest-evm-gateway-t2 - 36569751760.49 29 Sep 2026 12:53PM UTC 517
32.05
GitHub Action Run
50 itest-fabricx-dlog-t1-websocket - 36569751760.50 29 Sep 2026 01:08PM UTC 519
42.47
GitHub Action Run
51 itest-update-t1 - 36569751760.51 29 Sep 2026 12:59PM UTC 499
42.88
GitHub Action Run
52 itest-fabricx-dlog-t11 - 36569751760.52 29 Sep 2026 01:04PM UTC 519
33.05
GitHub Action Run
53 itest-evm-gateway-fabtoken-t9 - 36569751760.53 29 Sep 2026 12:55PM UTC 517
26.09
GitHub Action Run
54 itest-fabricx-dlog-t1-libp2p - 36569751760.54 29 Sep 2026 01:07PM UTC 519
42.44
GitHub Action Run
55 itest-fabricx-dlog-t16-libp2p - 36569751760.55 29 Sep 2026 01:09PM UTC 519
42.64
GitHub Action Run
56 itest-dlog-fabric-t10-libp2p - 36569751760.56 29 Sep 2026 01:05PM UTC 499
43.83
GitHub Action Run
57 itest-evm-gateway-t12 - 36569751760.57 29 Sep 2026 12:55PM UTC 517
37.89
GitHub Action Run
58 itest-evm-t1 - 36569751760.58 29 Sep 2026 01:04PM UTC 517
41.96
GitHub Action Run
59 itest-interop-fabtoken-t3 - 36569751760.59 29 Sep 2026 01:02PM UTC 499
33.18
GitHub Action Run
60 itest-dlog-fabric-t1-libp2p - 36569751760.60 29 Sep 2026 01:02PM UTC 499
42.89
GitHub Action Run
61 itest-interop-dlog-t1 - 36569751760.61 29 Sep 2026 01:02PM UTC 499
41.94
GitHub Action Run
62 itest-evm-gateway-fabtoken-t6 - 36569751760.62 29 Sep 2026 01:03PM UTC 517
34.68
GitHub Action Run
63 itest-evm-gateway-t11 - 36569751760.63 29 Sep 2026 01:02PM UTC 517
32.81
GitHub Action Run
64 itest-fabricx-dlog-t13 - 36569751760.64 29 Sep 2026 01:00PM UTC 519
36.73
GitHub Action Run
65 itest-fabricx-dlog-t16-replicas - 36569751760.65 29 Sep 2026 01:08PM UTC 519
44.29
GitHub Action Run
66 itest-interop-dlog-t3 - 36569751760.66 29 Sep 2026 01:02PM UTC 499
40.94
GitHub Action Run
67 itest-dloghsm-fabric-t2-replicas - 36569751760.67 29 Sep 2026 01:05PM UTC 500
44.86
GitHub Action Run
68 itest-dvp-fabtoken - 36569751760.68 29 Sep 2026 12:59PM UTC 507
30.79
GitHub Action Run
69 itest-dlog-fabric-t6-websocket - 36569751760.69 29 Sep 2026 01:04PM UTC 499
43.11
GitHub Action Run
70 itest-dlog-fabric-t1-replicas - 36569751760.70 29 Sep 2026 01:06PM UTC 499
44.65
GitHub Action Run
71 itest-dloghsm-fabric-t1-libp2p - 36569751760.71 29 Sep 2026 01:05PM UTC 500
42.94
GitHub Action Run
72 itest-interop-fabtoken-t5 - 36569751760.72 29 Sep 2026 12:59PM UTC 499
32.6
GitHub Action Run
73 itest-fabricx-dlog-t6-libp2p - 36569751760.73 29 Sep 2026 01:09PM UTC 519
42.66
GitHub Action Run
74 itest-fabtoken-fabric-t2 - 36569751760.74 29 Sep 2026 01:00PM UTC 499
27.61
GitHub Action Run
75 itest-dlog-fabric-t10-websocket - 36569751760.75 29 Sep 2026 01:03PM UTC 499
43.88
GitHub Action Run
76 itest-dlog-fabric-t10-replicas - 36569751760.76 29 Sep 2026 01:06PM UTC 499
45.55
GitHub Action Run
77 itest-dloghsm-fabric-t1-replicas - 36569751760.77 29 Sep 2026 01:06PM UTC 500
44.66
GitHub Action Run
78 itest-fabricx-dlog-t1-replicas - 36569751760.78 29 Sep 2026 01:10PM UTC 519
44.07
GitHub Action Run
79 itest-dlog-fabric-t8-libp2p - 36569751760.79 29 Sep 2026 01:04PM UTC 499
42.96
GitHub Action Run
80 itest-dlog-fabric-t7 - 36569751760.80 29 Sep 2026 01:00PM UTC 499
33.81
GitHub Action Run
81 itest-dlog-fabric-t5 - 36569751760.81 29 Sep 2026 01:01PM UTC 499
38.82
GitHub Action Run
82 itest-interop-dlog-t5 - 36569751760.82 29 Sep 2026 01:00PM UTC 499
40.43
GitHub Action Run
83 itest-fabtoken-fabric-t1-libp2p - 36569751760.83 29 Sep 2026 01:04PM UTC 499
35.04
GitHub Action Run
84 itest-evm-gateway-fabtoken-t13 - 36569751760.84 29 Sep 2026 12:55PM UTC 517
28.01
GitHub Action Run
85 itest-fabricx-dlog-t3 - 36569751760.85 29 Sep 2026 01:00PM UTC 519
36.97
GitHub Action Run
86 itest-dloghsm-fabric-t2-libp2p - 36569751760.86 29 Sep 2026 01:02PM UTC 500
43.15
GitHub Action Run
87 itest-evm-fabtoken-t6 - 36569751760.87 29 Sep 2026 01:03PM UTC 517
34.8
GitHub Action Run
88 itest-dlog-fabric-t1-websocket - 36569751760.88 29 Sep 2026 01:04PM UTC 499
42.93
GitHub Action Run
89 itest-fabricx-dlog-t5 - 36569751760.89 29 Sep 2026 12:59PM UTC 519
38.98
GitHub Action Run
90 itest-update-t3 - 36569751760.90 29 Sep 2026 01:05PM UTC 499
38.44
GitHub Action Run
91 itest-fabtoken-dlog-fabric - 36569751760.91 29 Sep 2026 01:09PM UTC 499
42.08
GitHub Action Run
92 itest-dlog-fabric-t8-replicas - 36569751760.92 29 Sep 2026 01:06PM UTC 499
44.66
GitHub Action Run
93 itest-dlog-fabric-t6-libp2p - 36569751760.93 29 Sep 2026 01:04PM UTC 499
43.1
GitHub Action Run
94 utest-unit-tests-regression - 36569751760.94 29 Sep 2026 01:00PM UTC 601
75.53
GitHub Action Run
95 itest-dloghsm-fabric-t2-websocket - 36569751760.95 29 Sep 2026 01:04PM UTC 500
43.13
GitHub Action Run
96 itest-update-t4 - 36569751760.96 29 Sep 2026 01:01PM UTC 499
42.62
GitHub Action Run
97 itest-interop-fabtoken-t1 - 36569751760.97 29 Sep 2026 01:02PM UTC 499
34.2
GitHub Action Run
Source Files on build 36569751760
  • Tree
  • List 602
  • Changed 43
  • Source Changed 8
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36569751760
  • 019d7949 on github
  • Prev Build on main (#36564573235)
  • Next Build on main (#36665340687)
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