-
Notifications
You must be signed in to change notification settings - Fork 22
paralelize test discovery #264
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 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
8f1d85a to
77e7053
Compare
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like
Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
cecf857 to
1eb54df
Compare
User description
note: max_workers is
os.cpu_count() or 1, for GitHub Actions that means the min is 2 cores.PR Type
Enhancement, Tests
Description
Parallelize test file discovery with multiple processes
Refactor into
process_single_test_filehelperImplement caching to skip unchanged test files
Strengthen type assertion and simplify insertion logic
Changes walkthrough 📝
discover_unit_tests.py
Parallelize and optimize test discoverycodeflash/discovery/discover_unit_tests.py
ProcessPoolExecutorfor concurrent test processingtest_typeand streamline DB insertion