Skip to content

starknet_transaction_prover: finalize test recordings only after assertions pass#14212

Open
AvivYossef-starkware wants to merge 1 commit into
mainfrom
move-test-finalize-after-assert
Open

starknet_transaction_prover: finalize test recordings only after assertions pass#14212
AvivYossef-starkware wants to merge 1 commit into
mainfrom
move-test-finalize-after-assert

Conversation

@AvivYossef-starkware
Copy link
Copy Markdown
Contributor

No description provided.

@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@AvivYossef-starkware AvivYossef-starkware marked this pull request as ready for review May 27, 2026 08:15
@cursor
Copy link
Copy Markdown

cursor Bot commented May 27, 2026

PR Summary

Low Risk
Test-only ordering change for when RPC recordings are saved; no production prover or executor behavior changes.

Overview
In virtual_snos_prover_test and virtual_block_executor_test, test_mode.finalize() is moved from immediately after the async/blocking work to after all success assertions (including proof verification in the prover test).

finalize() persists RPC recordings in recording mode; the change means offline RPC record files are written only when the test passes, not when execution or assertions fail.

Reviewed by Cursor Bugbot for commit ec54043. Bugbot is set up for automated code reviews on this repo. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants