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

hyperledger-labs / fabric-smart-client / 41068046242
92%

Build:
DEFAULT BRANCH: main
Ran 30 Oct 2026 02:01PM UTC
Jobs 27
Files 494
Run time 1min
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 Oct 2026 02:00PM UTC coverage: 91.492% (+0.005%) from 91.487%
41068046242

push

github

web-flow
fix(view): reply to unknown views without loops (#2415)

A first P2P message for a view the node has no responder for is answered with the error `unknown_view: <view>`, so the initiator fails at once instead of waiting a minute for its session to time out. This is the usual failure between two versions of an application, or after a view moved to another package.

Every error reply a node sends unasked goes through one reject path in the view P2P service. Its payload is `<reason>: <detail>`, the detail reduced to printable ASCII and 256 bytes. The busy reply reads `busy: too many concurrent responders for this peer`. Rejections share the per-peer bound on pending rejections and are counted by `fsc_view_services_view_p2p_rejections{reason}`, wired in through the new additive `p2p.WithMetrics` option.

Two guards keep rejections cheap and finite:
- A first message with status ERROR or an empty caller is dropped. Rejections are such messages, so two nodes cannot reject each other in a loop, and an ERROR message no longer starts a responder.
- `ReplyError` writes only to a stream to the peer that already exists and never dials. Without one, the rejection is dropped.

The pingpong integration suite gains an `unhosted` view that only the initiator registers. Calling it fails with `unknown_view: ...` on libp2p and WebSocket.

docs/upgrade/v0.26-to-v0.27.md is the operator and developer upgrade guide for every change since v0.26.0, including this one.

Fixes #2409

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

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

8 existing lines in 4 files now uncovered.

30131 of 32933 relevant lines covered (91.49%)

1260.22 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
96.66
-0.61% platform/fabric/core/generic/delivery/delivery.go
2
91.95
-1.34% platform/view/services/metrics/prometheus/provider.go
2
76.69
-0.61% platform/fabric/core/generic/msp/idemix/provider.go
2
94.44
-5.56% platform/common/utils/lazy/holder.go
Jobs
ID Job ID Ran Files Coverage
1 itest-fabric-faultrecovery-postgres-outage - 41068046242.1 30 Oct 2026 02:04PM UTC 447
39.63
GitHub Action Run
2 utest-extensions - 41068046242.2 30 Oct 2026 02:01PM UTC 8
52.69
GitHub Action Run
3 itest-fabric-iou - 41068046242.3 30 Oct 2026 02:03PM UTC 457
41.72
GitHub Action Run
4 itest-fabric-configupdate - 41068046242.4 30 Oct 2026 02:02PM UTC 457
39.49
GitHub Action Run
5 itest-fabricx-atsa - 41068046242.5 30 Oct 2026 02:02PM UTC 479
31.71
GitHub Action Run
6 itest-fabric-events - 41068046242.6 30 Oct 2026 02:02PM UTC 452
29.67
GitHub Action Run
7 itest-fabric-faultrecovery - 41068046242.7 30 Oct 2026 02:03PM UTC 447
40.69
GitHub Action Run
8 itest-fabric-iouhsm - 41068046242.8 30 Oct 2026 02:02PM UTC 457
38.83
GitHub Action Run
9 itest-fabric-atsachaincode - 41068046242.9 30 Oct 2026 02:02PM UTC 452
31.52
GitHub Action Run
10 itest-fabricx-simple - 41068046242.10 30 Oct 2026 02:02PM UTC 479
28.89
GitHub Action Run
11 utest-root - 41068046242.11 30 Oct 2026 02:03PM UTC 485
90.0
GitHub Action Run
12 itest-fabricx-iou - 41068046242.12 30 Oct 2026 02:02PM UTC 479
30.39
GitHub Action Run
13 itest-fabric-atsa - 41068046242.13 30 Oct 2026 02:03PM UTC 447
44.92
GitHub Action Run
14 itest-fabricx-multiendorsement - 41068046242.14 30 Oct 2026 02:02PM UTC 479
29.53
GitHub Action Run
15 itest-fabricx-faultrecovery-replication - 41068046242.15 30 Oct 2026 02:03PM UTC 479
29.06
GitHub Action Run
16 itest-fabric-faultrecovery-partition - 41068046242.16 30 Oct 2026 02:04PM UTC 447
38.59
GitHub Action Run
17 itest-fabric-iou-libp2p - 41068046242.17 30 Oct 2026 02:03PM UTC 457
37.3
GitHub Action Run
18 itest-fabric-twonets - 41068046242.18 30 Oct 2026 02:02PM UTC 447
37.7
GitHub Action Run
19 utest-postgres - 41068046242.19 30 Oct 2026 02:02PM UTC 182
27.7
GitHub Action Run
20 itest-fabricx-configupdate - 41068046242.20 30 Oct 2026 02:03PM UTC 479
29.61
GitHub Action Run
21 itest-fabricx-faultrecovery - 41068046242.21 30 Oct 2026 02:03PM UTC 479
29.7
GitHub Action Run
22 itest-fabric-runtimeconfig - 41068046242.22 30 Oct 2026 02:02PM UTC 457
39.79
GitHub Action Run
23 itest-fsc-pingpong - 41068046242.23 30 Oct 2026 02:02PM UTC 252
35.37
GitHub Action Run
24 itest-fsc-signedpingpong - 41068046242.24 30 Oct 2026 02:01PM UTC 247
30.76
GitHub Action Run
25 itest-fsc-stoprestart - 41068046242.25 30 Oct 2026 02:02PM UTC 248
34.09
GitHub Action Run
26 itest-fabricx-deployment - 41068046242.26 30 Oct 2026 02:02PM UTC 479
29.51
GitHub Action Run
27 itest-fabric-faultrecovery-replication - 41068046242.27 30 Oct 2026 02:03PM UTC 447
39.62
GitHub Action Run
Source Files on build 41068046242
  • Tree
  • List 494
  • Changed 49
  • Source Changed 4
  • Coverage Changed 49
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41068046242
  • 48a0a3bb on github
  • Prev Build on main (#41064660454)
  • Next Build on main (#41292654539)
  • 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