|
Ran
|
Jobs
1
|
Files
903
|
Run time
2min
|
Badge
README BADGES
|
push
github
checkpoint: into main from release/2.6.1 @ <a class=hub.com/Chia-Network/chia-blockchain/commit/c3364780d48921f7f8036492a94e6f354f73cfd8">c3364780d (#20696) Source hash: c3364780d48921f7f8036492a94e6f354f73cfd8 Remaining commits: 1 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Touches full node block-ingest and peer discovery paths plus wallet RPC signing behavior, so mistakes could affect sync/connectivity or transaction submission, though changes are mostly defensive and covered by new regression tests. > > **Overview** > Improves robustness and security hardening across node networking and block processing. `FullNode.add_prevalidated_blocks()` now returns typed `Err` values (and logs) when prevalidation fails or `required_iters` is missing, instead of raising assertions; new regression tests cover these cases. > > Hardens peer discovery against pathological peer host strings by bounding host length and rejecting non-IP hosts in `_add_peers_common()` and `add_peers_neighbour()`, with new tests for oversized/invalid/mixed hosts. > > Fixes cache eviction for future infusion points by recording TTLs in `FullNodeStore.add_to_future_ip()` and adds tests ensuring `clear_old_cache_entries()` evicts stale entries. Also tightens keyring passphrase cache semantics (empty/cleared treated as missing) with a new test, ensures data-layer uploader HTTP sessions consistently use `client_timeout`, fixes an S3 plugin missing `continue` on store-id mismatch, and disables auto-signing specifically for the wallet RPC `take_offer` action scope. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1351f71b3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
10436 of 11608 branches covered (89.9%)
Branch coverage included in aggregate %.
156 of 159 new or added lines in 10 files covered. (98.11%)
340 existing lines in 8 files now uncovered.105813 of 115829 relevant lines covered (91.35%)
1.83 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
0.0 |
0.0% | chia/data_layer/s3_plugin_service.py |
| 2 |
86.03 |
0.25% | chia/data_layer/data_layer.py |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
81.9 |
-0.86% | chia/introducer/introducer.py |
| 3 |
99.58 |
0.0% | chia/_tests/core/full_node/stores/test_full_node_store.py |
| 4 |
91.13 |
0.0% | chia/server/ws_connection.py |
| 28 |
0.0 |
0.0% | chia/data_layer/s3_plugin_service.py |
| 32 |
93.68 |
0.0% | chia/full_node/full_node_store.py |
| 59 |
81.25 |
0.52% | chia/server/node_discovery.py |
| 69 |
95.02 |
0.0% | chia/wallet/wallet_rpc_api.py |
| 144 |
87.62 |
-0.09% | chia/full_node/full_node.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23344972292.1 | 1806 |
91.22 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|