Commit graph

7995 commits

Author SHA1 Message Date
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
afik.cohen
5191f6179c Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started 2024-01-24 18:32:28 -08:00
afik.cohen
8710969212 Edit copy in aiservice 2024-01-24 18:32:23 -08:00
Saurabh Misra
3c725c8b86 Use 1 level up path as the real project root internally 2024-01-24 18:04:08 -08:00
ihitamandal
d7ab8fd82b Remove use of -q flag in discover_tests_pytest 2024-01-24 16:55:46 -08:00
Saurabh Misra
f401b70a4f Update the root correctly 2024-01-24 16:26:23 -08:00
afik.cohen
59efac2b32 Edit copy 2024-01-24 16:03:22 -08:00
afik.cohen
dd7240775a Autodetect test dir and test framework, also fix black target version 2024-01-24 15:57:50 -08:00
Saurabh Misra
7b343b4ed6 minor wording update 2024-01-24 15:49:12 -08:00
Saurabh Misra
d8baad93ba Update the workflow creating instructions 2024-01-24 15:38:39 -08:00
Saurabh Misra
7cf06ff105 minor wording update 2024-01-24 15:22:11 -08:00
Saurabh Misra
18ae985c34 Update the codeflash optimize yaml file. WIP 2024-01-24 15:19:19 -08:00
Saurabh Misra
522849dc3a minor 2024-01-24 15:01:39 -08:00
Saurabh Misra
735b722d55 minor 2024-01-24 14:58:33 -08:00
Saurabh Misra
715beae337 Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started
# Conflicts:
#	cli/codeflash/cli_cmds/cmd_init.py
2024-01-24 14:39:42 -08:00
Saurabh Misra
e8a4491d97 Fix tests path handling and validation 2024-01-24 14:26:00 -08:00
afik.cohen
86951ca8f1 Try to autodiscover source dir and test dir, at least with sensible defaults 2024-01-24 14:23:02 -08:00
afik.cohen
d7b3dac519 Check for toml or setup file, creating the toml if necessary. Also rename install.md to getting-started.md, and rename posthog logging to something more succinct 2024-01-24 14:00:29 -08:00
Saurabh Misra
d86a3b7e1b Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started 2024-01-24 13:22:29 -08:00
Saurabh Misra
4133afbddc Fix more bugs 2024-01-24 13:22:22 -08:00
afik.cohen
2d28655824 Fix apikeys url 2024-01-24 12:17:07 -08:00
Saurabh Misra
fee0c9d224 Merge remote-tracking branch 'origin/modify-getting-started' into modify-getting-started 2024-01-24 12:13:21 -08:00
Saurabh Misra
47cfec2a7b set env var as well 2024-01-24 12:13:14 -08:00
afik.cohen
ef7577acbc Merge remote-tracking branch 'origin/main' into modify-getting-started 2024-01-24 12:09:39 -08:00
Saurabh Misra
cc157fb17b codeflash init should not crash if CODEFLASH_API_KEY is not set
update the docs a bit
2024-01-24 12:07:37 -08:00
Saurabh Misra
ec63be2db2 Merge pull request #127 from codeflash-ai/cfapi_payload_10mb
CF-83 Increase CFAPI payload limit
2024-01-23 16:57:13 -08:00
afik.cohen
3028c5192f Don't try to decode json if the response errors 2024-01-22 19:18:03 -08:00
afik.cohen
cd9fcb2378 Reorganize 2024-01-22 17:49:21 -08:00
Afik
98deb6fb7c Merge pull request #117 from codeflash-ai/posthog-cli
Instrument the cli by calling a proxied cfapi endpoint that calls pos…
2024-01-22 17:43:28 -08:00