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

LFDT-Panurus / panurus / 31050564571
85%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 10:12PM UTC
Jobs 68
Files 538
Run time 5min
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

05 Aug 2026 09:53PM UTC coverage: 82.841% (+0.07%) from 82.773%
31050564571

push

github

AkramBitar
test: stop three timing-dependent tests from flaking

Fixes #2121.

TestNextDelay_MaxDelayCap measured wall clock gaps between retries and asserted
each one roughly doubled. At a 10ms initial delay, scheduler jitter on a loaded
runner is a large fraction of the interval, so a ~34ms late wake up was enough
to fail it.

nextDelay is a pure function, so the policy can be asserted directly instead.
The new tests in retry_internal_test.go cover exact growth, the cap, the no
backoff case, the jitter band and the non-negative guard, and run in 0.086s
against 131s for the old one.

The non-negative guard needed two tests rather than one: the constructor clamps
jitterFactor to 1.0 and nextDelay applies (1 +/- jf/2), so the floor through the
public API is half the base delay and the finalDelay < 0 branch can never fire
(confirmed with 600k draws across jf=1.0, 2.0 and 3.0, all clamped, zero hits).
One test pins that the constructor clamps; the other builds the struct directly
with jitterFactor 3.0, where about a sixth of draws would go negative and must
come back as initialDelay instead. Checked that it fails when the factor is put
back to 1.0, so it does exercise the branch.

TestSufficientTokensBigDenominationsManyReplicas asserted that no replica ever
exhausts its retries, which is a scheduling outcome rather than an invariant.
Three replicas compete for two tokens there, yet it allowed 10 retries while the
single replica variant with no competition allows 20. Raised to 60 so contention
cannot decide the result.

TestGetRandomBytes_Success asserted the buffer is not all zeros for every
non-zero length, including the one byte case, where that just means the byte is 0
and so fails about 1 run in 256. Only assert it once the buffer is wide enough
for an all-zero draw to be implausible; randomness is already covered by
TestGetRandomBytes_Uniqueness.

Signed-off-by: atharrva01 <atharvaborade568@gmail.com>

42798 of 51663 relevant lines covered (82.84%)

12287.23 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
82.57
-1.83% token/services/storage/db/sql/common/keystore.go
1
97.09
-0.49% token/services/certifier/interactive/client.go
1
94.57
-1.09% token/services/ttx/finality_poller.go
Jobs
ID Job ID Ran Files Coverage
1 itest-dlog-fabric-t1-replicas - 31050564571.1 05 Aug 2026 10:22PM UTC 477
43.76
GitHub Action Run
2 itest-dlogstress-t1 - 31050564571.2 05 Aug 2026 10:12PM UTC 477
37.61
GitHub Action Run
3 itest-fabricx-dlog-t13 - 31050564571.3 05 Aug 2026 10:15PM UTC 497
38.71
GitHub Action Run
4 itest-fabricx-dlog-t11 - 31050564571.4 05 Aug 2026 10:18PM UTC 497
34.88
GitHub Action Run
5 itest-dvp-fabtoken - 31050564571.5 05 Aug 2026 10:13PM UTC 473
31.56
GitHub Action Run
6 itest-fabtoken-fabric-t2 - 31050564571.6 05 Aug 2026 10:21PM UTC 477
27.73
GitHub Action Run
7 itest-nft-fabtoken - 31050564571.7 05 Aug 2026 10:15PM UTC 473
29.95
GitHub Action Run
8 itest-dloghsm-fabric-t1-websocket - 31050564571.8 05 Aug 2026 10:21PM UTC 477
42.68
GitHub Action Run
9 itest-dlog-fabric-t2.1 - 31050564571.9 05 Aug 2026 10:22PM UTC 477
33.86
GitHub Action Run
10 itest-fabtoken-fabric-t3 - 31050564571.10 05 Aug 2026 10:17PM UTC 477
29.54
GitHub Action Run
11 itest-dlog-fabric-t3 - 31050564571.11 05 Aug 2026 10:18PM UTC 477
37.55
GitHub Action Run
12 itest-fabricx-dlog-t16-websocket - 31050564571.12 05 Aug 2026 10:23PM UTC 497
44.55
GitHub Action Run
13 itest-dlog-fabric-t9 - 31050564571.13 05 Aug 2026 10:18PM UTC 477
34.71
GitHub Action Run
14 itest-dlog-fabric-t10-replicas - 31050564571.14 05 Aug 2026 10:23PM UTC 477
46.72
GitHub Action Run
15 itest-fabricx-dlog-t4 - 31050564571.15 05 Aug 2026 10:15PM UTC 497
41.07
GitHub Action Run
16 itest-fabtoken-dlog-fabric - 31050564571.16 05 Aug 2026 10:28PM UTC 477
41.96
GitHub Action Run
17 utest-unit-tests-regression - 31050564571.17 05 Aug 2026 10:15PM UTC 537
72.81
GitHub Action Run
18 itest-fabtoken-fabric-t1-replicas - 31050564571.18 05 Aug 2026 10:20PM UTC 477
35.54
GitHub Action Run
19 itest-dlog-fabric-t6-websocket - 31050564571.19 05 Aug 2026 10:22PM UTC 477
42.43
GitHub Action Run
20 itest-dlog-fabric-t4 - 31050564571.20 05 Aug 2026 10:18PM UTC 477
38.94
GitHub Action Run
21 itest-fabricx-dlog-t1-websocket - 31050564571.21 05 Aug 2026 10:23PM UTC 497
44.39
GitHub Action Run
22 itest-dlog-fabric-t8-replicas - 31050564571.22 05 Aug 2026 10:22PM UTC 477
43.5
GitHub Action Run
23 itest-dloghsm-fabric-t2-websocket - 31050564571.23 05 Aug 2026 10:21PM UTC 477
42.57
GitHub Action Run
24 utest-unit-tests-race - 31050564571.24 05 Aug 2026 10:15PM UTC 537
72.83
GitHub Action Run
25 itest-dlog-fabric-t6-replicas - 31050564571.25 05 Aug 2026 10:23PM UTC 477
44.26
GitHub Action Run
26 itest-dloghsm-fabric-t1-replicas - 31050564571.26 05 Aug 2026 10:22PM UTC 477
43.42
GitHub Action Run
27 itest-fabricx-dlog-t1-libp2p - 31050564571.27 05 Aug 2026 10:23PM UTC 497
44.38
GitHub Action Run
28 itest-fabricx-dlog-t1-replicas - 31050564571.28 05 Aug 2026 10:24PM UTC 497
46.16
GitHub Action Run
29 itest-update-t3 - 31050564571.29 05 Aug 2026 10:28PM UTC 477
38.33
GitHub Action Run
30 itest-fabtoken-fabric-t5 - 31050564571.30 05 Aug 2026 10:17PM UTC 477
30.94
GitHub Action Run
31 itest-dlog-fabric-t5 - 31050564571.31 05 Aug 2026 10:18PM UTC 477
38.97
GitHub Action Run
32 itest-dlog-fabric-t10-libp2p - 31050564571.32 05 Aug 2026 10:22PM UTC 477
45.14
GitHub Action Run
33 itest-dlog-fabric-t13 - 31050564571.33 05 Aug 2026 10:19PM UTC 477
36.58
GitHub Action Run
34 itest-fabricx-dlog-t3 - 31050564571.34 05 Aug 2026 10:15PM UTC 497
38.97
GitHub Action Run
35 itest-interop-fabtoken-t5 - 31050564571.35 05 Aug 2026 10:20PM UTC 477
31.83
GitHub Action Run
36 itest-dloghsm-fabric-t1-libp2p - 31050564571.36 05 Aug 2026 10:22PM UTC 477
42.61
GitHub Action Run
37 itest-interop-dlog-t5 - 31050564571.37 05 Aug 2026 10:20PM UTC 477
40.04
GitHub Action Run
38 itest-nft-dlog - 31050564571.38 05 Aug 2026 10:15PM UTC 477
37.52
GitHub Action Run
39 itest-fabricx-dlog-t6-replicas - 31050564571.39 05 Aug 2026 10:23PM UTC 497
46.36
GitHub Action Run
40 itest-fabtoken-fabric-t4 - 31050564571.40 05 Aug 2026 10:17PM UTC 477
30.85
GitHub Action Run
41 itest-fabricx-dlog-t5 - 31050564571.41 05 Aug 2026 10:17PM UTC 497
41.14
GitHub Action Run
42 itest-interop-dlog-t3 - 31050564571.42 05 Aug 2026 10:23PM UTC 477
40.63
GitHub Action Run
43 itest-dlog-fabric-t12 - 31050564571.43 05 Aug 2026 10:18PM UTC 477
40.12
GitHub Action Run
44 itest-update-t1 - 31050564571.44 05 Aug 2026 10:23PM UTC 477
42.68
GitHub Action Run
45 itest-interop-fabtoken-t1 - 31050564571.45 05 Aug 2026 10:20PM UTC 477
33.18
GitHub Action Run
46 itest-dlog-fabric-t7 - 31050564571.46 05 Aug 2026 10:22PM UTC 477
34.1
GitHub Action Run
47 itest-fabricx-dlog-t6-websocket - 31050564571.47 05 Aug 2026 10:23PM UTC 497
44.64
GitHub Action Run
48 itest-dlog-fabric-t10-websocket - 31050564571.48 05 Aug 2026 10:21PM UTC 477
44.9
GitHub Action Run
49 itest-dlog-fabric-t8-libp2p - 31050564571.49 05 Aug 2026 10:20PM UTC 477
42.45
GitHub Action Run
50 itest-dlog-fabric-t11 - 31050564571.50 05 Aug 2026 10:19PM UTC 477
33.06
GitHub Action Run
51 itest-dlog-fabric-t2 - 31050564571.51 05 Aug 2026 10:22PM UTC 477
33.95
GitHub Action Run
52 itest-fabricx-dlog-t6-libp2p - 31050564571.52 05 Aug 2026 10:23PM UTC 497
44.59
GitHub Action Run
53 itest-interop-dlog-t4 - 31050564571.53 05 Aug 2026 10:21PM UTC 477
39.39
GitHub Action Run
54 itest-interop-fabtoken-t4 - 31050564571.54 05 Aug 2026 10:20PM UTC 477
31.23
GitHub Action Run
55 itest-dlog-fabric-t1-libp2p - 31050564571.55 05 Aug 2026 10:21PM UTC 477
42.56
GitHub Action Run
56 itest-dlog-fabric-t1-websocket - 31050564571.56 05 Aug 2026 10:20PM UTC 477
42.64
GitHub Action Run
57 itest-dloghsm-fabric-t2-replicas - 31050564571.57 05 Aug 2026 10:21PM UTC 477
44.62
GitHub Action Run
58 itest-fabtoken-fabric-t1-libp2p - 31050564571.58 05 Aug 2026 10:19PM UTC 477
34.12
GitHub Action Run
59 itest-interop-dlog-t1 - 31050564571.59 05 Aug 2026 10:21PM UTC 477
41.48
GitHub Action Run
60 itest-fabtoken-fabric-t1-websocket - 31050564571.60 05 Aug 2026 10:20PM UTC 477
34.37
GitHub Action Run
61 itest-fabricx-dlog-t16-replicas - 31050564571.61 05 Aug 2026 10:25PM UTC 497
46.34
GitHub Action Run
62 itest-dlog-fabric-t6-libp2p - 31050564571.62 05 Aug 2026 10:21PM UTC 477
42.67
GitHub Action Run
63 itest-fabricx-dlog-t16-libp2p - 31050564571.63 05 Aug 2026 10:24PM UTC 497
44.52
GitHub Action Run
64 itest-dlog-fabric-t8-websocket - 31050564571.64 05 Aug 2026 10:21PM UTC 477
42.7
GitHub Action Run
65 itest-interop-fabtoken-t3 - 31050564571.65 05 Aug 2026 10:22PM UTC 477
32.4
GitHub Action Run
66 itest-dloghsm-fabric-t2-libp2p - 31050564571.66 05 Aug 2026 10:21PM UTC 477
42.74
GitHub Action Run
67 itest-dvp-dlog - 31050564571.67 05 Aug 2026 10:15PM UTC 477
38.97
GitHub Action Run
68 itest-update-t2 - 31050564571.68 05 Aug 2026 10:21PM UTC 477
37.96
GitHub Action Run
Source Files on build 31050564571
  • Tree
  • List 538
  • Changed 96
  • Source Changed 0
  • Coverage Changed 96
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31050564571
  • 8c6cf7e7 on github
  • Prev Build on main (#31047221267)
  • Next Build on main (#31071365638)
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