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

hyperledger-labs / fabric-smart-client / 33858387024
86%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2026 09:29AM UTC
Jobs 21
Files 500
Run time 2min
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

04 Sep 2026 09:26AM UTC coverage: 85.183% (+0.06%) from 85.128%
33858387024

push

github

web-flow
fix(fabricx): report the status of an already-final transaction (#1718)

On fabricx, AddFinalityListener for a transaction the committer had already
reported answered Unknown rather than that transaction's real status, breaking
the contract in platform/common/driver/committer.go ("or it is already valid or
invalid"). The committer's notification stream reports a transaction once, and
nothing in the finality path could answer for one it had already reported: the
query-service-backed vault already resolves transaction status, but was wired
only to VaultService.

ResolvingListenerManager now wraps the notification manager. It resolves status
first, subscribes only when the transaction is not yet final, and treats a later
Unknown from the notification path as a reason to ask again rather than as a
verdict. No polling and no cache, because the query service is authoritative at
every point.

integration/fabricx/iou now exercises UpdateIOU, which it never had -- the
visible symptom of this defect -- using approver1, since the iou namespace policy
names only Org1 and fabric-x checks it against the transaction's own signatures.
The defect also fired silently on every successful create, in ApproverView,
whose view nothing waits for.

The integration suites shared a finality listener that discarded any status but
the one it expected, turning a wrong answer into an unbounded wait, and that
slept inside OnStatus, which the same contract forbids. One context-aware
listener in integration/fabric/common/views replaces both copies and fails in
seconds naming both statuses; its call sites now also check the registration
error and remove their listeners. Removing that sleep shortened the IOU flow to
well inside Prometheus' 15s scrape interval, so CheckPrometheusMetrics polls
instead of sampling once.

Closes #1714

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

91 of 95 new or added lines in 2 files covered. (95.79%)

7 existing lines in 3 files now uncovered.

31251 of 36687 relevant lines covered (85.18%)

2689.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
95.65
platform/fabricx/core/finality/resolving.go

Coverage Regressions

Lines Coverage ∆ File
4
69.81
-1.89% platform/view/services/comm/host/libp2p/host.go
2
90.72
-2.06% platform/view/services/comm/service.go
1
98.25
-1.75% platform/common/utils/cache/timeout.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-atsa - 33858387024.1 04 Sep 2026 09:34AM UTC 448
44.86
GitHub Action Run
2 itest-fsc-signedpingpong - 33858387024.2 04 Sep 2026 09:30AM UTC 241
31.96
GitHub Action Run
3 itest-fsc-pingpong - 33858387024.3 04 Sep 2026 09:34AM UTC 247
35.16
GitHub Action Run
4 itest-fabric-stoprestart - 33858387024.4 04 Sep 2026 09:33AM UTC 448
31.85
GitHub Action Run
5 itest-fabric-iouhsm - 33858387024.5 04 Sep 2026 09:33AM UTC 458
40.7
GitHub Action Run
6 itest-fabric-iou - 33858387024.6 04 Sep 2026 09:34AM UTC 458
41.61
GitHub Action Run
7 itest-fabricx-multiendorsement - 33858387024.7 04 Sep 2026 09:29AM UTC 478
29.44
GitHub Action Run
8 itest-fabric-runtimeconfig - 33858387024.8 04 Sep 2026 09:31AM UTC 458
39.99
GitHub Action Run
9 itest-fsc-stoprestart - 33858387024.9 04 Sep 2026 09:31AM UTC 243
33.93
GitHub Action Run
10 utest - 33858387024.10 04 Sep 2026 09:34AM UTC 491
78.19
GitHub Action Run
11 itest-fabric-iou-libp2p - 33858387024.11 04 Sep 2026 09:32AM UTC 458
37.66
GitHub Action Run
12 itest-fabric-configupdate - 33858387024.12 04 Sep 2026 09:31AM UTC 458
39.9
GitHub Action Run
13 itest-fabric-twonets - 33858387024.13 04 Sep 2026 09:31AM UTC 448
29.82
GitHub Action Run
14 itest-fabricx-deployment - 33858387024.14 04 Sep 2026 09:29AM UTC 478
29.36
GitHub Action Run
15 itest-fabric-events - 33858387024.15 04 Sep 2026 09:32AM UTC 453
29.69
GitHub Action Run
16 itest-fabricx-simple - 33858387024.16 04 Sep 2026 09:29AM UTC 478
28.7
GitHub Action Run
17 itest-fabricx-configupdate - 33858387024.17 04 Sep 2026 09:30AM UTC 478
29.48
GitHub Action Run
18 itest-fabricx-iou - 33858387024.18 04 Sep 2026 09:29AM UTC 478
30.4
GitHub Action Run
19 itest-fabricx-atsa - 33858387024.19 04 Sep 2026 09:29AM UTC 478
31.66
GitHub Action Run
20 utest-postgres - 33858387024.20 04 Sep 2026 09:30AM UTC 491
10.0
GitHub Action Run
21 itest-fabric-atsachaincode - 33858387024.21 04 Sep 2026 09:31AM UTC 453
31.62
GitHub Action Run
Source Files on build 33858387024
  • Tree
  • List 500
  • Changed 59
  • Source Changed 2
  • Coverage Changed 59
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33858387024
  • 9701422c on github
  • Prev Build on main (#33851891188)
  • Next Build on main (#33873004368)
  • Delete
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