Saurabh Misra
|
f6cbb30b92
|
Merge pull request #1426 from codeflash-ai/improve-github-init-actions
codeflash init now installs github-action + auto detect more github-action config
|
2025-01-25 16:22:24 -08:00 |
|
Saurabh Misra
|
59935fc73b
|
Merge branch 'main' into improve-github-init-actions
|
2025-01-24 19:54:47 -08:00 |
|
Saurabh Misra
|
b5bef6fe12
|
remove commented out code
|
2025-01-24 19:54:17 -08:00 |
|
Saurabh Misra
|
d51f6b6560
|
Automate more of codeflash.yaml github action
|
2025-01-24 19:48:53 -08:00 |
|
Saurabh Misra
|
402ec83b8a
|
checkpoint
|
2025-01-24 16:41:38 -08:00 |
|
Kevin Turcios
|
d3658df17c
|
Merge pull request #1425 from codeflash-ai/increase-test-count-thresshold
increase test count threshold
|
2025-01-24 23:10:16 +00:00 |
|
Kevin Turcios
|
a517df6691
|
update to 4 passing tests
|
2025-01-24 17:49:14 -05:00 |
|
Kevin Turcios
|
074e251246
|
update codiumagent to qodo
|
2025-01-24 17:28:42 -05:00 |
|
Kevin Turcios
|
f370526681
|
Update critic.py
|
2025-01-24 17:23:42 -05:00 |
|
Sarthak Agarwal
|
bcf6644656
|
dedup the prisma.schema file and minor fixes & upgrade on version (#1417)
### **User description**
Closes
https://linear.app/codeflash-ai/issue/CF-511/dedupe-the-js-directory-in-code
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Dependency Updates**
- Updated `@codeflash-ai/common` package version to 1.0.9
- Updated `@prisma/client` and `prisma` dependencies to version 6.2.1
- Added TypeScript dev dependency
- **Package Configuration**
- Updated import paths for common modules
- Added build and clean scripts
- Modified package entry points
- Added transpilation configuration for Next.js
- **Prisma Schema Changes**
- Removed database models for API keys, users, and optimization features
- **Code Refactoring**
- Improved type safety in function signatures
- Updated import statements
- Standardized code formatting
- Enhanced error handling with optional chaining
- **Infrastructure**
- Updated GitHub npm registry authentication token
- Added TypeScript configuration file
- Introduced new README documentation for project setup and usage
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
___
### **PR Type**
Enhancement, Bug fix, Dependencies
___
### **Description**
- Updated Prisma dependencies to version 6.2.1 across multiple packages.
- Added new npm scripts for Prisma migrations and generation.
- Refactored and improved code formatting in `pr-changes-utils.ts`.
- Fixed issues with file path handling in `pr-changes-utils.ts`.
___
### **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>1
files</summary><table>
<tr>
<td><strong>pr-changes-utils.ts</strong><dd><code>Refactored utility
functions and improved code formatting</code></dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-ac6988771dc3fdb0666757d9bace579f70856f1f383ddd5db264484f1b6016e4">+54/-48</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Dependencies</strong></td><td><details><summary>3
files</summary><table>
<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma dependencies
and added migration scripts</code> </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-53ddfb1f8a02f1231d3d15a2e694ffe1407d2cc01d3e685de5653b67fec571c7">+5/-3</a>
</td>
</tr>
<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma dependencies
and added migration scripts</code> </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-4edec169b0f8d3312edaf35b5cc8521fe1edfa163ce174f60eff51906896601f">+5/-3</a>
</td>
</tr>
<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma
dependencies</code>
</dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b0d32af9c2caaba1377ec3e924eb553105cdc86e244018ffc6a866c530523599">+2/-2</a>
</td>
</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>25 files</summary><table>
<tr>
<td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-75446c74353509ca0232d6a1350aef075ced8f72bd568e9bafa09cf255683142">+11667/-0</a></td>
</tr>
<tr>
<td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0214c85d1717ad8b736e0296bb8cbf50db2aed068f31316d3c39904824a14f8e">+15284/-0</a></td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-249a9ce984a8d28465df7c46d14176335a3e3072a09295a2fc6c2a089706ac87">+0/-52</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b65a93e0149b8757f9758bf4447b09c391e6d7f6753e3b8119aeb634bfa1e58a">+0/-35</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0e2d258b7bc4efa2728784ff4979d1db99b19ce569add87f907dc0058e1cdf92">+0/-14</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-0297920ff8b9ca5872f0c23b91af90bb3b1f698c4ce1a6e979bcc57253d1fc14">+0/-19</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-10092bc1fc1cb33292d2de51fa103ead3329f89da4e5263ce7156f9fe058a8ac">+0/-13</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-6a150698bbc2c55fffa7c8203a6baa4ae76800a92dab2af3db4455a979e1efc8">+0/-12</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b861d3b13254809a5d4c2ac173650d832bd5a531070275ed47b0364e7d708002">+0/-3</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-3d975c9205361ffb41d75cbea296f1d5d3c995d7028cb723b84cdbdbaa14d6b6">+0/-10</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-c5e086fcd9e4cb5a31cccf9e021d33a8e5a823b5e9d5cd1f411e69cc954bcf3e">+0/-12</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-29d527d29b192dd7e335033c92797341179428888b151e07fb2a0a25904f900c">+0/-2</a>
</td>
</tr>
<tr>
<td><strong>migration_lock.toml</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-b12ade4703dcaa9647c60141524ec9178f0a8623c93a6792294289720e4f2618">+0/-3</a>
</td>
</tr>
<tr>
<td><strong>package-lock.json</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-54c17cef859f033fc84a59da2e977235ebc494943710c25d132e310ec500c5ef">+1926/-0</a></td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-3ac66eaa7bef6c5be52f465f23c01223d3092570e152a43260261eca73e2cd67">+0/-52</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-13fe21e5b5c119eb53d56a89833335001674d050d1c625ca91261e2aac5ff626">+0/-35</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-8e28adcb61d403ff9e17d0c0fd9189121f3778aea9c8afd0cd33113cbd976aca">+0/-14</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-13b918ec21eabf2dc38d6850ba3ef8fdaf7fc3d76c5a5d62e5131ef5431e6bd2">+0/-19</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-65b00a3a9add469eaeca6a86a4b9b23b4ad1f5bd533c7e4bd65827d6d1e5653a">+0/-13</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-61253604e58cb25b1e7436ccc7a935a58dc91c709e7ca23f7d4ab9001394b49c">+0/-12</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-08f6c4ab5dc1aba11a55931bf07ff68e645185a1c0dce1f71e68704bd823032c">+0/-3</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-40674ec008e93d4ea34a92f20e426bcd958c5b868ccaa4d8ade800ef397fafcc">+0/-10</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-56208f997a8e939f82fad576f18c055589a33811dd7b537632aa0b97935bd3e6">+0/-12</a>
</td>
</tr>
<tr>
<td><strong>migration.sql</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-58ddb0f84b902f4106e1f6921b6538cea46be9ded33b9766d8cb658b7d76331b">+0/-2</a>
</td>
</tr>
<tr>
<td><strong>migration_lock.toml</strong></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-44423d32fecc24a69cc5d2d075987e28b6ab13da9730940621da28c0786b37e0">+0/-3</a>
</td>
</tr>
</table></details></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
---------
Co-authored-by: Kevin Turcios <turcioskevinr@gmail.com>
|
2025-01-24 01:16:41 +00:00 |
|
Kevin Turcios
|
9c83dee4a6
|
Merge pull request #1419 from codeflash-ai/numpy-fixes
numpy imports fix CF-500
|
2025-01-24 00:00:25 +00:00 |
|
Kevin Turcios
|
8ee83085c3
|
add more numpy testing funcs
|
2025-01-23 15:57:08 -05:00 |
|
Kevin Turcios
|
5c91e99602
|
Merge branch 'main' into numpy-fixes
|
2025-01-23 06:55:09 +00:00 |
|
Kevin Turcios
|
76e8ed51b0
|
fix tests
|
2025-01-23 01:52:00 -05:00 |
|
Saurabh Misra
|
f95863daff
|
Merge pull request #1415 from codeflash-ai/init-custom-module-path
Init custom module path
|
2025-01-22 13:51:26 -08:00 |
|
Kevin Turcios
|
6d4b7f4572
|
Merge branch 'main' into init-custom-module-path
|
2025-01-22 21:13:04 +00:00 |
|
Saurabh Misra
|
a38de2913a
|
Merge pull request #1418 from codeflash-ai/docs-how-codeflash-works
Populate How codeflash works docs
|
2025-01-21 22:52:05 -08:00 |
|
Saurabh Misra
|
8df36e1f19
|
Merge branch 'main' into init-custom-module-path
|
2025-01-21 19:49:25 -08:00 |
|
Saurabh Misra
|
8af36cfe48
|
Improve the language
|
2025-01-21 19:48:35 -08:00 |
|
Kevin Turcios
|
79fac7a681
|
err guard
|
2025-01-21 18:07:25 -05:00 |
|
Kevin Turcios
|
a49ff08db4
|
add test
|
2025-01-21 18:06:05 -05:00 |
|
Kevin Turcios
|
14ae3ea26b
|
fix import statement
|
2025-01-21 15:38:30 -05:00 |
|
Kevin Turcios
|
621975afa0
|
numpy fix
|
2025-01-21 14:09:50 -05:00 |
|
Saurabh Misra
|
39d68fa786
|
first version of how codeflash works
|
2025-01-20 20:27:31 -08:00 |
|
Kevin Turcios
|
9ffc304c3c
|
Merge pull request #1375 from codeflash-ai/coverage-updates
pytest + cov fixes
|
2025-01-21 00:48:25 +00:00 |
|
Kevin Turcios
|
e82285ae71
|
revert changes
|
2025-01-20 18:51:52 -05:00 |
|
Kevin Turcios
|
7fb21466b4
|
no subprocess for coverage parsing
|
2025-01-20 08:28:17 -05:00 |
|
Saurabh Misra
|
ded5cf41c4
|
remove line that almost never shows up by leave a strange artifact of "r" sometimes
|
2025-01-16 19:41:16 -08:00 |
|
Saurabh Misra
|
25669615b2
|
Allow custom directory for cmd init
|
2025-01-16 19:34:43 -08:00 |
|
Saurabh Misra
|
c7225336d2
|
Merge pull request #1413 from codeflash-ai/release/v0.9.1
release/v0.9.1
|
2025-01-16 17:17:21 -08:00 |
|
Saurabh Misra
|
588f52c122
|
v0.9.1
|
2025-01-15 15:19:24 -08:00 |
|
Saurabh Misra
|
31b4028ff2
|
Merge pull request #1412 from codeflash-ai/minor-fixes-investigating-langflow
minor improvements when investigating langflow
|
2025-01-15 15:15:28 -08:00 |
|
Saurabh Misra
|
ff907f9690
|
minor improvements
|
2025-01-15 00:35:21 -08:00 |
|
Alvin Ryanputra
|
67cfc86b51
|
Merge pull request #1410 from codeflash-ai/new_db_columns_for_context
added dependency_code to optimization_features
|
2025-01-13 15:38:12 -08:00 |
|
Alvin Ryanputra
|
3f5f34b6c4
|
typing and slight changes
|
2025-01-13 14:44:12 -08:00 |
|
Alvin Ryanputra
|
9948a722d9
|
added dependency_code to optimization_features - we should be logging both readwritable and read only context in our db
|
2025-01-13 14:19:54 -08:00 |
|
Alvin Ryanputra
|
78f71c61d7
|
Merge pull request #1409 from codeflash-ai/print_pytest_error_as_warning
Previously, test discovery errors didn't have any helpful error logs.…
|
2025-01-11 11:09:09 -08:00 |
|
Alvin Ryanputra
|
1aa03a6054
|
Previously, test discovery errors didn't have any helpful error logs. Often, users may simply have small dependency issues. we should surface this as a warning
|
2025-01-10 16:17:36 -08:00 |
|
Alvin Ryanputra
|
a94741bfa2
|
Merge pull request #1408 from codeflash-ai/crosshair_not_found_bug
fixed crosshair not found bug. env issues
|
2025-01-10 14:15:50 -08:00 |
|
Alvin Ryanputra
|
a99412a0bc
|
used existing util function instead
|
2025-01-10 13:59:16 -08:00 |
|
Alvin Ryanputra
|
bc78fa980f
|
fixed crosshair not found bug. env issues
|
2025-01-10 13:50:13 -08:00 |
|
Kevin Turcios
|
d11daa9f7e
|
Merge pull request #1400 from codeflash-ai/verify-existing-optimizations-refactor
|
2025-01-09 23:39:37 -05:00 |
|
Kevin Turcios
|
b96668d1d1
|
Merge branch 'main' into verify-existing-optimizations-refactor
|
2025-01-09 20:17:32 -05:00 |
|
Alvin Ryanputra
|
5954171091
|
Merge pull request #1407 from codeflash-ai/black_debug_aiservice
fixed debug statements spamming the aiservice console
|
2025-01-09 13:08:17 -08:00 |
|
Alvin Ryanputra
|
ea441c92de
|
fixed debug statements spamming the aiservice console from black.format_str
|
2025-01-09 12:02:51 -08:00 |
|
Alvin Ryanputra
|
7e1df89693
|
Merge pull request #1379 from codeflash-ai/helper_of_helper_context
added helpers of helpers into readonly context [CF-487]
|
2025-01-09 11:20:15 -08:00 |
|
Alvin Ryanputra
|
169af62653
|
Merge branch 'main' into helper_of_helper_context
|
2025-01-09 10:22:41 -08:00 |
|
Alvin Ryanputra
|
2593110b53
|
fixed duplicate function additions. Now, each file will only be accessed once when doing code replacement.
|
2025-01-09 10:16:15 -08:00 |
|
Kevin Turcios
|
bd27c163be
|
Merge pull request #1406 from codeflash-ai/converage-filenotexists-fix
fix a coverage file not found crash
|
2025-01-08 20:19:41 -05:00 |
|
Saurabh Misra
|
62674eda94
|
fix a crash
|
2025-01-08 16:56:12 -08:00 |
|