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

Chia-Network / chia-blockchain / 40033972967
90%

Build:
DEFAULT BRANCH: main
Ran 23 Oct 2026 11:29PM UTC
Jobs 1
Files 946
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

23 Oct 2026 10:29PM UTC coverage: 90.326% (+0.007%) from 90.319%
40033972967

push

github

web-flow
improve generation of the plot_cache.pickle file (#21561)

generate individual caches per test, as they are generated, then merge
them at the end. This resolves an issue where the plot_cache.pickle
would grow indefinitely as chains were tweaked

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Test-only infrastructure changes affect CI cache correctness and
runtime; production paths are untouched but a bad merge/prune could slow
or destabilize local/CI test runs.
> 
> **Overview**
> Replaces the old **process-exit merge** into `plot_cache.pickle` with
**per-test plot lookup recordings** under `plot_cache_tests/`, keyed by
parametrized pytest node IDs. Each passing test persists its
hits/misses; **session finish** rebuilds the shared cache from those
recordings only, so stale entries from tweaked chains no longer
accumulate indefinitely.
> 
> **pytest** hooks wrap every test in `record_test()`, skip recording
for **persistent fixture-chain generation** (`ignore_recording()` in
blockchain helpers), **prune** recordings for removed/renamed tests on
full-file collection, and **merge** into `plot_cache.pickle` when the
run succeeds (not on workers, `collectonly`, or failed sessions). Chain
file writes use **atomic replace**; docs in `test_build_chains.py`
describe the new workflow. **Timelord** test job timeout increases from
40s to 60s.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
b741fdb61. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

20112 of 25098 branches covered (80.13%)

Branch coverage included in aggregate %.

226 of 233 new or added lines in 5 files covered. (97.0%)

48 existing lines in 11 files now uncovered.

118557 of 128423 relevant lines covered (92.32%)

1.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
84.03
-0.02% chia/_tests/conftest.py
1
0.0
0.0% chia/_tests/timelord/config.py
1
96.44
2.12% chia/_tests/util/plot_cache.py

Coverage Regressions

Lines Coverage ∆ File
11
70.21
-1.25% chia/timelord/timelord.py
10
95.5
0.0% chia/full_node/block_store.py
6
83.99
-0.25% chia/full_node/full_node.py
6
75.19
-1.05% chia/server/node_discovery.py
5
76.47
-1.47% chia/introducer/introducer.py
2
85.84
-0.21% chia/data_layer/data_layer.py
2
86.2
-0.18% chia/full_node/full_node_api.py
2
99.37
0.02% chia/_tests/core/full_node/stores/test_block_store.py
2
97.0
-0.9% chia/_tests/core/test_farmer_harvester_rpc.py
1
84.31
-0.2% chia/seeder/dns_server.py
1
85.03
0.11% chia/wallet/wallet_node.py
Jobs
ID Job ID Ran Files Coverage
1 40033972967.1 23 Oct 2026 11:29PM UTC 1892
90.33
GitHub Action Run
Source Files on build 40033972967
  • Tree
  • List 946
  • Changed 25
  • Source Changed 10
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40033972967
  • c9f9f109 on github
  • Prev Build on main (#40001337272)
  • Next Build on main (#40046480378)
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