Commit graph

7973 commits

Author SHA1 Message Date
Afik
f772ccea1c Merge pull request #132 from codeflash-ai/optimize-all-validation
Omnibus fixes for --all runs
2024-01-26 18:03:05 -08:00
Saurabh Misra
d4c864eed0 Merge remote-tracking branch 'origin/optimize-all-validation' into optimize-all-validation 2024-01-26 17:48:30 -08:00
Saurabh Misra
b2de3c973f Clean up test generation better
Fix existing unit test piling up as we optimize multiple functions
2024-01-26 17:48:24 -08:00
Saurabh Misra
44b781880d Merge branch 'main' into optimize-all-validation 2024-01-26 17:03:34 -08:00
Saurabh Misra
cef083adb1 Merge pull request #148 from codeflash-ai/CF-93
Move test_edit_generated_test to django/aiservice/injectperf_tests
2024-01-26 17:03:19 -08:00
Saurabh Misra
ecc697ddb4 Merge branch 'main' into CF-93 2024-01-26 16:56:21 -08:00
renaud
8ee9affda5 Move test_edit_generated_test to django/aiservice/injectperf_tests 2024-01-26 16:47:33 -08:00
afik.cohen
8fb59512e6 Merge remote-tracking branch 'origin/main' into optimize-all-validation 2024-01-26 16:36:03 -08:00
Afik
742a9fc835 Merge pull request #138 from codeflash-ai/revert-133-test-discovery
Revert "Remove -q flag in test discovery"
2024-01-26 16:29:01 -08:00
Saurabh Misra
af8391a270 Remove optimizations_all.txt file generation 2024-01-26 14:12:45 -08:00
Saurabh Misra
15796a3546 Fix the PR code content for --all 2024-01-26 14:09:15 -08:00
Afik
b7f6b38e6c Revert "Remove -q flag in test discovery" 2024-01-26 13:30:52 -08:00
RD
92eeb9d604 Merge pull request #137 from codeflash-ai/CF-69-2
Remove the definition of the function to optimize from the generated …
2024-01-26 11:09:48 -08:00
ihitamandal
647d66992b Merge pull request #133 from codeflash-ai/test-discovery
Remove -q flag in test discovery
2024-01-26 09:58:00 -08:00
renaud
97b236015f Remove the definition of the function to optimize from the generated test file, replacing it with a statement. 2024-01-26 05:52:22 -08:00
Saurabh Misra
6b3081e34f remove logs 2024-01-25 19:49:45 -08:00
Saurabh Misra
6b0cbdf5d1 make it absolute for real 2024-01-25 19:42:30 -08:00
Saurabh Misra
b88bcc66f7 Make the git diff paths absolute 2024-01-25 19:38:46 -08:00
Saurabh Misra
68aed1ec52 add logs 2024-01-25 19:29:06 -08:00
Saurabh Misra
aa23e35dce Try to debug on github actions 2024-01-25 19:26:40 -08:00
Saurabh Misra
27003caff5 Make the --file path absolute everytime
Make the PR suggestion file path relative.
2024-01-25 19:11:35 -08:00
Saurabh Misra
ed873f377d Make the client side --all Github app validation work
Fix the file path for a newly opened PR
2024-01-25 19:02:58 -08:00
ihitamandal
4f5cd355cb Add tests for different test file structures and remove unnecessary get_pytest_rootdir_only function 2024-01-25 18:22:31 -08:00
Saurabh Misra
343ce76968 Add a cf api in codeflash to check if user has access to repp 2024-01-25 18:04:40 -08:00
Saurabh Misra
3847675cc4 Remove the dependency astunparse-fixed 2024-01-25 16:20:27 -08:00
ihitamandal
0845ea4f21 small variable fix 2024-01-25 15:48:45 -08:00
Saurabh Misra
7fdc7789de Merge pull request #131 from codeflash-ai/cf-86-fix-basebranchforprs
CF-86 fix base branch for PRs
2024-01-25 15:45:03 -08:00
Saurabh Misra
f80e43cb6f add git_root_dir util and cleanup 2024-01-25 15:42:01 -08:00
ihitamandal
ee665570c5 Merge with main 2024-01-25 15:35:43 -08:00
ihitamandal
cd5e55c5d4 Modify test file parsing using just --co 2024-01-25 15:29:07 -08:00
Saurabh Misra
940b0403c9 add git_root_dir util and cleanup 2024-01-25 15:17:51 -08:00
afik.cohen
a23a8a2de3 Fix CF-86 use correct base branch for prs 2024-01-25 15:07:05 -08:00
Saurabh Misra
6497c5dc42 Merge pull request #130 from codeflash-ai/modify-getting-started
Choose aiservice and cfapi server in .env
2024-01-25 14:44:54 -08:00
afik.cohen
1d8eaaab94 Default should be prod 2024-01-25 14:36:26 -08:00
afik.cohen
09f6423d6e Add config for using local or prod service to .env and more logging 2024-01-25 14:31:08 -08:00
Saurabh Misra
9a7702d131 Merge pull request #126 from codeflash-ai/modify-getting-started
codeflash init updates
2024-01-25 14:30:11 -08:00
Saurabh Misra
bd40cbfd92 fix end-to-end test 2024-01-25 13:53:20 -08:00
afik.cohen
aba4bf0feb Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started 2024-01-25 13:07:29 -08:00
Saurabh Misra
d0e572689b fix 2024-01-25 13:07:19 -08:00
afik.cohen
1ef8cab7e3 Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started
# Conflicts:
#	cli/codeflash/main.py
2024-01-25 13:04:55 -08:00
afik.cohen
949bf5dc83 Better logging 2024-01-25 13:04:31 -08:00
Saurabh Misra
d9be1ce302 fix 2024-01-25 13:03:59 -08:00
Saurabh Misra
4b7588f8ed fix 2024-01-25 13:03:00 -08:00
Saurabh Misra
cc536f0617 fix 2024-01-25 13:02:52 -08:00
afik.cohen
493d1e8692 Standardize on module-root and tests-root everywhere 2024-01-25 12:51:51 -08:00
Saurabh Misra
6f91d27306 Rename "root" to "module-root" 2024-01-25 12:28:16 -08:00
Saurabh Misra
f684315e77 Fix end to end test 2024-01-24 20:41:32 -08:00
Saurabh Misra
7e2370024b Fix a long standing pyproject.toml parsing problem.
Some minor improvements
2024-01-24 19:39:08 -08:00
Saurabh Misra
feff2d3134 Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started 2024-01-24 18:49:36 -08:00
Saurabh Misra
ffc23d67ec Add better cfapi key parsing 2024-01-24 18:49:28 -08:00