Commit graph

6124 commits

Author SHA1 Message Date
Kevin Turcios
d20c49ada1
CF-991 improve exception reporting for the aiservice (#2223)
# 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 -->

---------

Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
2026-01-12 20:18:00 -05:00
Aseem Saxena
cc9a59bcfa
Merge pull request #2202 from codeflash-ai/gpu-sync-instrumentation
Non-CPU instrumentation for generated tests
2026-01-12 16:17:36 -08:00
aseembits93
7101d9c449 no need to normalize code 2026-01-12 15:59:43 -08:00
Aseem Saxena
29193b55c6
Merge branch 'main' into gpu-sync-instrumentation 2026-01-12 15:48:29 -08:00
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
Aseem Saxena
93c2bba8d3
Merge branch 'main' into gpu-sync-instrumentation 2026-01-12 15:35:32 -08:00
aseembits93
c58618beb5 fix for 3.12.3 2026-01-12 15:34:36 -08:00
HeshamHM28
27404ae091
fix: update @codeflash-ai/common to version 1.0.25 in package.json an… (#2230)
# 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:21:49 +02:00
Aseem Saxena
acb36a898b
Merge branch 'main' into gpu-sync-instrumentation 2026-01-12 15:18:03 -08:00
aseembits93
4ff64cc7e8 existing tests should be fixed now 2026-01-12 15:17:26 -08:00
Aseem Saxena
d8a586cbcf
Merge pull request #2130 from codeflash-ai/feat/github-feedback
feat: Add GitHub feedback collection for PR comments
2026-01-12 15:07:00 -08: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
aseembits93
a6032c2359 need to fix existing tests 2026-01-12 14:44:10 -08:00
HeshamHM28
61cee9eaf5
Merge branch 'main' into feat/github-feedback 2026-01-12 14:38:01 -08: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
aseembits93
bc6a767e41 unrelated ty check fixes 2026-01-12 12:50:56 -08:00
aseembits93
0534e3d3b5 consistent quotes 2026-01-12 12:32:35 -08:00
aseembits93
80fda18800 fix tests 2026-01-12 12:15:16 -08:00
Kevin Turcios
f2f4ea88fa
Merge branch 'main' into gpu-sync-instrumentation 2026-01-10 02:56:27 -05:00
Kevin Turcios
1e1820d27a
feat: add ty type checker to pre-k hooks (#2213)
Adds a local pre-commit hook for ty type checker since there's no
official pre-commit hook available yet (tracked in astral-sh/ty#269).
2026-01-09 22:36:53 -05:00
Aseem Saxena
c2782f3d2a handle submodule imports 2026-01-09 18:46:15 -08:00
Aseem Saxena
e5ad4efd0a double quote to single 2026-01-09 15:45:19 -08:00
Aseem Saxena
282ed2bea0 double quote to single 2026-01-09 15:42:27 -08:00
Aseem Saxena
e8cc522296 prek fix 2026-01-09 15:37:57 -08:00
Aseem Saxena
5379db9c4a
Merge branch 'main' into gpu-sync-instrumentation 2026-01-09 15:32:39 -08:00
Aseem Saxena
2348566f6b working the same as cli with more tests 2026-01-09 15:22:57 -08:00
Aseem Saxena
75bd21d0c2 working the same as cli 2026-01-09 14:48:01 -08:00
Sarthak Agarwal
7bef00afa3
delete the package causing issue (#2220)
Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2026-01-10 01:05:06 +05:30
mashraf-222
021b37e22a
Merge pull request #2219 from codeflash-ai/vsc/raise-min-cli-version
update the min CLI version to be 0.19.1 for windows compatibility
2026-01-09 21:07:12 +02:00
mashraf-222
ec8853d922
Merge branch 'main' into vsc/raise-min-cli-version 2026-01-09 21:03:06 +02:00
Sarthak Agarwal
50fbd275d5
add backward compatibility (#2217)
# 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-10 00:31:11 +05:30
Mohamed Ashraf
1b32e1bb0c update the min CLI version to be 0.19.1 for 2026-01-09 21:00:03 +02:00
Mohamed Ashraf
c7058aaee3 adding buttons for apply changes or raising PR 2026-01-09 20:28:29 +02:00
Mohamed Ashraf
43b6496a8a Implemented a native VSCode diff editor for optimization results 2026-01-09 19:07:03 +02:00
mashraf-222
ceb2d8bc2f
Merge pull request #2215 from codeflash-ai/vsc-fix/abolute-paths-in-edit-config/windows
VSC FIX: absolute paths for edit config
2026-01-09 18:17:05 +02:00
Mohamed Ashraf
b18f876f0f Refactor getRelativePathIfAbsolute to improve path handling 2026-01-09 16:29:42 +02:00
Kevin Turcios
2a3b415fc2
Merge pull request #2211 from codeflash-ai/update-prompts-mini-5
Update prompts for gpt-mini 5
2026-01-09 02:09:46 -05:00
Kevin Turcios
93519bbcbe
Merge branch 'main' into update-prompts-mini-5 2026-01-09 01:56:37 -05:00
Kevin Turcios
21100c3882
Merge pull request #2197 from codeflash-ai/gpt-5-mini
CF-973 upgrade to gpt 5.1 mini
2026-01-09 01:55:11 -05:00
Kevin Turcios
8afe66c376
Merge branch 'main' into gpt-5-mini 2026-01-09 01:37:19 -05:00
Kevin Turcios
a4465bf55e
Merge pull request #2212 from codeflash-ai/fix-crash-in-prod
fix prod crashes
2026-01-09 00:54:29 -05:00
Kevin Turcios
fe039a1502 fix prod crashes 2026-01-09 00:49:55 -05:00
Kevin Turcios
3c8408d73b
Merge branch 'gpt-5-mini' into update-prompts-mini-5 2026-01-09 00:35:39 -05:00
Kevin Turcios
2f7a400b73
Merge branch 'main' into gpt-5-mini 2026-01-09 00:32:11 -05:00
Sarthak Agarwal
8fbe21bffa
fix review prompt v1 (#2124)
Co-authored-by: Kevin Turcios <106575910+KRRT7@users.noreply.github.com>
2026-01-09 10:56:12 +05:30
Kevin Turcios
3449bba20d gpt-5-mini
gpt-5-mini is misinterpreting the template format in execute_user_prompt.md. When it sees:

  # function to test
  {function_code}

  It's outputting a nested code block with markdown path syntax (python:unstructured/staging/label_box.py) instead of the actual function code inline. It never reaches the # unit tests section where it should generate def test_* functions.
2026-01-09 00:10:12 -05:00
Kevin Turcios
c3385c79ba double max_tokens for now 2026-01-09 00:10:12 -05:00
Kevin Turcios
f393c8ce9f refresh here 2026-01-09 00:07:16 -05:00
Kevin Turcios
084af4f34d fix: restore inline prompts in ranker.py
The previous commit deleted the .md files but didn't revert the code
that loads from them, causing FileNotFoundError on server startup.
2026-01-09 00:07:15 -05:00