Skip to content

starknet_os_flow_tests: move most fuzz test functions to context struct#13044

Open
dorimedini-starkware wants to merge 1 commit into03-03-starknet_os_flow_tests_move_deployed_fuzz_test_map_to_be_staticfrom
03-03-starknet_os_flow_tests_move_most_fuzz_test_functions_to_context_struct
Open

starknet_os_flow_tests: move most fuzz test functions to context struct#13044
dorimedini-starkware wants to merge 1 commit into03-03-starknet_os_flow_tests_move_deployed_fuzz_test_map_to_be_staticfrom
03-03-starknet_os_flow_tests_move_most_fuzz_test_functions_to_context_struct

Conversation

@dorimedini-starkware
Copy link
Collaborator

@dorimedini-starkware dorimedini-starkware commented Mar 5, 2026

Note

Low Risk
Primarily a refactor of fuzz-test harness code; risk is limited to potential subtle behavior changes in operation sequencing/serialization used by the flow tests.

Overview
Refactors the fuzz flow test harness so FuzzTestContext owns most stateful logic (call-tree navigation, valid operation generation, apply/revert handling, random op selection, and operation pretty-printing) instead of spreading it across FuzzTestManager.

FuzzTestManager is reduced to deployment/init plus running the test, delegating to context for operation generation and converting operations into orchestrator scenario calldata via a new context.operations_to_scenario_data() helper.

Written by Cursor Bugbot for commit 64a6423. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

dorimedini-starkware commented Mar 5, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

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

@dorimedini-starkware dorimedini-starkware force-pushed the 03-03-starknet_os_flow_tests_move_deployed_fuzz_test_map_to_be_static branch from f5edab0 to ebbcac9 Compare March 6, 2026 11:56
@dorimedini-starkware dorimedini-starkware force-pushed the 03-03-starknet_os_flow_tests_move_most_fuzz_test_functions_to_context_struct branch from 95f39fb to 64a6423 Compare March 6, 2026 11:56
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