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

LFDT-Panurus / panurus / 33376022129
85%

Build:
DEFAULT BRANCH: main
Ran 31 Aug 2026 09:25AM UTC
Jobs 68
Files 547
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

31 Aug 2026 09:06AM UTC coverage: 84.234% (-0.008%) from 84.242%
33376022129

push

github

AkramBitar
fix(core): run type-gated authorizations before the wallet-based one

AuthorizationMultiplexer.IsMine is first-match-wins and both drivers ran
the generic WalletBasedAuthorization first. Once a policy composite
identity gets bound to a wallet — AnonymousOwnerWallet.RegisterRecipient
does this when the rest of a transfer goes back to the policy identity —
the wallet-based authorization resolves it and claims the token with the
base wallet id and no ownership ids. StoreToken then persists the token
without an ownership row, so the policy wallet's selector (which looks
tokens up under the "policy"-prefixed wallet id) can no longer spend it:
the balance reports funds the selector cannot select and transfers fail
with "insufficient funds".

Extract the chain into common.NewStandardAuthorization, with the
type-gated authorizations (htlc, multisig, boolpolicy) ahead of the
wallet-based one, and use it from both drivers, so escrow-typed tokens
are always attributed by the authorization that understands their owner
type. They reject foreign owner types up front, so the order change is
inert for plain tokens.

The regression test replays the failure mode through the same
constructor the drivers use: a policy token whose composite identity
resolves to a wallet must still be attributed to the member's policy
wallet, not claimed bare by the wallet-based authorization. The identity
guide's registration example taught the generic-first order; it now
shows the shared constructor and states that the wallet-based catch-all
goes last.

Fixes #2328

Signed-off-by: Evan <evanyan@sign.global>

10 of 10 new or added lines in 3 files covered. (100.0%)

10 existing lines in 5 files now uncovered.

45269 of 53742 relevant lines covered (84.23%)

12148.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.74
-0.32% token/services/identity/membership/lm.go
2
72.92
-1.04% token/services/storage/auditdb/store.go
2
88.33
-3.33% token/services/storage/db/sql/common/prepared_stmt_holder.go
2
83.02
0.0% token/services/storage/db/sql/common/transactions.go
2
87.5
-0.76% token/services/storage/services/recovery/manager.go
Jobs
ID Job ID Ran Files Coverage
1 itest-dlog-fabric-t13 - 33376022129.1 31 Aug 2026 09:31AM UTC 486
36.27
GitHub Action Run
2 itest-dlogstress-t1 - 33376022129.2 31 Aug 2026 09:25AM UTC 486
37.25
GitHub Action Run
3 itest-interop-fabtoken-t3 - 33376022129.3 31 Aug 2026 09:31AM UTC 486
32.22
GitHub Action Run
4 itest-dlog-fabric-t9 - 33376022129.4 31 Aug 2026 09:29AM UTC 486
34.22
GitHub Action Run
5 itest-fabtoken-fabric-t3 - 33376022129.5 31 Aug 2026 09:30AM UTC 486
29.43
GitHub Action Run
6 itest-dlog-fabric-t3 - 33376022129.6 31 Aug 2026 09:31AM UTC 486
37.21
GitHub Action Run
7 itest-fabricx-dlog-t4 - 33376022129.7 31 Aug 2026 09:30AM UTC 506
40.58
GitHub Action Run
8 itest-fabricx-dlog-t11 - 33376022129.8 31 Aug 2026 09:32AM UTC 506
34.51
GitHub Action Run
9 itest-fabricx-dlog-t3 - 33376022129.9 31 Aug 2026 09:29AM UTC 506
38.49
GitHub Action Run
10 itest-dlog-fabric-t8-libp2p - 33376022129.10 31 Aug 2026 09:34AM UTC 486
42.28
GitHub Action Run
11 itest-fabtoken-fabric-t2 - 33376022129.11 31 Aug 2026 09:33AM UTC 486
27.73
GitHub Action Run
12 itest-fabricx-dlog-t13 - 33376022129.12 31 Aug 2026 09:29AM UTC 506
38.22
GitHub Action Run
13 itest-fabtoken-fabric-t5 - 33376022129.13 31 Aug 2026 09:31AM UTC 486
30.53
GitHub Action Run
14 itest-dlog-fabric-t6-replicas - 33376022129.14 31 Aug 2026 09:35AM UTC 486
43.47
GitHub Action Run
15 itest-nft-dlog - 33376022129.15 31 Aug 2026 09:27AM UTC 486
37.13
GitHub Action Run
16 itest-fabricx-dlog-t5 - 33376022129.16 31 Aug 2026 09:30AM UTC 506
40.58
GitHub Action Run
17 itest-dvp-dlog - 33376022129.17 31 Aug 2026 09:30AM UTC 486
38.48
GitHub Action Run
18 itest-update-t3 - 33376022129.18 31 Aug 2026 09:42AM UTC 486
38.09
GitHub Action Run
19 itest-interop-fabtoken-t5 - 33376022129.19 31 Aug 2026 09:32AM UTC 486
31.75
GitHub Action Run
20 itest-dlog-fabric-t6-websocket - 33376022129.20 31 Aug 2026 09:34AM UTC 486
42.44
GitHub Action Run
21 itest-fabtoken-fabric-t1-websocket - 33376022129.21 31 Aug 2026 09:31AM UTC 486
34.25
GitHub Action Run
22 itest-dlog-fabric-t12 - 33376022129.22 31 Aug 2026 09:32AM UTC 486
39.76
GitHub Action Run
23 itest-nft-fabtoken - 33376022129.23 31 Aug 2026 09:28AM UTC 482
29.77
GitHub Action Run
24 itest-dlog-fabric-t10-libp2p - 33376022129.24 31 Aug 2026 09:35AM UTC 486
44.33
GitHub Action Run
25 itest-dlog-fabric-t8-websocket - 33376022129.25 31 Aug 2026 09:34AM UTC 486
42.31
GitHub Action Run
26 utest-unit-tests-race - 33376022129.26 31 Aug 2026 09:29AM UTC 546
75.31
GitHub Action Run
27 itest-dlog-fabric-t11 - 33376022129.27 31 Aug 2026 09:33AM UTC 486
32.89
GitHub Action Run
28 itest-dloghsm-fabric-t1-replicas - 33376022129.28 31 Aug 2026 09:36AM UTC 486
43.38
GitHub Action Run
29 itest-fabtoken-dlog-fabric - 33376022129.29 31 Aug 2026 09:42AM UTC 486
41.47
GitHub Action Run
30 itest-dlog-fabric-t6-libp2p - 33376022129.30 31 Aug 2026 09:34AM UTC 486
42.34
GitHub Action Run
31 itest-dloghsm-fabric-t2-websocket - 33376022129.31 31 Aug 2026 09:33AM UTC 486
42.53
GitHub Action Run
32 itest-interop-fabtoken-t1 - 33376022129.32 31 Aug 2026 09:33AM UTC 486
33.02
GitHub Action Run
33 itest-interop-dlog-t1 - 33376022129.33 31 Aug 2026 09:34AM UTC 486
39.89
GitHub Action Run
34 itest-dlog-fabric-t1-libp2p - 33376022129.34 31 Aug 2026 09:34AM UTC 486
42.21
GitHub Action Run
35 itest-fabtoken-fabric-t4 - 33376022129.35 31 Aug 2026 09:29AM UTC 486
30.72
GitHub Action Run
36 itest-dlog-fabric-t2.1 - 33376022129.36 31 Aug 2026 09:35AM UTC 486
33.75
GitHub Action Run
37 itest-dlog-fabric-t1-replicas - 33376022129.37 31 Aug 2026 09:36AM UTC 486
43.31
GitHub Action Run
38 itest-dlog-fabric-t1-websocket - 33376022129.38 31 Aug 2026 09:34AM UTC 486
42.07
GitHub Action Run
39 itest-update-t2 - 33376022129.39 31 Aug 2026 09:37AM UTC 486
37.7
GitHub Action Run
40 itest-fabricx-dlog-t16-libp2p - 33376022129.40 31 Aug 2026 09:38AM UTC 506
44.03
GitHub Action Run
41 itest-dloghsm-fabric-t2-libp2p - 33376022129.41 31 Aug 2026 09:35AM UTC 486
42.5
GitHub Action Run
42 itest-fabtoken-fabric-t1-replicas - 33376022129.42 31 Aug 2026 09:34AM UTC 486
35.3
GitHub Action Run
43 itest-interop-dlog-t4 - 33376022129.43 31 Aug 2026 09:34AM UTC 486
39.06
GitHub Action Run
44 itest-interop-dlog-t5 - 33376022129.44 31 Aug 2026 09:34AM UTC 486
39.58
GitHub Action Run
45 itest-dlog-fabric-t7 - 33376022129.45 31 Aug 2026 09:35AM UTC 486
33.88
GitHub Action Run
46 itest-dlog-fabric-t8-replicas - 33376022129.46 31 Aug 2026 09:35AM UTC 486
43.07
GitHub Action Run
47 itest-interop-dlog-t3 - 33376022129.47 31 Aug 2026 09:36AM UTC 486
40.19
GitHub Action Run
48 itest-update-t1 - 33376022129.48 31 Aug 2026 09:37AM UTC 486
42.25
GitHub Action Run
49 itest-fabricx-dlog-t16-websocket - 33376022129.49 31 Aug 2026 09:37AM UTC 506
44.05
GitHub Action Run
50 itest-fabricx-dlog-t16-replicas - 33376022129.50 31 Aug 2026 09:40AM UTC 506
45.7
GitHub Action Run
51 itest-interop-fabtoken-t4 - 33376022129.51 31 Aug 2026 09:34AM UTC 486
31.04
GitHub Action Run
52 utest-unit-tests-regression - 33376022129.52 31 Aug 2026 09:29AM UTC 546
75.3
GitHub Action Run
53 itest-dloghsm-fabric-t1-libp2p - 33376022129.53 31 Aug 2026 09:35AM UTC 486
42.26
GitHub Action Run
54 itest-fabtoken-fabric-t1-libp2p - 33376022129.54 31 Aug 2026 09:34AM UTC 486
34.21
GitHub Action Run
55 itest-fabricx-dlog-t6-replicas - 33376022129.55 31 Aug 2026 09:38AM UTC 506
45.78
GitHub Action Run
56 itest-dlog-fabric-t4 - 33376022129.56 31 Aug 2026 09:32AM UTC 486
38.56
GitHub Action Run
57 itest-dloghsm-fabric-t2-replicas - 33376022129.57 31 Aug 2026 09:36AM UTC 486
44.01
GitHub Action Run
58 itest-fabricx-dlog-t6-libp2p - 33376022129.58 31 Aug 2026 09:36AM UTC 506
44.04
GitHub Action Run
59 itest-dlog-fabric-t5 - 33376022129.59 31 Aug 2026 09:31AM UTC 486
38.56
GitHub Action Run
60 itest-fabricx-dlog-t1-replicas - 33376022129.60 31 Aug 2026 09:39AM UTC 506
45.55
GitHub Action Run
61 itest-dlog-fabric-t10-websocket - 33376022129.61 31 Aug 2026 09:34AM UTC 486
44.74
GitHub Action Run
62 itest-fabricx-dlog-t6-websocket - 33376022129.62 31 Aug 2026 09:35AM UTC 506
44.1
GitHub Action Run
63 itest-dlog-fabric-t10-replicas - 33376022129.63 31 Aug 2026 09:37AM UTC 486
46.16
GitHub Action Run
64 itest-fabricx-dlog-t1-libp2p - 33376022129.64 31 Aug 2026 09:37AM UTC 506
43.83
GitHub Action Run
65 itest-dvp-fabtoken - 33376022129.65 31 Aug 2026 09:30AM UTC 482
31.33
GitHub Action Run
66 itest-dlog-fabric-t2 - 33376022129.66 31 Aug 2026 09:33AM UTC 486
33.93
GitHub Action Run
67 itest-dloghsm-fabric-t1-websocket - 33376022129.67 31 Aug 2026 09:35AM UTC 486
42.02
GitHub Action Run
68 itest-fabricx-dlog-t1-websocket - 33376022129.68 31 Aug 2026 09:36AM UTC 506
43.88
GitHub Action Run
Source Files on build 33376022129
  • Tree
  • List 547
  • Changed 108
  • Source Changed 3
  • Coverage Changed 108
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33376022129
  • df8d47d4 on github
  • Prev Build on main (#33369642143)
  • Next Build on main (#33380149593)
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