-
Notifications
You must be signed in to change notification settings - Fork 22
Future house fix #969
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
base: main
Are you sure you want to change the base?
Future house fix #969
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
The 'expected_unit_tests' config actually validates the number of test invocations (function calls in tests), not the number of test files. Updated regex to match the global discovery message format: 'Discovered X existing unit tests and Y replay tests in Z.Zs at /path' This counts how many times functions are called/invoked in test files, which is what num_discovered_tests represents in the codebase.
|
tests are failing due to this change which you will need to re-concile |
|
Hey @KRRT7 can we please merge this change? |
Co-authored-by: Saurabh Misra <[email protected]>
PR Type
Bug fix, Tests, Enhancement
Description
Improve git remote validation and messaging
Handle missing/invalid repos without warnings
Strengthen CLI error handling for PR flow
Stabilize e2e Futurehouse test expectations
Diagram Walkthrough
File Walkthrough
aiservice.py
Quiet handling of missing git repo/remotescodeflash/api/aiservice.py
functions_to_optimize.py
Non-noisy repo info retrievalcodeflash/discovery/functions_to_optimize.py
cli.py
Clear CLI errors for repo/remote issuescodeflash/cli_cmds/cli.py
git_utils.py
Enforce and explain git remote requirementscodeflash/code_utils/git_utils.py
end_to_end_test_futurehouse.py
Stabilize Futurehouse e2e test setuptests/scripts/end_to_end_test_futurehouse.py
end_to_end_test_utilities.py
Test runner respects pyproject configurationtests/scripts/end_to_end_test_utilities.py