-
Notifications
You must be signed in to change notification settings - Fork 15
Replay tests and tracer improvments #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍(Review updated until commit dce7bc3)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to dce7bc3
Previous suggestionsSuggestions up to commit 986a2b1
|
Persistent review updated to latest commit dce7bc3 |
User description
Can specify multiple replay tests from the cli
plus fix how addopts was modified. it broke when addopts was specified as a string
catch all pickling type exceptions to make tracer more robust
PR Type
Enhancement, Bug fix
Description
Allow multiple replay tests via CLI
Validate and resolve multiple test file paths
Only process list-type pytest addopts
Catch all exceptions in tracer pickling logic
Changes walkthrough 📝
cli.py
Enable multiple replay tests in CLI
codeflash/cli_cmds/cli.py
--replay-test
to accept multiple pathsfunctions_to_optimize.py
Support multiple replay test paths
codeflash/discovery/functions_to_optimize.py
replay_test
type to list[Path]discover_unit_tests
code_utils.py
Only process list-type pytest addopts
codeflash/code_utils/code_utils.py
original_addopts
is a list before modifyingtracer.py
Broad exception handling in tracer pickling
codeflash/tracer.py
Exception