Commit graph

437 commits

Author SHA1 Message Date
Kevin Turcios
fe04a6e835 upgrade to v7 2025-10-22 17:10:52 -05:00
Kevin Turcios
b830a2a11b squash 2025-10-20 12:49:21 -07:00
Kevin Turcios
7999316766 Update codeflash-aiservice.yaml 2025-10-18 19:21:32 -07:00
Kevin Turcios
876b10b4bd Update codeflash-aiservice.yaml 2025-10-18 19:01:04 -07:00
Kevin Turcios
f954a45cd8 Update codeflash-aiservice.yaml 2025-10-18 18:52:28 -07:00
Kevin Turcios
dba8357840 add dev db 2025-10-18 01:27:31 -07:00
Kevin Turcios
9110d9eafd pass env var 2025-10-18 01:25:32 -07:00
Sarthak Agarwal
3328601949
[fix] mobile sidebar fix (#1901)
This is related to session replay from post hog reported:
https://codeflash-ai.slack.com/archives/C06BVLNRVT5/p1760651860154799

To Test: Run `npm install`
and then just `npm run dev`

---------

Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
2025-10-17 03:34:55 -07:00
Kevin Turcios
c3d2fb5315 for some reason the cache is causing hour long loops 2025-10-15 18:32:39 -07:00
Kevin Turcios
8eefbd3af3 Update end-to-end-test-coverage.yaml 2025-10-15 18:27:58 -07:00
Kevin Turcios
50ee7d7754 migrate to v6 to avoid locking issues
https://github.com/astral-sh/uv/issues/16105
2025-10-15 15:02:17 -07:00
Kevin Turcios
6060779c5c change name 2025-10-15 02:23:06 -07:00
Kevin Turcios
936fbfdad0 update hint 2025-10-15 02:21:52 -07:00
Aseem Saxena
80dbdb9101
Update cf-api-tests.yaml 2025-10-14 14:38:31 -07:00
Kevin Turcios
71eac4c97a make the optimizations verbose 2025-10-14 00:28:22 -07:00
Kevin Turcios
675d196e97 sync improvement %s 2025-10-13 23:47:13 -07:00
Kevin Turcios
6aa12b7c6a add needed perms 2025-10-13 23:08:26 -07:00
Kevin Turcios
8a4f9e52eb
fix missing perms for workflows (#1890) 2025-10-13 16:56:56 -07:00
Sarthak Agarwal
9ec5fad850
skip succeed the required workflows (#1881)
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
2025-10-08 14:55:13 -07:00
Kevin Turcios
10868dc5ef Update codeflash-aiservice.yaml 2025-10-01 16:26:29 -07:00
Kevin Turcios
c5ba05e2f0 Update codeflash-aiservice.yaml 2025-10-01 16:25:41 -07:00
Kevin Turcios
1ca0b63ce7 Update codeflash-aiservice.yaml 2025-10-01 16:22:44 -07:00
Kevin Turcios
2988763b85 Update codeflash-aiservice.yaml 2025-10-01 15:56:47 -07:00
Kevin Turcios
57a15a506f add asyncio extras 2025-10-01 15:51:47 -07:00
Kevin Turcios
5646b3da35 allow async optimizations 2025-10-01 15:49:13 -07:00
ali
dcce7e51da
use pull request paths instead 2025-09-17 07:53:55 +03:00
aseembits93
414d75c9fe add anthropic key to ci secrets 2025-09-16 16:42:14 -07:00
ali
9538f58d1c
allow e2e 2025-09-02 15:33:26 +03:00
ali
62c6537b0d
skip required actions 2025-09-02 15:30:54 +03:00
ali
cd0665c99c
temp 2025-09-02 15:26:53 +03:00
ali
c77bd10d1f
try conditional trigger 2025-09-02 15:20:58 +03:00
ali
161a2e9a48
aiservice pull requests workflows 2025-09-02 03:26:38 +03:00
ali
3da711e6e9
Merge branch 'vsc/build-action' of github.com:codeflash-ai/codeflash-internal into vsc/build-action 2025-08-30 21:57:47 +03:00
ali
357e99d3bb
install vsce 2025-08-30 21:56:50 +03:00
ali
8e209469e0
use node 20 2025-08-30 21:56:44 +03:00
ali
67d17e1595
vsc build action 2025-08-30 21:56:23 +03:00
ali
6fa981aa2a
build artifact 2025-08-30 21:55:16 +03:00
ali
e8fce628fd
vsc build action on pull request 2025-08-30 21:55:16 +03:00
ali
05b0d9d8c3
vsc build action on pull request 2025-08-30 18:53:05 +03:00
HeshamHM28
1e118ef4e7
Fix: Add HTML templates to deployment zip for Azure App Service (#1717) 2025-07-24 22:57:42 +05:30
Kevin Turcios
da92478d3f use latest. 2025-06-25 01:19:49 -07:00
Kevin Turcios
422da4485c forgot to add black too 2025-06-25 00:53:38 -07:00
Kevin Turcios
b2ca85330f follow uv 2025-06-25 00:26:39 -07:00
Kevin Turcios
bddb1c4eaa uv fixup 2025-06-25 00:23:40 -07:00
aseembits93
3c3291f4fb recalibrating expected improvement with new tests 2025-05-12 13:49:34 -07:00
HeshamHM28
609eb0b80e
Add Missing Node Modules (#1573) 2025-04-30 10:54:11 -07:00
HeshamHM28
21659f8cb1
Fix module not found (#1572) 2025-04-29 16:12:04 -07:00
HeshamHM28
be57d1da4b
Fix private package installation by configuring .npmrc with GitHub token (#1569) 2025-04-29 09:20:32 -07:00
HeshamHM28
8c6cc34b27
Fix CF WebApp Build (#1568) 2025-04-29 14:58:32 +00:00
HeshamHM28
bd1e05fc6c
Deploy cf-webApp workflow (#1566) 2025-04-28 12:05:59 -07:00
Aseem Saxena
0581acc6e8 remove openai in workflow 2025-04-21 15:39:26 -07:00
Aseem Saxena
3e1c5f304a azure secrets for runs 2025-04-21 14:59:32 -07:00
Alvin Ryanputra
ae7be3bc91 minor fix 2025-03-26 13:48:29 -07:00
Sarthak Agarwal
def8c71f4d
fix for ignoring test files from deployment (#1521)
### **PR Type**
- Bug fix



___

### **Description**
- Exclude new '*.test.ts' pattern in tsconfig.

- Prevent test files from compiling.

- Ensure deployment ignores test files.


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>tsconfig.json`</strong><dd><code>Update exclusion array
for test files</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

`js/cf-api/tsconfig.json`

<li>Added "*.test.ts" to exclusion list.<br> <li> Refined test file
exclusion patterns.


</details>


  </td>
  <td><a href=""></a></td>

</tr>
</table></td></tr><tr><td><strong>Additional
files</strong></td><td><table>
<tr>
  <td><strong>tsconfig.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1521/files#diff-3532a852c82c88daeed6b57a35cd52c4a2589c909edc756613d67e280ab9b23e">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-03-21 12:38:31 -07:00
Kevin Turcios
b6de436ca5 Update end-to-end-test-tracer-replay.yaml 2025-03-12 13:54:43 -07:00
davidgirdwood1
d399b07b7e
Hide percentage when it's over 1000 and just show the (x) muliplier number (#1488)
### **User description**
Passing 'speedup_x' through, and using that instead of percentage. (when
percentage is over 1000)


___

### **PR Type**
- Enhancement



___

### **Description**
- Added new parameter `speedup_x` to PR title builders.

- Modified functions to display multiplier when percentage exceeds 1000.

- Updated dependent PR title calls with additional arguments.

- Adjusted tests to verify new title logic.


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>create-pr.ts</strong><dd><code>Update create-pr
endpoint with new speedup_x parameter</code>&nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

js/cf-api/endpoints/create-pr.ts

<li>Added <code>speedup_x</code> argument in buildPrTitle call.<br> <li>
Minor formatting fix (removed extra semicolon).<br> <li> Updated branch
creation message to include additional parameters.


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1488/files#diff-728a794bb81f944ae7db030f5e6ae1c1ba6888aa46e4be6846ebc5bd1ce12c2c">+7/-4</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>suggest-pr-changes.ts</strong><dd><code>Update
suggest-pr-changes with new speedup_x parameter</code>&nbsp; &nbsp;
&nbsp; </dd></summary>
<hr>

js/cf-api/endpoints/suggest-pr-changes.ts

<li>Inserted <code>speedup_x</code> parameter in buildDependentPrTitle
call.<br> <li> Adjusted commit message composition.


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1488/files#diff-b4a862986fd70827b8dabcb3157972bd0d5d507cf9c12e5fbf56f24979d073f3">+1/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>create-pr-from-diffcontents.ts</strong><dd><code>Modify
PR creation functions for updated title parameters</code></dd></summary>
<hr>

js/cf-api/github/create-pr-from-diffcontents.ts

<li>Modified buildPrTitle call to include <code>speedup_x</code> and
<code>loop_count</code>.<br> <li> Updated buildDependentPrTitle call
with <code>speedup_x</code>.


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1488/files#diff-b30d5e0c89beb70c0333a025726867aba5db7614911be3c46664bb59d1ab594a">+7/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>pr-changes-utils.ts</strong><dd><code>Update title
building utilities for speedup multiplier logic</code></dd></summary>
<hr>

js/cf-api/github/pr-changes-utils.ts

<li>Added <code>speedup_x</code> parameter to buildPrTitle and
buildDependentPrTitle.<br> <li> Implemented condition to use
<code>speedup_x</code> when percentage > 1000.<br> <li> Refactored title
functions for enhanced clarity.


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1488/files#diff-ac6988771dc3fdb0666757d9bace579f70856f1f383ddd5db264484f1b6016e4">+12/-3</a>&nbsp;
&nbsp; </td>

</tr>
</table></td></tr><tr><td><strong>Tests</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>pr-changes-utils.test.ts</strong><dd><code>Adjust tests
to support new title building parameters</code>&nbsp; &nbsp; &nbsp;
&nbsp; </dd></summary>
<hr>

js/cf-api/github/pr-changes-utils.test.ts

<li>Updated tests for buildPrTitle with additional
<code>speedup_x</code> parameter.<br> <li> Revised expected output
strings in dependent PR title tests.


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1488/files#diff-b724fe01559c8ff46177344dcaa3741bc56bbda2b14ec979558bb7cf6245951a">+5/-5</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-03-11 23:39:10 +00:00
Alvin Ryanputra
3c87ef9a9d fixed a e2e test 2025-03-06 15:17:25 -08:00
Alvin Ryanputra
518249a5a8 fix deployment using uv 2025-03-06 13:49:12 -08:00
Alvin Ryanputra
a969e233e7 fix deployment using uv 2025-03-06 13:34:39 -08:00
Alvin Ryanputra
31780aa470 updated tests to use uv 2025-03-05 12:28:42 -08:00
Alvin Ryanputra
2025647b54 updated tests to use uv 2025-03-05 12:26:31 -08:00
Alvin Ryanputra
0a2977db10 backend uses uv run 2025-03-05 12:08:32 -08:00
Alvin Ryanputra
29e4cd9bb2 add sqlachemy for e2e tests 2025-03-05 11:56:15 -08:00
Alvin Ryanputra
fc7f954ade debugging poetry install 2025-03-05 11:49:10 -08:00
Alvin Ryanputra
eafd4e09ac debugging poetry install 2025-03-05 11:46:47 -08:00
Alvin Ryanputra
546b4804ce aiservice using uv 2025-03-05 10:36:59 -08:00
Alvin Ryanputra
412c357780 try revert back to poetry 2025-03-05 10:26:14 -08:00
Kevin Turcios
36a14a8387 Update end-to-end-test-init-optim.yaml 2025-03-04 17:31:42 -08:00
Kevin Turcios
311e212e0f Update end-to-end-test-init-optim.yaml 2025-03-04 17:30:07 -08:00
Kevin Turcios
78aa3d7134 Update end-to-end-test-init-optim.yaml 2025-03-04 17:18:37 -08:00
Alvin Ryanputra
2cfe1414d5 debugging sqlalchemy install 2025-03-04 17:14:41 -08:00
Alvin Ryanputra
18eb044399 debugging sqlalchemy install 2025-03-04 17:11:23 -08:00
Alvin Ryanputra
dba26fe779 debugging sqlalchemy install 2025-03-04 17:09:27 -08:00
Alvin Ryanputra
f783df269a debugging sqlalchemy install 2025-03-04 17:07:05 -08:00
Alvin Ryanputra
65bbadac40 debugging sqlalchemy install 2025-03-04 17:00:50 -08:00
Alvin Ryanputra
098eed6626 debugging sqlalchemy install 2025-03-04 16:47:08 -08:00
Alvin Ryanputra
268da7eae2 debugging 2025-03-04 16:38:20 -08:00
Alvin Ryanputra
f7e4353250 fixing dir paths 2025-03-04 16:32:38 -08:00
Alvin Ryanputra
48ec36b9eb fixing dir paths 2025-03-04 16:25:14 -08:00
Alvin Ryanputra
2df61f83d5 separate codeflash public repo into another folder. previously it was cloned inside codeflash-internal 2025-03-04 16:16:23 -08:00
Sarthak Agarwal
1cb2051b15
consistency in formatting across ide & js projs (#1499)
### **PR Type**
- Enhancement



___

### **Description**
- Add pre-commit hook integration and formatting commands

- Introduce lint-staged and simple-git-hooks into package scripts

- Update prettier configuration and ignore files for consistency

- Refresh dependency lock files with new tooling entries


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><details><summary>2
files</summary><table>
<tr>
<td><strong>package-lock.json</strong><dd><code>Update dependency lock
with new tooling entries</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-54c17cef859f033fc84a59da2e977235ebc494943710c25d132e310ec500c5ef">+754/-2</a>&nbsp;
</td>

</tr>

<tr>
<td><strong>package-lock.json</strong><dd><code>Refresh package lock
with lint and formatting tools</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-75446c74353509ca0232d6a1350aef075ced8f72bd568e9bafa09cf255683142">+743/-0</a>&nbsp;
</td>

</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>4 files</summary><table>
<tr>
<td><strong>package.json</strong><dd><code>Add formatting, lint and
pre-commit hook scripts</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-4edec169b0f8d3312edaf35b5cc8521fe1edfa163ce174f60eff51906896601f">+34/-17</a>&nbsp;
</td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Introduce formatting commands
and pre-commit hooks</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-53ddfb1f8a02f1231d3d15a2e694ffe1407d2cc01d3e685de5653b67fec571c7">+18/-1</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Integrate pre-commit hook and
formatting configurations</code>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-b0d32af9c2caaba1377ec3e924eb553105cdc86e244018ffc6a866c530523599">+20/-3</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>settings.json</strong><dd><code>Enhance VSCode settings for
auto-format and lint fixes</code>&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-a5de3e5871ffcc383a2294845bd3df25d3eeff6c29ad46e3a396577c413bf357">+13/-1</a>&nbsp;
&nbsp; </td>

</tr>

</table></details></td></tr><tr><td><strong>Documentation</strong></td><td><details><summary>7
files</summary><table>
<tr>
<td><strong>.editorconfig</strong><dd><code>Add consistent editor
settings for file formatting</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5b">+32/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Update prettier config with
extended formatting rules</code>&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-ce5b7ae243151fb6eb3db1799b95d5c50ce2fe5080e8365c7834f81e8a44aade">+10/-4</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Update prettier settings for
consistent code style</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-e169a799a8a22863b844d1c816ebb5798c0bcf8151503b0329bf60a2b3050b03">+10/-4</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierrc</strong><dd><code>Add new prettier configuration
file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-7058ba9d421d7fa280582bcc9a2053e64ec0b2bb700ae46cb7073f295d154713">+10/-0</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Extend ignore rules with
node_modules and dist folders</code>&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-a33307d68affc99ba88b1b79308f622350c8306bdeac2368b70d99ce72a7c8fa">+3/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Add ignore patterns for
node_modules and dist directories</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-8f0741d174231baef1746c1fdb003dc727bb4416e16e99166edc020670861c1d">+2/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>.prettierignore</strong><dd><code>Update ignore file to
include node_modules and dist folders</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-e84a66c182e9d121fc156f4b50d606f385b591ed493f8c284628451d58907875">+2/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>1 files</summary><table>
<tr>
  <td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash-internal/pull/1499/files#diff-0214c85d1717ad8b736e0296bb8cbf50db2aed068f31316d3c39904824a14f8e">+1026/-52</a></td>

</tr>
</table></details></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-03-04 23:52:45 +00:00
Kevin Turcios
8933d58f59 Merge remote-tracking branch 'origin/main' into CF-486b 2025-02-25 14:51:49 -08:00
Alvin Ryanputra
0167c0fbe1 Merge remote-tracking branch 'origin/e2e-test-with-split-repo' into e2e-test-with-split-repo 2025-02-25 14:20:07 -08:00
Alvin Ryanputra
861b8563a2 removed cli mypy 2025-02-25 14:19:39 -08:00
Alvin Ryanputra
d0060002a4
Merge branch 'main' into e2e-test-with-split-repo 2025-02-26 06:10:51 +08:00
Kevin Turcios
efdf38d12d Update codeflash-aiservice.yaml 2025-02-24 17:55:51 -08:00
Kevin Turcios
d5d2c2f7df remove unneeded GHA 2025-02-24 17:52:47 -08:00
Alvin Ryanputra
f6ba51a1c9 modified all end to end tests 2025-02-13 15:02:58 +08:00
Alvin Ryanputra
d176ab6f63 clone public repo to test 2025-02-13 14:56:23 +08:00
Saurabh Misra
fcdc37c469 move docs to public 2025-02-13 01:26:20 -05:00
Saurabh Misra
e8cda4e923 add the new submodule at cli 2025-02-13 01:13:30 -05:00
Kevin Turcios
c50cb228fa Revert "experiment"
This reverts commit a5adbbcaaa.
2025-02-11 09:07:02 -05:00
Kevin Turcios
a5adbbcaaa experiment 2025-02-11 09:06:21 -05:00
Kevin Turcios
d547b6ad7e Revert "Update codeflash-optimize.yaml"
This reverts commit ab3936b81b.
2025-02-11 08:15:34 -05:00
Kevin Turcios
ab3936b81b Update codeflash-optimize.yaml 2025-02-11 08:12:35 -05:00
Kevin Turcios
0da411d733 use UV. 2025-02-11 00:09:26 -05:00
Kevin Turcios
401e1662cf
Merge branch 'main' into cli_ver_check_main 2025-02-05 18:27:47 -05:00
Kevin Turcios
4d058fd1a7 min version check
add .txt file
Update cfapi.py
don't break older versions

fix mypy

messed order

make mypy happy

Update end-to-end-test-coverage.yaml

start server

Update cfapi.py
2025-02-05 18:25:58 -05:00
Alvin Ryanputra
654a999072 Merge branch 'refs/heads/main' into init_caching
# Conflicts:
#	cli/codeflash/optimization/optimizer.py
2025-02-03 14:25:12 +08:00
Alvin Ryanputra
5e27bcfcb3 end to end init optimization test 2025-02-03 14:07:02 +08:00
Sarthak Agarwal
1809b3edaa
Es module errors fix (#1444)
- **build fix**
- **fix for multiple errors with ESmodule**


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Streamlined the continuous integration process with improved
dependency caching, a new build step, and updated configuration for a
more reliable release flow.
- Modernized TypeScript settings to enhance module handling and overall
build consistency.

- **Tests**
- Updated test configurations for improved ECMAScript module support and
more precise test discovery.
- Introduced new commands for executing tests, watching test changes,
linting, and type checking to boost quality assurance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-01 11:42:37 +00:00
Saurabh Misra
721091c900 fix breaking continuous deploys by upgrading from deprecated ones 2025-01-31 15:50:14 -08:00
Kevin Turcios
074e251246 update codiumagent to qodo 2025-01-24 17:28:42 -05:00
Kevin Turcios
2acd51b52e Update cf-api-tests.yaml 2025-01-06 19:35:08 -05:00
Kevin Turcios
e6f45306ba fix path 2025-01-06 19:33:16 -05:00
Kevin Turcios
44537c4ab8 test GHA 2025-01-06 18:52:16 -05:00
Saurabh Misra
47ff3ada3c fix 2024-12-31 12:26:12 -08:00
Saurabh Misra
52667b0eb6 fix the env vars 2024-12-31 12:09:32 -08:00
Saurabh Misra
72828a0987 Use local aiservice 2024-12-31 12:04:46 -08:00
Saurabh Misra
6b39923939 cleanup 2024-12-20 13:37:16 -08:00
Saurabh Misra
e2cea11154 remove unnecessary things 2024-12-20 13:36:39 -08:00
Alvin Ryanputra
1acb5c2848 added env variables 2024-12-19 14:42:16 -08:00
Alvin Ryanputra
a4f0dcb8a7 trying the changes again 2024-12-19 14:41:00 -08:00
Alvin Ryanputra
ff78b1374e revert to previous version to see if end-to-end bubblesort-pytest-no-git works 2024-12-19 14:37:16 -08:00
Alvin Ryanputra
72b49c50ff minor fixes 2024-12-19 14:04:44 -08:00
Alvin Ryanputra
30bf7e1af9 added CODEFLASH_AIS_SERVER: local 2024-12-19 11:44:55 -08:00
Alvin Ryanputra
692377a349 logs not captured properly 2024-12-19 11:36:34 -08:00
Alvin Ryanputra
b568b00ece logs not captured properly 2024-12-19 11:26:07 -08:00
Alvin Ryanputra
52baa127ff logs not captured properly 2024-12-19 11:12:40 -08:00
Alvin Ryanputra
a0ee530b6c end to end tests now run with local aiserver 2024-12-19 10:43:35 -08:00
Alvin Ryanputra
7bcda28bc7 end to end changes 2024-12-19 10:22:07 -08:00
Alvin Ryanputra
7713fcdd6d added black install for github workflow, since my-best-repo is configured to use it here 2024-12-18 16:55:05 -08:00
Alvin Ryanputra
184b567df0 added black install for github workflow, since my-best-repo is configured to use it here 2024-12-18 16:50:18 -08:00
Alvin Ryanputra
6252fbe372 fixes 2024-12-18 16:20:02 -08:00
Alvin Ryanputra
001bd3f729 api key issue 2024-12-18 16:13:36 -08:00
Alvin Ryanputra
951248b55a see logs 2024-12-18 16:10:09 -08:00
Alvin Ryanputra
306dc760c2 see logs 2024-12-18 16:01:31 -08:00
Alvin Ryanputra
91e65a8154 fixes 2024-12-18 15:52:42 -08:00
Alvin Ryanputra
ed47fe0130 fixes 2024-12-18 15:50:00 -08:00
Alvin Ryanputra
e627c95643 env variable 2024-12-18 15:46:14 -08:00
Alvin Ryanputra
1594f13b61 fixes 2024-12-18 15:45:12 -08:00
Alvin Ryanputra
e591b835d9 fixes 2024-12-18 15:42:16 -08:00
Alvin Ryanputra
e898ab36bb fixes 2024-12-18 15:40:36 -08:00
Alvin Ryanputra
ae7813f7c5 fixes 2024-12-18 15:28:20 -08:00
Alvin Ryanputra
ad201b7aa5 end to end test that spins up a local aiserver 2024-12-18 15:24:19 -08:00
Saurabh Misra
d37999da57 fix unit tests 2024-12-09 12:30:39 -08:00
Saurabh Misra
625349fdd5 fix unit tests 2024-12-09 12:26:40 -08:00
Saurabh Misra
09d28b3803 add codecov integration 2024-12-09 12:17:16 -08:00
Saurabh Misra
063417f971 Try out if we should cancel previous workflows when new commits are added to a PR 2024-12-06 11:57:59 -08:00
Alvin Ryanputra
d33fbec85e removed pytest, only have pytest-no-git instead 2024-11-26 19:21:06 -05:00
Alvin Ryanputra
8fa0980a94 Merge branch 'main' into cli_set_remote
# Conflicts:
#	cli/codeflash/optimization/optimizer.py
#	cli/codeflash/result/create_pr.py
2024-11-26 19:17:57 -05:00
Sarthak Agarwal
3c3e16d657
Retry added to E2E tests GA workflows (#1272)
### **User description**
For more granular control and visibility added retries in py code and we
can run test it in local as well with retries default values
Other option was: https://github.com/marketplace/actions/retry-step
(Suggested by @KRRT7)
closes
https://linear.app/codeflash-ai/issue/CF-446/retry-logic-for-e2e-tests-when-we-raise-a-pr


___

### **PR Type**
enhancement, tests


___

### **Description**
- Added retry logic to end-to-end test scripts with configurable retry
count and delay.
- Replaced assertions with error handling and detailed error messages
for better reliability.
- Enhanced test output to provide clearer information on test success
and failure.
- Updated GitHub workflows to include environment variables for retry
configuration.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>5
files</summary><table>
<tr>
  <td>
    <details>

<summary><strong>end_to_end_test_bubblesort_pytest.py</strong><dd><code>Add
retry logic and improve test output handling</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

cli/tests/scripts/end_to_end_test_bubblesort_pytest.py

<li>Added retry logic with configurable retries and delay.<br> <li>
Replaced assertions with conditional checks and error messages.<br> <li>
Improved test output with detailed success and failure messages.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-1675bebf1c1271349eaf2d4857bcb485174ca072b5e7134b145dfc09f22eaf56">+54/-8</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end_to_end_test_bubblesort_unittest.py</strong><dd><code>Implement
retry and enhance test output clarity</code>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

cli/tests/scripts/end_to_end_test_bubblesort_unittest.py

<li>Implemented retry mechanism with environment variable
configuration.<br> <li> Replaced assertions with error handling and
messages.<br> <li> Enhanced test output for better clarity on success
and failure.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-a8b1dd57a38145173741c89fd14c4afa4be3109cdf5cef7bb22eb6f728fe6b83">+53/-9</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end_to_end_test_futurehouse.py</strong><dd><code>Introduce
retry logic and improve test robustness</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

cli/tests/scripts/end_to_end_test_futurehouse.py

<li>Introduced retry logic with configurable parameters.<br> <li>
Replaced assertions with error handling for robustness.<br> <li>
Improved test output for better understanding of results.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-2889d481bb756712ba25d95e2798b806a58af3a45be003fcddfc016b3d6a6b89">+58/-8</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end_to_end_test_topological_sort.py</strong><dd><code>Add
retry functionality and enhance test reporting</code>&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

cli/tests/scripts/end_to_end_test_topological_sort.py

<li>Added retry functionality with environment-based configuration.<br>
<li> Replaced assertions with error handling and detailed messages.<br>
<li> Enhanced test output for clearer success and failure reporting.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-ea4663c419298d6a5acfba94786b47dc1d76559e41f21a5b33de98cfe6566548">+60/-8</a>&nbsp;
&nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end_to_end_test_tracer_replay.py</strong><dd><code>Implement
retry logic and improve test reliability</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

cli/tests/scripts/end_to_end_test_tracer_replay.py

<li>Implemented retry logic with configurable settings.<br> <li>
Replaced assertions with error handling for better reliability.<br> <li>
Improved test output with detailed success and failure information.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-3adb754bd59c9beebe81442cfb3ed44e0dc7a7bc0e14aae8aaeb992dccac9332">+96/-18</a>&nbsp;
</td>

</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>5 files</summary><table>
<tr>
  <td>
    <details>

<summary><strong>end-to-end-test-bubblesort-pytest.yaml</strong><dd><code>Add
retry configuration to workflow environment</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/end-to-end-test-bubblesort-pytest.yaml

- Added environment variables for retry configuration.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-79775fd6b8be8d2c29f2c987c7f3f4da878f6d7467e3a3d747956894eef3dbce">+3/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end-to-end-test-bubblesort-unittest.yaml</strong><dd><code>Add
retry configuration to workflow environment</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/end-to-end-test-bubblesort-unittest.yaml

- Added environment variables for retry configuration.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-ee3e66aeadc077685724416e9467644000bbe0fdecb9de78241108f1ead99748">+3/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>end-to-end-test-futurehouse.yaml</strong><dd><code>Add
retry configuration to workflow environment</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/end-to-end-test-futurehouse.yaml

- Added environment variables for retry configuration.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-d35294f75444f6d79a6ddbf93675acf536421d17f0559394f9d49204b3babd4f">+3/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end-to-end-test-tracer-replay.yaml</strong><dd><code>Add
retry configuration to workflow environment</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/end-to-end-test-tracer-replay.yaml

- Added environment variables for retry configuration.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-aec3cad0d643ebd26b78fcbfc354da3d1e038094b9c59aec63aaea11d8f98512">+3/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>

<summary><strong>end-to-end-topological-sort-test.yaml</strong><dd><code>Add
retry configuration to workflow environment</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/end-to-end-topological-sort-test.yaml

- Added environment variables for retry configuration.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1272/files#diff-4849e6ce52485e16172b94ab16ff286274266e4251718044a50fa413a284a243">+3/-0</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2024-11-26 22:42:43 +00:00
Alvin Ryanputra
5461c86482 try if echo y is needed 2024-11-25 18:15:39 -05:00
Alvin Ryanputra
ac5a4f19d1 fixed workflow command 2024-11-25 18:08:01 -05:00
Alvin Ryanputra
113ef3e465 rearrange ./cli to ensure .git is removed 2024-11-25 18:05:58 -05:00
Alvin Ryanputra
b310d8ab94 rearrange ./cli to ensure .git is removed 2024-11-25 18:03:31 -05:00
Alvin Ryanputra
b2356639f7 check if .git is removed 2024-11-25 17:54:04 -05:00
Alvin Ryanputra
5c77467f92 modified workflow name 2024-11-25 17:47:28 -05:00
Alvin Ryanputra
f7deb89fa3 added one more workflow for a folder with no .git 2024-11-25 17:41:44 -05:00
Alvin Ryanputra
09bc1284ca added git_remote option, fixed pyproject default option bug, attempting e2e workflow with no git 2024-11-25 17:07:21 -05:00