Commit graph

224 commits

Author SHA1 Message Date
Kevin Turcios
508df04c1e "Claude Code Review workflow" 2025-12-22 20:51:48 -05:00
Kevin Turcios
a88ce7e566 "Claude PR Assistant workflow" 2025-12-22 20:51:47 -05:00
Kevin Turcios
2e34d83c52
remove test_framework from pyproject.toml (#955)
* follow up

* remove requirement

* Delete uv.lock

* refresh uv-lock

* first pass

* cleanup test_framework here

* cleanup

* code_review

* cleanup tests

* fix for E2E

* fix tests dir missing

* one more cleanup

* cancel-in-progress

* Revert "cancel-in-progress"

This reverts commit f4bb9079cb.

* not needed here

* lower threshold and cleanup comments

* debug

* temp

* debug

Revert "debug"

This reverts commit fc3655149486c8b980e245e97b8304232086f08d.

fix(discover): Fix pytest discovery for futurehouse structure

Revert "fix(discover): Fix pytest discovery for futurehouse structure"

This reverts commit 40c48882b7413f5876af0e2e08d8f17a65bab091.

Reapply "debug"

This reverts commit c8297e57fbdca2462a8ca1199657748b8bc225e9.

Revert "not needed here"

This reverts commit dd2c5cdf76.

Revert "lower threshold and cleanup comments"

This reverts commit 0e2f57e292.

Reapply "lower threshold and cleanup comments"

This reverts commit e3b24f4a2967551eca8a19f96bf6647b23acdbbc.

Reapply "not needed here"

This reverts commit aec32103c931ff6d57dfa0d012113c2cec5d37a7.

Revert "Reapply "debug""

This reverts commit 77ab9f34f858a17fb29764c544769a0eb72ce7f0.

Reapply "fix(discover): Fix pytest discovery for futurehouse structure"

This reverts commit 506b94ab4fe17a7c8e0d458253812758cced3f22.

feat(futurehouse): Make futurehouse structure pytest compatible

* Revert "debug"

This reverts commit 271c5a37ec.

* Revert "temp"

This reverts commit b363acda1c.

* Revert "debug"

This reverts commit ac29b6beb3.

* just for now
2025-12-09 02:53:08 -08:00
Kevin Turcios
66ff6f065d apply suggestion 2025-12-07 00:53:32 -06:00
Kevin Turcios
a22adba91a apply suggestion 2025-12-07 00:51:47 -06:00
Kevin Turcios
4cb39b8ab3 cancel-in-progress 2025-12-07 00:46:42 -06:00
Kevin Turcios
33437d39e3
use pytest as the execution engine for all tests (#951)
* first pass

restore

restore this too

Revert "first pass"

This reverts commit b507770b2c79cc948b33222d8877fb784bfe108a.

* continue

* Update uv.lock

* refresh lockfile

* bugfix

* temp

* fix these

* pytest changes

* formatting

* set up test env properly here too

* ruff

* make ruff happy

* Update e2e-bubblesort-unittest.yaml

* with pytest

* bugfix

* oops
2025-12-06 22:40:25 -06:00
Saurabh Misra
5e6a8fcea3 fix publish workflow
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-11-07 16:30:56 -08:00
Saurabh Misra
8a0e90cbc8
Merge branch 'main' into automated-pypi-publishing 2025-11-07 16:16:21 -08:00
Saurabh Misra
67b91d38dd update
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-11-07 16:16:07 -08:00
Codeflash Bot
e852491f7c sync test dependency packages for 3.9 2025-11-04 00:44:13 -08:00
Kevin Turcios
90eadb8d10 automatically publish when git tag is pushed 2025-10-15 15:25:02 -07:00
Kevin Turcios
97d9e62620 update to avoid locking issues
astral-sh/uv#16105
2025-10-15 15:08:01 -07:00
Kevin Turcios
6e2b05150f conditionally run 3.13 with tests dependencies 2025-10-13 22:13:43 -07:00
Kevin Turcios
e525edc707
Merge branch 'main' into 3.14-in-CI 2025-10-14 01:24:46 +00:00
Kevin Turcios
3b714941b8 lower expect improvement 2025-10-13 14:31:23 -07:00
ali
6b3a020afa
worktree e2e 2025-10-09 15:17:47 +03:00
Kevin Turcios
bf633fefe8 Update unit-tests.yaml 2025-10-08 14:04:08 -07:00
Kevin Turcios
f978a406bb Merge branch 'main' into part-1-windows-fixes 2025-09-29 14:46:25 -07:00
Kevin Turcios
782dba1f23 update this one too 2025-09-29 13:43:00 -07:00
Kevin Turcios
b992f71b6e loosen gain % for E2E 2025-09-29 13:26:18 -07:00
Kevin Turcios
a1d538143b add E2E test on windows too 2025-09-28 09:56:48 +00:00
Kevin Turcios
02662c6a7c run unit tests on windows too 2025-09-28 09:42:47 +00:00
Kevin Turcios
736faa1641 add E2E gha & pytest-asyncio 2025-09-26 15:09:49 -07:00
Kevin Turcios
2cb3e39c32 remove auto deploy of docs 2025-07-31 16:31:39 -07:00
Saurabh Misra
3a44a44106 3.13 test
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-07-25 13:20:00 -07:00
Kevin Turcios
609144f1ff Update unit-tests.yaml 2025-07-23 17:46:37 -07:00
mohammed
90d84b558e Merge branch 'main' of github.com:codeflash-ai/codeflash into chore/get-pr-number-from-gh-action-event-file 2025-06-29 03:34:51 +03:00
Sarthak Agarwal
64a40d85d6
Rename the test files and Workflow name as all of them have same name (#442)
Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2025-06-27 04:50:08 +05:30
Kevin Turcios
9e26985e76
Merge branch 'main' into chore/get-pr-number-from-gh-action-event-file 2025-06-21 01:31:42 +00:00
Kevin Turcios
46ab01d122 fix 2025-06-20 18:02:39 -07:00
mohammed
89410a5f64 get pr number from gh action event json file, fallback to old behaviour 2025-06-20 18:28:08 +03:00
Kevin Turcios
a407ed267c applied sunscreen 2025-06-19 17:01:24 -07:00
Kevin Turcios
406f86ebfb forgot the flash 2025-06-19 17:00:09 -07:00
Kevin Turcios
4d533f3d7e update the tests to uv 2025-06-19 16:59:06 -07:00
Kevin Turcios
edfc24032e Update unit-tests.yaml 2025-06-09 20:30:53 -07:00
Kevin Turcios
2e4be15cf7 Create pre-commit.yaml 2025-05-20 17:20:49 -04:00
aseembits93
9685312d8b recalibrating expected improvement with new tests 2025-05-12 14:17:08 -07:00
Saurabh Misra
1980dfd431 Fix GHA 2025-05-07 20:43:00 -07:00
Kevin Turcios
3649e9bdbb loosen pytest version
# 3.13 is causing a strange string formatting error, won't spend more time on it until neccesary.
2025-04-21 06:04:33 -05:00
Alvin Ryanputra
5a4a547524 fix ci 2025-04-18 15:54:13 -04:00
Alvin Ryanputra
8ea6a40a8b fix ci 2025-04-18 14:36:20 -04:00
Alvin Ryanputra
e5ca10fbb6 marked multithreaded trace benchmarks test to be skipped during CI as its flaky with github action machines 2025-04-17 11:11:12 -04:00
Alvin Ryanputra
a624221642 added pytest-benchmark as dependency 2025-04-16 19:14:55 -04:00
Alvin Ryanputra
4e8483bef0 created benchmarks for codeflash, modified codeflash-optimize to use codeflash --benchmark 2025-04-15 21:18:59 -04:00
Alvin Ryanputra
b70c4c9542 Merge branch 'main' into codeflash-trace-decorator 2025-04-15 11:11:44 -04:00
Sarthak Agarwal
9005337a74
Syntax improvement for wf file change (#147)
* workflow test for wf file change(Test PR)

* syntax improve for wf changes

---------

Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2025-04-14 02:18:34 +05:30
Sarthak Agarwal
378d88bf8c
WF changes to remove condition (#145) 2025-04-13 13:22:04 +05:30
Sarthak Agarwal
142b0b4117
try folded block scalar notation
* try fix with env variable

* added folded block notation to other yaml files
2025-04-13 12:50:41 +05:30
Alvin Ryanputra
fce641e5e5 Merge branch 'main' into codeflash-trace-decorator 2025-04-11 17:10:32 -04:00
Sarthak Agarwal
87ea50bd9d
recieve request only when workflow file changed (#137) 2025-04-12 00:17:33 +05:30
Alvin Ryanputra
95788541eb Merge branch 'main' into codeflash-trace-decorator 2025-04-11 13:21:37 -04:00
Sarthak Agarwal
7d7340c124
fix workflow triggering condition (#136)
* fix workflow triggering condition

* fix run
2025-04-11 10:34:52 +05:30
Alvin Ryanputra
40e416e0d0 Merge branch 'refs/heads/main' into codeflash-trace-decorator
# Conflicts:
#	codeflash/code_utils/config_parser.py
#	codeflash/optimization/function_optimizer.py
2025-04-10 21:28:48 -04:00
Sarthak Agarwal
6b71c6052d
fix PR approved state (#134)
* fix PR approved state

* fix topological sort wf
2025-04-10 21:07:38 +05:30
Alvin Ryanputra
821fa4798a fixed e2e test 2025-04-09 17:19:19 -07:00
Alvin Ryanputra
906e4348d1 renamed test 2025-04-09 17:19:19 -07:00
Alvin Ryanputra
5c30d3ea46 new end to end test for benchmarking bubble sort 2025-04-09 17:19:19 -07:00
HeshamHM28
3665e7676d
Create GitHub Actions Workflow to Label PRs Modifying Workflows (#130)
* Add PR labeler workflow to label PRs modifying workflows

* Switch from `pull_request_target` to `pull_request`

* Fix label color format

---------

Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-04-10 03:23:40 +05:30
Saga4
aecf39c905 add environment for contributors 2025-04-08 19:54:33 +05:30
Saga4
f688f740eb test changes for actor confirmation 2025-04-08 02:50:02 +05:30
Saga4
9a9286f32e test changes for actor confirmation 2025-04-07 21:50:53 +05:30
Saurabh Misra
50de507b78 allow external contributors to run our e2e tests 2025-04-06 22:47:47 -07:00
Saurabh Misra
83496493d7 Make codeflash github actions cooler? 2025-03-24 15:11:56 -07:00
Kevin Turcios
c9df6dfa15 restore PR_Agent to repo 2025-03-03 15:17:40 -08:00
Alvin Ryanputra
758f1d289f added mypy and codeflash-optimize 2025-02-14 23:22:58 +08:00
Alvin Ryanputra
da41a516d4 fixed all end to end tests 2025-02-14 13:13:34 +08:00
Alvin Ryanputra
055ff2e877 Merge branch 'refs/heads/main' into github-actions 2025-02-14 13:10:14 +08:00
Alvin Ryanputra
acf6409f9a folder changes 2025-02-14 13:09:44 +08:00
Alvin Ryanputra
f7e8c23e43 trying to fix license not found error 2025-02-14 12:40:53 +08:00
Alvin Ryanputra
1b7054e244 end to end test with prod aiserver 2025-02-14 12:29:15 +08:00
Saurabh Misra
3f0fd3f541 fix working directory 2025-02-13 19:28:17 -08:00
Saurabh Misra
f370439c1d move docs to public 2025-02-13 01:26:19 -05:00
Saurabh Misra
d3c7ae4cea add the new submodule at cli 2025-02-13 01:13:28 -05:00