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

hyperledger-labs / fabric-smart-client / 36725991796
91%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 02:04PM UTC
Jobs 22
Files 501
Run time 3min
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 02:01PM UTC coverage: 90.464% (-0.02%) from 90.488%
36725991796

push

github

web-flow
fix(fabric): fail state views on a bad reply and a short recipient exchange (#1982)

The receive views in platform/fabric/services/state dereferenced the
received message without checking that the session channel was open,
so a closed session panicked the view instead of failing it.

receiveView, payloadReceiveView, sendReceiveView,
receiveTransactionView and RequestRecipientIdentityView now read their
reply through session.ReadMessageWithTimeout instead of each running
its own timer and select. They all fail the same way on a nil or
closed receive channel, a nil message, an ERROR reply or a timeout,
and a bad reply binds nothing:
- a nil receive channel fails at once instead of blocking until the
  timeout;
- an ERROR reply returns "received error from remote [<payload>]"
  instead of the raw payload, and a timeout returns "time out
  reached";
- the per-view timeouts are unchanged.

ExchangeRecipientIdentities and RespondExchangeRecipientIdentities
return an error when the view result does not hold exactly two
identities.

Fixes #1964

Signed-off-by: Said Altury <Said.Altury@ibm.com>

33 of 34 new or added lines in 3 files covered. (97.06%)

20 existing lines in 8 files now uncovered.

29001 of 32058 relevant lines covered (90.46%)

2255.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.36
2.77% platform/fabric/services/state/flow.go

Coverage Regressions

Lines Coverage ∆ File
6
90.76
-0.99% platform/view/services/comm/p2p.go
3
81.76
-2.03% platform/view/services/comm/host/websocket/ws/stream.go
3
77.11
-1.49% platform/view/services/comm/host/libp2p/host.go
2
88.39
-1.29% platform/view/services/comm/session.go
2
92.35
-1.18% platform/fabric/core/generic/ordering/bft.go
2
92.23
-1.04% platform/fabricx/core/membership/membership.go
1
92.16
-0.21% platform/fabric/core/generic/committer/committer.go
1
96.36
2.77% platform/fabric/services/state/flow.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36725991796.1 30 Sep 2026 02:04PM UTC 8
52.57
GitHub Action Run
2 itest-fabric-atsa - 36725991796.2 30 Sep 2026 02:08PM UTC 447
43.68
GitHub Action Run
3 itest-fabricx-atsa - 36725991796.3 30 Sep 2026 02:04PM UTC 479
30.64
GitHub Action Run
4 itest-fabric-iouhsm - 36725991796.4 30 Sep 2026 02:07PM UTC 457
39.75
GitHub Action Run
5 itest-fabric-stoprestart - 36725991796.5 30 Sep 2026 02:05PM UTC 447
31.25
GitHub Action Run
6 itest-fabric-iou - 36725991796.6 30 Sep 2026 02:08PM UTC 457
40.43
GitHub Action Run
7 itest-fabric-atsachaincode - 36725991796.7 30 Sep 2026 02:05PM UTC 452
30.97
GitHub Action Run
8 itest-fabric-configupdate - 36725991796.8 30 Sep 2026 02:06PM UTC 457
38.83
GitHub Action Run
9 itest-fabric-runtimeconfig - 36725991796.9 30 Sep 2026 02:06PM UTC 457
38.87
GitHub Action Run
10 itest-fsc-pingpong - 36725991796.10 30 Sep 2026 02:06PM UTC 246
34.4
GitHub Action Run
11 itest-fabricx-multiendorsement - 36725991796.11 30 Sep 2026 02:04PM UTC 479
28.49
GitHub Action Run
12 itest-fabric-iou-libp2p - 36725991796.12 30 Sep 2026 02:06PM UTC 457
36.57
GitHub Action Run
13 itest-fsc-signedpingpong - 36725991796.13 30 Sep 2026 02:04PM UTC 241
31.37
GitHub Action Run
14 itest-fabric-twonets - 36725991796.14 30 Sep 2026 02:05PM UTC 447
29.26
GitHub Action Run
15 utest-root - 36725991796.15 30 Sep 2026 02:07PM UTC 492
88.32
GitHub Action Run
16 utest-postgres - 36725991796.16 30 Sep 2026 02:06PM UTC 492
9.79
GitHub Action Run
17 itest-fabricx-configupdate - 36725991796.17 30 Sep 2026 02:05PM UTC 479
28.4
GitHub Action Run
18 itest-fabricx-simple - 36725991796.18 30 Sep 2026 02:04PM UTC 479
27.87
GitHub Action Run
19 itest-fabric-events - 36725991796.19 30 Sep 2026 02:06PM UTC 452
29.07
GitHub Action Run
20 itest-fsc-stoprestart - 36725991796.20 30 Sep 2026 02:05PM UTC 242
33.26
GitHub Action Run
21 itest-fabricx-iou - 36725991796.21 30 Sep 2026 02:04PM UTC 479
29.27
GitHub Action Run
22 itest-fabricx-deployment - 36725991796.22 30 Sep 2026 02:04PM UTC 479
28.54
GitHub Action Run
Source Files on build 36725991796
  • Tree
  • List 501
  • Changed 41
  • Source Changed 3
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36725991796
  • ca33725d on github
  • Prev Build on main (#36715809127)
  • Next Build on main (#36835588259)
  • 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