push
github
checkpoint: into main from release/2.7.1 @ 7080538f7 (#20930) 2.7.1 Checkpoint Merge (#20887) * Checkpoint Merge * Add a timeout during node shutdown * Revert "Add a timeout during node shutdown" This reverts commit ab57da71f. * Replace test_add_transaction_seen_before_validation with simpler version The previous version of this test was the sole cause of a CI hang on the 2.7.1-checkpoint branch (confirmed by bisection). It used the heavyweight wallet_nodes fixture, a real peer connection, and a backgrounded task driving add_transaction, all of which left orphaned async work during fixture teardown under pytest-xdist on CI runners. The replacement keeps the same regression coverage for SEC-111 (tx must be marked in-flight before pre_validate_spendbundle) but does so with: - the lightweight one_node_one_block fixture - pytest.MonkeyPatch.context() instead of manual attribute swap - two asyncio.Events to deterministically gate validation - asyncio.wait_for on both the gate and the final task to fail fast --------- Co-authored-by: Chris Marslender <chrismarslender@gmail.com> Co-authored-by: Almog De Paz <almogdepaz@gmail.com> Co-authored-by: Zachary Brown <z.brown@chia.net> Co-authored-by: Earle Lowe <e.lowe@chia.net> Co-authored-by: Cursor <cursoragent@cursor.com>
10836 of 12036 branches covered (90.03%)
Branch coverage included in aggregate %.
2022 of 2023 new or added lines in 31 files covered. (99.95%)
29 existing lines in 9 files now uncovered.111890 of 122097 relevant lines covered (91.64%)
3.67 hits per line