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

Chia-Network / chia-blockchain / 31430538084
92%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 10:03PM UTC
Jobs 1
Files 935
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

10 Aug 2026 08:44PM UTC coverage: 91.944% (-0.001%) from 91.945%
31430538084

push

github

web-flow
CHIA-4264: Continue Wallet Subscriptions After a Single Peer Fails (#21245)

* Continue wallet subscriptions after a single peer fails

One bad peer in _process_new_subscriptions previously aborted the whole
batch, leaving later peers without the new PH/coin-id registrations.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Use real peers in subscription peer-error test

Replace MagicMock peers with two full nodes and only fail the bad peer's register handlers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Narrow subscription peer-error handling to RPC failures

Only catch subscribe failures so local apply errors do not ban every peer, and guard peer.close so close exceptions cannot abort the batch.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Tighten subscription failure handling to peer/RPC errors

Catch ValueError/ProtocolError/OSError instead of Exception, and use log_exceptions when closing a failed peer.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Treat protocol Error and StreamableError as subscription peer failures

Normalize Error/unexpected subscribe responses to ValueError, and catch
StreamableError in the per-peer handler so corrupt payloads do not abort the batch.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add unit tests for subscribe response normalization helper.

Cover Error, unexpected-type, None, and success paths without mocking peers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Drop happy-path unit test for subscribe response helper.

Rejection cases are enough for the coverage gap; success is already exercised elsewhere.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

11202 of 12361 branches covered (90.62%)

Branch coverage included in aggregate %.

66 of 66 new or added lines in 4 files covered. (100.0%)

17 existing lines in 7 files now uncovered.

115622 of 125575 relevant lines covered (92.07%)

1.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
88.44
-0.22% chia/full_node/full_node.py
3
73.11
-0.32% chia/timelord/timelord.py
2
87.7
-0.24% chia/data_layer/data_layer.py
2
70.21
-2.13% chia/timelord/timelord_launcher.py
1
88.53
-0.07% chia/full_node/full_node_api.py
1
96.5
0.0% chia/_tests/simulation/test_simulation.py
1
88.63
0.03% chia/wallet/wallet_node.py
Jobs
ID Job ID Ran Files Coverage
1 31430538084.1 10 Aug 2026 10:03PM UTC 1870
91.94
GitHub Action Run
Source Files on build 31430538084
  • Tree
  • List 935
  • Changed 13
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31430538084
  • 7689abb4 on github
  • Prev Build on main (#31415585962)
  • Next Build on main (#31435591830)
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