Commit graph

463 commits

Author SHA1 Message Date
Kevin Turcios
4db99b96a1 Update verify-existing-optimizations.ts 2025-01-02 20:01:24 -05:00
Saurabh Misra
5395cb7ee7 notify with the url 2025-01-02 11:12:30 -08:00
Kevin Turcios
db2d0af07e Update suggest-pr-changes.ts 2024-12-20 14:46:51 -05:00
Kevin Turcios
1bb77bf58f notify langflow updates && modularity 2024-12-19 14:23:47 -05:00
Saurabh Misra
ec2a323d83 Fix the github pr formatting 2024-12-18 13:48:31 -08:00
Saga4
ae73f0bfc8 remove empty line 2024-12-15 01:11:29 +05:30
Saga4
516f2c474d suggested changes end to end test 2024-12-15 01:09:17 +05:30
Saga4
be05ab7a62 suggested changes 2 2024-12-14 04:55:12 +05:30
Saga4
24b949d9f6 change pr description and branch name 2024-12-14 04:11:28 +05:30
Saurabh Misra
b81637fb35 attempt to fix types 2024-12-09 12:04:47 -08:00
Saurabh Misra
01ddeca91d - Add some more details to the docs
- webapp capture one more event and redirect to the getting-started page on first login
2024-12-08 14:12:59 -08:00
Sarthak Agarwal
6eab41b47b
remove failed test count from PR description (#1326)
https://codeflash-ai.slack.com/archives/C06BVLNRVT5/p1733172907804319
2024-12-02 13:49:28 -08:00
Kevin Turcios
fc66018b82 remove debug stuff
create test_file
hello world.
2024-11-26 22:34:53 -05:00
Kevin Turcios
4a2a1fd232 feedback update 2024-11-26 15:51:39 -05:00
Kevin Turcios
cb8a3c8b8c coverage reporting on PR 2024-11-26 15:20:25 -05:00
Kevin Turcios
0418819a73 Update create-pr-from-diffcontents.ts 2024-11-25 14:18:22 -05:00
Sarthak Agarwal
4a252d1fc2
add table for results in pr description (#1268)
closes
https://linear.app/codeflash-ai/issue/CF-459/convert-the-test-results-report-into-a-table-on-pr
### **User description**
Results are like : https://github.com/codeflash-ai/my-best-repo/pull/83
Snapshot: 

![image](https://github.com/user-attachments/assets/ad585f9b-f61b-4abc-9bf7-23ed77c3ee97)


___

### **PR Type**
enhancement, configuration changes


___

### **Description**
- Enhanced the test report generation by converting it to a Markdown
table format, improving readability and organization.
- Added detailed sections for existing and generated tests, providing
more context and information.
- Included a feedback section with a link to join the Discord community
for support and assistance.
- Removed `.npmrc` file containing an authentication token to prevent
potential security issues.



___



### **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-from-diffcontents.ts</strong><dd><code>Enhance
test report with Markdown table and details</code>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

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

<li>Enhanced the test report generation to use a Markdown table
format.<br> <li> Added detailed sections for existing and generated
tests.<br> <li> Included a feedback section with a Discord community
link.<br> <li> Improved the logic for determining test status and
details.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1268/files#diff-b30d5e0c89beb70c0333a025726867aba5db7614911be3c46664bb59d1ab594a">+68/-38</a>&nbsp;
</td>

</tr>
</table></td></tr><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>.npmrc</strong><dd><code>Remove `.npmrc` file with
sensitive token</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

js/cf-webapp/.npmrc

- Removed `.npmrc` file containing authentication token.



</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1268/files#diff-66bf1dec17844289e9c63ad88301f929e539f4474ec98c782fe1b07d29837248">+0/-2</a>&nbsp;
&nbsp; &nbsp; </td>

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

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2024-11-21 20:54:31 -05:00
Kevin Turcios
77bf0a5c3c Merge branch 'main' of https://github.com/codeflash-ai/codeflash into coverage_clean 2024-11-20 21:42:07 -04:00
Saurabh Misra
bb2a008ba1 updates 2024-11-21 03:55:38 +05:30
Alvin Ryanputra
eb820d39c6 Merge remote-tracking branch 'origin/frontend-getstarted' into frontend-getstarted 2024-11-19 19:27:58 -05:00
Alvin Ryanputra
9ddb525d32 fix github token permissions for github actions 2024-11-19 19:27:48 -05:00
Alvin Ryanputra
b9ae2d5e5c
Delete js/cf-webapp/.npmrc 2024-11-19 19:24:14 -05:00
Alvin Ryanputra
26e45d301d fixed dependency 2024-11-19 15:47:09 -05:00
Alvin Ryanputra
1468e25e29 slight change 2024-11-19 15:37:58 -05:00
Alvin Ryanputra
100e67bb5a removed env variable part 2024-11-19 13:56:25 -05:00
Alvin Ryanputra
6792c3a9c4 New getting started page, modified some wording 2024-11-19 11:00:25 -05:00
Kevin Turcios
e9d0fea7eb suggested changes 2024-11-19 01:54:38 -04:00
Kevin Turcios
c0d84c15d8 Merge branch 'main' of https://github.com/codeflash-ai/codeflash into coverage_clean 2024-11-19 01:26:56 -04:00
Kevin Turcios
82b9176bea fix validation
fix tests
nuked exclude accidentally

debug, not info
initial cov
add mbr
revert custom test
separate coverage parsing from test run
cleanup
fix return
2024-11-19 01:23:04 -04:00
Sarthak Agarwal
1768b39bd1
Performance message design suggestion (#1257)
![image](https://github.com/user-attachments/assets/c9071e2a-1d7f-4d6f-a863-28d615648b27)
Contains new (on top) and old design on bottom.


___

### **PR Type**
documentation, enhancement


___

### **Description**
- Revamped the performance message design to improve clarity and user
engagement.
- Added detailed sections highlighting speed increase and runtime
reduction.
- Included a promotional note about the use of `codeflash.ai` for
optimization.



___



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

<summary><strong>optimization_results_header.md</strong><dd><code>Revamp
Performance Message Design for Clarity and
Promotion</code></dd></summary>
<hr>

js/cf-api/github/optimization_results_header.md

<li>Updated the performance message design for clarity.<br> <li> Added
sections for speed increase and runtime reduction.<br> <li> Included a
promotional note about code optimization.<br>


</details>


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

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

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2024-11-15 15:08:54 -08:00
Saurabh Misra
75fa3d0355
Apply suggestions from code review 2024-11-14 16:02:03 -08:00
Saurabh Misra
7655678ded monitor futurehouse PRs 2024-11-14 15:58:34 -08:00
Kevin Turcios
6b867c5c4d PR comment 2024-11-14 10:33:24 -04:00
Kevin Turcios
392b872a14 fix tests & friends 2024-11-11 11:39:30 -05:00
Saurabh Misra
5a7d0ad2e6 some minor webapp build fixes 2024-11-07 23:22:19 -08:00
Saurabh Misra
7b78ab577c add reference to the docs as well 2024-11-06 22:25:15 -08:00
Saurabh Misra
339856166a updates 2024-11-06 22:19:18 -08:00
Sarthak Agarwal
0aade97af4
add exclude sensitive files from package build (#1190)
### **User description**
Adding files to be excluded while building pypi project or avoiding
sensitive files like .env from check in


___

### **PR Type**
enhancement, configuration changes


___

### **Description**
- Added exclusion rules in `pyproject.toml` files to prevent sensitive
and unnecessary files from being included in the package build.
- Excluded files include sensitive files like `.env` and `.pem`,
development files like `.git` and `Dockerfile`, and unnecessary file
types like `*.log` and `*.db`.
- This enhancement improves the security and cleanliness of the package
distribution.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>pyproject.toml</strong><dd><code>Add exclusion rules
for sensitive and unnecessary files</code>&nbsp; &nbsp; </dd></summary>
<hr>

cli/pyproject.toml

<li>Added an <code>exclude</code> section to specify files and
directories to be <br>excluded from the package build.<br> <li> Included
patterns for sensitive files like <code>.env</code>, <code>.pem</code>,
and <code>secrets.*</code>.<br> <li> Excluded common development and
configuration files such as <code>.git</code>,
<br><code>Dockerfile</code>, and <code>.vscode</code>.<br> <li> Excluded
unnecessary file types like <code>*.log</code>, <code>*.tmp</code>, and
<code>*.db</code>.<br>


</details>


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

</tr>                    

<tr>
  <td>
    <details>
<summary><strong>pyproject.toml</strong><dd><code>Add exclusion rules
for sensitive and unnecessary files</code>&nbsp; &nbsp; </dd></summary>
<hr>

django/aiservice/pyproject.toml

<li>Added an <code>exclude</code> section to specify files and
directories to be <br>excluded from the package build.<br> <li> Included
patterns for sensitive files like <code>.env</code>, <code>.pem</code>,
and <code>secrets.*</code>.<br> <li> Excluded common development and
configuration files such as <code>.git</code>,
<br><code>Dockerfile</code>, and <code>.vscode</code>.<br> <li> Excluded
unnecessary file types like <code>*.log</code>, <code>*.tmp</code>, and
<code>*.db</code>.<br>


</details>


  </td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1190/files#diff-1cd1f75beb8e70c006a688caffdd71f14a3babb13cc499ca48f499bd530fca1e">+45/-1</a>&nbsp;
&nbsp; </td>

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

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
2024-11-06 20:44:55 +00:00
KRRT7
84b42aa6cf various improvements
- Refactor cfapi.py to handle error responses from the API and return appropriate messages.
- make the CF-API clearer when returning responses
formatting & ruff

make ruff happy
2024-10-28 18:17:19 -05:00
Saurabh Misra
7aed35f7e9 Show the number of loops we ran when we create a PR 2024-10-10 16:48:11 -07:00
Saga4
d122458703 Passed count check on gen test & env.example file 2024-10-09 05:15:13 +05:30
Saga4
54b7d00e97 Passed count check on gen test & env.example file 2024-10-09 05:15:13 +05:30
Saurabh Misra
07d3862c7d delete npmrc file 2024-09-23 18:18:31 -07:00
Saurabh Misra
1b0b7ff27a add .npmrc back in 2024-09-23 18:09:11 -07:00
Saurabh Misra
a980a7de9f try deleting npmrc 2024-09-23 18:02:51 -07:00
Kevin Turcios
a84370e3c2 better octokit error handling 2024-09-16 10:48:26 -05:00
Kevin Turcios
a1ad90c511 slight cleanup 2024-09-16 10:36:24 -05:00
Kevin Turcios
361be65a93 add verify-existing-optimizations endpoint 2024-09-16 10:19:47 -05:00
Kevin Turcios
98a7d94698 notify slack on airbyte activity from codeflash 2024-09-13 22:12:16 -05:00
Saurabh Misra
68c2d162a6 Add a created_at column for users table 2024-08-16 19:12:37 -07:00