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

Chia-Network / chia-blockchain / 28481850825

30 Jun 2026 11:11PM UTC coverage: 91.639% (-0.02%) from 91.662%
28481850825

push

github

web-flow
Fix DataLayer unsubscribe cleanup (#21049)

* Fix DataLayer unsubscribe cleanup

Ensure unsubscribe clears committed root state along with nodes and files so a later re-subscribe cannot reuse stale synced metadata after blobs were removed.

* Make DataLayer blob cleanup best effort

Treat post-commit unsubscribe file removal as best-effort so database cleanup remains successful even when orphaned blob directory deletion fails.

* Inline root/node cleanup in unsubscribe

Per review feedback, fold the single-use clear_store_roots helper back into
unsubscribe so the deletes run in the existing writer transaction, matching
the surrounding pattern and dropping an unnecessary nested savepoint. Remove
the now-redundant standalone test; unsubscribe coverage already exercises the
root/node deletion.

10990 of 12191 branches covered (90.15%)

Branch coverage included in aggregate %.

43 of 43 new or added lines in 2 files covered. (100.0%)

47 existing lines in 10 files now uncovered.

113884 of 124076 relevant lines covered (91.79%)

1.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.55
/chia/full_node/full_node.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc