Commit graph

45 commits

Author SHA1 Message Date
Kevin Turcios
d7a8b8f227
perf: fix CI build + lazy-load heavy libs + parallelize DB queries (#2601)
## Summary
- **Fix CI build failure**: Auth0Client crashes during Next.js
prerendering when env vars aren't set. Returns a no-op stub (`getSession
→ null`) when domain is missing — semantically correct for static
generation
- **Lazy-load markdown libs (~260kb)**: ReactMarkdown, remarkGfm, and
react-syntax-highlighter were eagerly imported in monaco-diff-viewer but
only rendered when user expands "Generated Tests". Extracted into a
dynamic component
- **Parallelize repo detail query**: `getRepositoryById` ran the
activity count sequentially after the repo lookup. Since `repoId` is
already available, all three queries now run in parallel

## Test plan
- [ ] CI `build` check passes (was failing since #2598)
- [ ] Trace page still renders generated tests correctly when expanded
- [ ] Repository detail page loads correctly with activity status
2026-04-13 11:03:05 -05:00
Sarthak Agarwal
55f0a8b60a
Restoring the ordering of webhook before parsing json (#2389)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2026-02-10 04:06:35 +05:30
Sarthak Agarwal
899db4ed56
Fix logging msg on webhook and misc (#2387) 2026-02-10 02:52:10 +05:30
HeshamHM28
f909642ce1
feat: Add Line Profiler visualization to webapp (#2268)
## Summary
Adds a line-by-line performance profiler visualization to the webapp,
allowing users to compare execution times between original and optimized
code.

  ## Changes

  ### New Line Profiler View
- **`LineProfilerView.tsx`**: Side-by-side comparison component showing:
    - Line-by-line execution times with heat map visualization
    - Syntax highlighting using `prism-react-renderer`
    - Collapsible function blocks
    - Light/dark mode support
    - Heat legend (cold → hot based on % time)

- **`lineProfilerParser.ts`**: Parser utilities for line profiler data:
- `parseLineProfilerResults()` - parses markdown table output from
Python's line_profiler
- `formatTime()` - converts timer units to human-readable format (ns,
µs, ms, s)
    - `getHeatLevel()` - determines heat coloring based on % time

- **`/review-optimizations/[traceId]/profiler/page.tsx`**: New route for
the profiler view

  ### API Changes
- **`create-pr.ts`**: Adds "📊 Performance Profile" link to PR
description when profiler data exists
- **`github-app.ts`**: Removes line profiler data from metadata when PR
is closed/merged
- **`create-staging.ts`**, **`suggest-pr-changes.ts`**: Handle line
profiler data in staging
- **`staging-storage-strategy.ts`**: Interface updates for line profiler
fields

  ### Webapp Integration
- **`page.tsx`**: Added "Performance Profile" button (only visible when
profiler data exists)
- **`action.ts`**: Sends line profiler data when creating PR from webapp
  Fixes CF-1018
  


https://codeflash-ai.slack.com/files/U08MSR1UN6L/F0A9YVDJY75/screen_recording_2026-01-21_at_10.03.18___pm.mov
https://github.com/HeshamHM28/my-best-repo/pull/21

linked to https://github.com/codeflash-ai/codeflash/pull/1139

---------

Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2026-01-28 08:36:54 -08:00
HeshamHM28
8cdfaa9e38
chore: Remove codeflash comment over a PR (#2238)
Fixes cf-1001
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2026-01-13 22:14:11 +05:30
HeshamHM28
40a8d2e3cc
chore: update reaction handling to use "+1" instead of "confused" (#2232)
# Pull Request Checklist

## Description
- [ ] **Description of PR**: Clear and concise description of what this
PR accomplishes
- [ ] **Breaking Changes**: Document any breaking changes (if
applicable)
- [ ] **Related Issues**: Link to any related issues or tickets

## Testing
- [ ] **Test cases Attached**: All relevant test cases have been
added/updated
- [ ] **Manual Testing**: Manual testing completed for the changes

## Monitoring & Debugging
- [ ] **Logging in place**: Appropriate logging has been added for
debugging user issues
- [ ] **Sentry will be able to catch errors**: Error handling ensures
Sentry can capture and report errors
- [ ] **Avoid Dev based/Prisma logging**: No development-only or
Prisma-specific logging in production code

## Configuration
- [ ] **Env variables newly added**: Any new environment variables are
documented in .env.example file or mentioned in description
---

## Additional Notes
<!-- Add any additional context, screenshots, or notes for reviewers
here -->
2026-01-13 01:45:27 +02:00
HeshamHM28
28f18ef32f fix: improve feedback handling by using SELECT FOR UPDATE to prevent race conditions 2026-01-13 01:00:39 +02:00
HeshamHM28
06a2b4fb3b fix: optimize feedback storage in optimization events using raw SQL 2026-01-13 00:53:14 +02:00
HeshamHM28
97f380bc10
Update js/cf-api/github/github-app.ts
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2026-01-12 14:37:53 -08:00
HeshamHM28
d55c03f52d
Merge branch 'main' into feat/github-feedback 2026-01-08 09:16:31 -08:00
Mohamed Ashraf
568b70a609 add telemetry flag to be disabled in dev 2025-12-31 02:29:06 +02:00
HeshamHM28
6bdf819c7d refactor: streamline logging for optimization event lookup and remove debug queries 2025-12-26 13:58:52 +02:00
HeshamHM28
5b0f11d6a5 feat: add feedback storage to optimization events and update schema 2025-12-26 13:52:03 +02:00
HeshamHM28
6535c87681 feat: add feedback processing for PR comments and reactions 2025-12-26 13:34:20 +02:00
mashraf-222
9c62784271
Revert secret setup for github workflow (#2111)
# Remove automatic secret setup from GitHub Actions workflow
installation

This PR removes the automatic repository secret setup functionality from
the GitHub Actions workflow installation process.

## Changes

- **Removed automatic secret setup**: The `setup-github-actions`
endpoint no longer automatically creates the `CODEFLASH_API_KEY`
repository secret. Users will need to manually add this secret in their
repository settings if needed.
- **Removed unused endpoint**: Deleted the `check-workflow-file-exists`
endpoint that was not being used anymore.
- **Updated permissions documentation**: Removed `secrets: write` from
the required GitHub App permissions since it's no longer needed.
- **Improved error messages**: Added installation URL to 403 error
responses to help users install the GitHub App when needed.
2025-12-18 16:04:41 +05:30
Saurabh Misra
7c1933180a
local setup (#1898)
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
Co-authored-by: Mohamed Ashraf <mohamedashrraf222@gmail.com>
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2025-11-17 12:35:09 -08:00
HeshamHM28
b1584a5d12
[Feat] Organization (#1888)
## Organization Feature

This PR introduces a new **Organization** feature that allows users to:
- Create organizations and add members  
- Manage repositories within organizations  
- Allow organization members to access and view shared repository data  

---

##  How to Test

### 1. Setup
- Apply the latest **database migrations**.  
- Build the **common** package, then **pack** and **install** it in
both:
  - `cf-webapp`
  - `cf-api`

### 2. Create an Organization
- You can create an organization **manually** in the database, **or**
- Use the **GitHub webhook** to add it automatically.

### 3. Test Scenarios
Prepare the following:
- **Two users:**
  - **User A** – has access to the organization and its repositories.
  - **User B** – a regular user.
- **Two repositories:**
  - One under the **organization**.
  - One under **User A’s personal account**.

### 4. Verification Steps
1. Log in to **cf-webapp** as **User A**.  
2. Confirm both the **personal account** and **organization** appear.  
3. Try optimizing code and ensure **statistics** display correctly.  
4. Switch between **personal** and **organization** accounts to verify
data accuracy.
5. From the **personal account**:
   - Open a specific repository.  
   - Add a new member by **GitHub username**.  
   - Log in as that member (**User B**) and verify access.  
6. From the **organization**:
   - Add members to the organization by **GitHub username**.  
- Log in as the added member and confirm they have access to
organization repositories.
- Update the member’s **role** and ensure changes are applied correctly.

---

---------

Co-authored-by: ali <mohammed18200118@gmail.com>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-10-29 13:05:40 -07:00
HeshamHM28
6f5c2d7ad8
Implement Tests for CF-API Flow (#1634)
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-06-25 03:36:26 +05:30
HeshamHM28
4501e671a0
Handling Missing User in Database When Saving repo_member (#1618)
When a new installation happens in a repo, we save the repo in the
database and link it with the sender. The problem is that the sender is
not in the database, so we upsert the sender to ensure they are added. I
also added a new role to identify the sender’s role
2025-06-05 21:38:51 +00:00
Sarthak Agarwal
d84efabc1a
default path prefix fix for middleware (#1616) 2025-05-30 03:30:13 +05:30
Sarthak Agarwal
c1716950aa
saga4/fix issue with payload empty (#1613)
- **fix payload empty error**
- **revert to github main app**
2025-05-29 20:40:48 +05:30
Sarthak Agarwal
8e7af6656f
fix payload empty error (#1612) 2025-05-29 20:04:57 +05:30
HeshamHM28
4fb9e84e41
Add logging for repositories_added webhook (#1610) 2025-05-29 04:15:10 -07:00
HeshamHM28
b09b74e02b
Dashboard (#1596)
Co-authored-by: Saga4 <sarthak.saga@gmail.com>
2025-05-27 19:04:13 +05:30
Sarthak Agarwal
fafdc2ba12
octokit middleware fix (#1604) 2025-05-22 02:35:05 +05:30
Sarthak Agarwal
3c520ad236
saga4/github webhook 401 issue (#1603)
- **upgrade package**
- **update packages**
- **update size of payload**
2025-05-21 08:07:44 +05:30
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
davidgirdwood1
9e7ec0fdee misc 2025-02-20 21:22:40 -08:00
davidgirdwood1
c24b9ba295 CF-486b
test
2025-02-20 21:18:55 -08: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>&nbsp;
</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>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-53ddfb1f8a02f1231d3d15a2e694ffe1407d2cc01d3e685de5653b67fec571c7">+5/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma dependencies
and added migration scripts</code>&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/codeflash-ai/codeflash/pull/1417/files#diff-4edec169b0f8d3312edaf35b5cc8521fe1edfa163ce174f60eff51906896601f">+5/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>package.json</strong><dd><code>Updated Prisma
dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &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/pull/1417/files#diff-b0d32af9c2caaba1377ec3e924eb553105cdc86e244018ffc6a866c530523599">+2/-2</a>&nbsp;
&nbsp; &nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; &nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; &nbsp; </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>&nbsp;
&nbsp; &nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; &nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; </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>&nbsp;
&nbsp; &nbsp; </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>&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

---------

Co-authored-by: Kevin Turcios <turcioskevinr@gmail.com>
2025-01-24 01:16:41 +00:00
Kevin Turcios
632ef8a862 apply review suggestions 2025-01-06 16:53:24 -05:00
Kevin Turcios
47cf5c3c30 relax regex
found during insomnia testing

refactor existing optimizations

Update verify-existing-optimizations.ts
2025-01-06 09:11:24 -05:00
afik.cohen
84e249eef6 Log marketplace purchase events 2024-06-02 22:49:37 -07:00
afik.cohen
87e036a265 Fix imports, they work now, also bump sentry/express 2024-04-04 15:42:13 -07:00
afik.cohen
032dbf2f8f Add owner and repo logging to pr merged events 2024-03-26 19:49:58 -07:00
afik.cohen
1ee189c473 Capture github app exceptions with sentry 2024-03-25 14:16:33 -07:00
afik.cohen
9dc3f91a92 Fix standalone pr branch name regex 2024-03-25 13:59:20 -07:00
afik.cohen
d3f2026fff Better comments when suggestions are merged 2024-02-29 16:26:14 -08:00
afik.cohen
62022b340f Fix CFAPI acceptance logging and PR comments 2024-02-29 16:07:15 -08:00
afik.cohen
c22fa54b8c Fix CF-91 - say "none found" if there are no existing tests found, and elide inspired unit tests. 2024-02-20 16:49:59 -08:00
afik.cohen
43b102462d Comment and log when codeflash review suggestions are accepted. 2024-02-05 17:36:13 -08:00
afik.cohen
29f6529681 Comment and log when codeflash PRs are accepted 2024-02-05 16:59:29 -08:00
afik.cohen
21e93239c9 Add posthog analytics, implement dev github app and get vars for it from the environment. 2024-01-18 17:23:49 -08:00
afik.cohen
8e061eaa64 Delete branches associated with closed prs 2024-01-04 20:09:34 -08:00
afik.cohen
76f78dec83 Merge comment formatting functionality into single endpoint suggest-pr-changes and simplify. Also show headers in comment linking to dependent PR. 2023-12-19 15:14:45 -08:00
Renamed from js/cf-api/github-app.ts (Browse further)