Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
6187eb1
before implementation
misrasaurabh1 Jan 15, 2026
4e1b5cf
Initial attempt at phase 1
misrasaurabh1 Jan 15, 2026
74c4035
WIP JS support
misrasaurabh1 Jan 15, 2026
7950915
wip e2e
misrasaurabh1 Jan 15, 2026
845dbaf
[WIP] E2E test instrumentation
Saga4 Jan 15, 2026
30eb552
wip instrumentation and execution
misrasaurabh1 Jan 15, 2026
da51284
perf instrumentation as well
misrasaurabh1 Jan 15, 2026
fa6d8b9
add a comparator
misrasaurabh1 Jan 15, 2026
975240e
serdes and instrumentation work
misrasaurabh1 Jan 15, 2026
cb82b28
progress
misrasaurabh1 Jan 15, 2026
2386a54
checkpoint
misrasaurabh1 Jan 15, 2026
8a9758d
checkpoint
misrasaurabh1 Jan 15, 2026
5b7f029
checkpoint
misrasaurabh1 Jan 16, 2026
3a96f0a
checkpoint
misrasaurabh1 Jan 16, 2026
3134a9f
First e2e working version js optimizer!!
misrasaurabh1 Jan 16, 2026
f7cca72
jest looper
misrasaurabh1 Jan 16, 2026
39d3140
test discovery tests
misrasaurabh1 Jan 16, 2026
7bcc02a
fixes and refactor
misrasaurabh1 Jan 16, 2026
5463287
missed a file
misrasaurabh1 Jan 16, 2026
6d3a519
E2E fixes on sqlite and test runner
Saga4 Jan 16, 2026
53e0c71
revert changes for fallback on perf test
Saga4 Jan 16, 2026
8821d73
Make it better and work again e2e
misrasaurabh1 Jan 16, 2026
4e39408
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 16, 2026
c3aa129
fixes
mohammedahmed18 Jan 16, 2026
6c0d4c3
fixes
mohammedahmed18 Jan 16, 2026
3475f22
js scripts
mohammedahmed18 Jan 16, 2026
c4089f6
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 16, 2026
d7186b2
function discovery tests
misrasaurabh1 Jan 16, 2026
ced33c6
getting repair to work, keep single source of truth for js helper scr…
mohammedahmed18 Jan 16, 2026
df529b5
line profiler experiments
misrasaurabh1 Jan 16, 2026
7215c2b
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 16, 2026
75f50c3
Merge branch 'main' into multi-language
Saga4 Jan 17, 2026
8782c3b
add anotations to generated tests[WIP]
Saga4 Jan 17, 2026
a4ff728
refactoring and abstraction
mohammedahmed18 Jan 17, 2026
746e6ff
enhancements (working e2e)
mohammedahmed18 Jan 17, 2026
934bbd8
fix a typo
mohammedahmed18 Jan 18, 2026
8317fbd
Merge branch 'main' of github.com:codeflash-ai/codeflash into multi-l…
mohammedahmed18 Jan 18, 2026
948dd14
handle the test resukt id abs path correctly
mohammedahmed18 Jan 18, 2026
8c97acf
ts support tests addition
Saga4 Jan 19, 2026
7dd12a3
fix bug on language detection, remove hardcoded lang
Saga4 Jan 19, 2026
9be6795
fix E2E ts support
Saga4 Jan 19, 2026
b10075f
line_profiling_changes
Saga4 Jan 19, 2026
2f1c9fe
doc_changes_init
Saga4 Jan 19, 2026
2d6f06f
get the correct results from js line profiler
mohammedahmed18 Jan 20, 2026
19c31e5
abstract line profiler instrumentation and parsing into the language …
mohammedahmed18 Jan 20, 2026
8a869bd
multi-file context support for js/ts
mohammedahmed18 Jan 20, 2026
0397459
jsdoc
mohammedahmed18 Jan 20, 2026
2d27e47
more comprehensive comparator
aseembits93 Jan 20, 2026
cc5e517
pruning a bit
aseembits93 Jan 20, 2026
a1ef169
Merge pull request #1128 from codeflash-ai/better-comparator-js
aseembits93 Jan 20, 2026
29e0e19
add refinement and cleanup
Saga4 Jan 20, 2026
f034f8f
fix context top-level definition extraction and replacement & handle …
mohammedahmed18 Jan 21, 2026
9958735
error handling and node path in comparator
Saga4 Jan 21, 2026
e823d06
Merge branch 'main' into multi-language
Saga4 Jan 21, 2026
1a0e924
fix existing tests in the PR
Saga4 Jan 21, 2026
ef2ef1a
remove capture perf looped
mohammedahmed18 Jan 21, 2026
ab33007
Adding ToDO msgs
Saga4 Jan 21, 2026
9cca1af
abstract base class
aseembits93 Jan 21, 2026
7048d52
nuitka dist ignore
Saga4 Jan 22, 2026
16375b9
npm package and esmodule and commonjs module changes
Saga4 Jan 22, 2026
c214e4e
Merge branch 'main' into multi-language
Saga4 Jan 22, 2026
3ca2956
Merge branch 'main' of github.com:codeflash-ai/codeflash into multi-l…
mohammedahmed18 Jan 23, 2026
291106c
jedi references for python only
mohammedahmed18 Jan 23, 2026
bad3898
remove duplicate files
Saga4 Jan 23, 2026
d6372de
packaging codeflash
Saga4 Jan 26, 2026
6ff8626
cleaning old packaging format
Saga4 Jan 26, 2026
6b56cde
init flow fix for test module path
Saga4 Jan 26, 2026
0da3380
uv path fix
Saga4 Jan 26, 2026
2c889e7
add a todo
misrasaurabh1 Jan 27, 2026
c6efaa7
rename package to just codeflash
Saga4 Jan 27, 2026
e1f9375
adding sqlite package as dep
Saga4 Jan 27, 2026
d16e39c
adding sqlite package as dep
Saga4 Jan 27, 2026
698ed3b
rename package dir
misrasaurabh1 Jan 27, 2026
ad95a41
fix lock file
Saga4 Jan 27, 2026
ffafa2d
fix lock file
Saga4 Jan 27, 2026
653a8f4
fix lock file
Saga4 Jan 27, 2026
4ba7c67
remove defaults and global requires
misrasaurabh1 Jan 27, 2026
beda62c
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 27, 2026
e4d944b
some weird fix
misrasaurabh1 Jan 27, 2026
d9155b7
package.json update
misrasaurabh1 Jan 27, 2026
bcdb0ef
Merge branch 'main' into multi-language
Saga4 Jan 27, 2026
742f4aa
some instrumentation fixes
mohammedahmed18 Jan 27, 2026
12cded7
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 27, 2026
57b37d8
global language config
misrasaurabh1 Jan 27, 2026
cb73420
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 27, 2026
28f8eb1
quick bug fix
misrasaurabh1 Jan 27, 2026
991afc0
remove injectables
mohammedahmed18 Jan 27, 2026
69fb9cc
Remove instrumentation of js tests from aiservice and into client
misrasaurabh1 Jan 28, 2026
b4d6f95
remove js runtime in codeflash client
misrasaurabh1 Jan 28, 2026
68c2cee
trim down the js config in package.json
misrasaurabh1 Jan 28, 2026
9d4f6fa
remove test assertions for generated tests
misrasaurabh1 Jan 28, 2026
b9361f4
first version of github actions
misrasaurabh1 Jan 28, 2026
7d41365
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 28, 2026
6e40ff8
Add CodeFlash GitHub Actions workflow
codeflash-ai[bot] Jan 28, 2026
3ed6c1d
Merge pull request #1182 from codeflash-ai/codeflash/setup-github-act…
misrasaurabh1 Jan 28, 2026
7b7cc99
Implement a real js test looper
misrasaurabh1 Jan 28, 2026
54ef710
add e2e test for CI
misrasaurabh1 Jan 28, 2026
79ae59f
add gha e2e tests
misrasaurabh1 Jan 28, 2026
acf0423
move package dependencies to codeflash
Saga4 Jan 28, 2026
52de78a
fix tests
misrasaurabh1 Jan 28, 2026
f94a7a6
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 28, 2026
b8ea15a
batched looping for lower overhead
misrasaurabh1 Jan 28, 2026
e84a491
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 28, 2026
b78977f
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 28, 2026
e9eaa47
update package-lock files
Saga4 Jan 28, 2026
6fa2fb3
update dependencies for jest-runner used in loop runner
Saga4 Jan 28, 2026
6362aef
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 28, 2026
942bbac
update to 0.2.0
Saga4 Jan 28, 2026
b5b55d4
instrument standalone test calls and some other instrumentaion fixes
mohammedahmed18 Jan 28, 2026
44e72ac
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 28, 2026
2cc1fb2
tests for extractor and replacer
Saga4 Jan 28, 2026
2d5b33a
strict tests for extractor and replacer
Saga4 Jan 28, 2026
0c7c40a
fix some e2e tests
misrasaurabh1 Jan 29, 2026
0765f2a
fix tests and move code into the python support abstraction
misrasaurabh1 Jan 29, 2026
6980d4e
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 29, 2026
81638d3
push uncommitted files
misrasaurabh1 Jan 29, 2026
4b35d5a
try to fix tracer e2e test
misrasaurabh1 Jan 29, 2026
b30a52b
Merge branch 'main' into multi-language
misrasaurabh1 Jan 29, 2026
28755c0
fix windows tests
misrasaurabh1 Jan 29, 2026
f863d2b
fix windows tests
misrasaurabh1 Jan 29, 2026
325534d
extract class skeleton for optimization context
misrasaurabh1 Jan 29, 2026
8779fe7
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 29, 2026
5f09d5a
js code context extraction test much stricter
misrasaurabh1 Jan 29, 2026
13c6fc7
extract class fields and constructor
misrasaurabh1 Jan 29, 2026
483fa44
package installer to e2e test
Saga4 Jan 29, 2026
34fe502
improve code replacement for classes
misrasaurabh1 Jan 29, 2026
bf765c2
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 29, 2026
828d99d
fix a test
misrasaurabh1 Jan 29, 2026
c9cd7bc
extract function argument types and interfaces in read-only context
misrasaurabh1 Jan 29, 2026
0e5ad41
Merge remote-tracking branch 'origin/multi-language' into multi-language
misrasaurabh1 Jan 29, 2026
198487b
format and lint all
misrasaurabh1 Jan 29, 2026
0170ccb
update assertions
KRRT7 Jan 29, 2026
59b35ac
make mypy happy
KRRT7 Jan 29, 2026
c4ee037
one more
KRRT7 Jan 29, 2026
c3b3f2d
check
KRRT7 Jan 29, 2026
ec28a6a
lol
KRRT7 Jan 29, 2026
0135fa4
lazy string formatting
KRRT7 Jan 29, 2026
20cd0bd
mock here
KRRT7 Jan 29, 2026
6612be4
silence these for now
KRRT7 Jan 29, 2026
755d5e6
it's already defined elsewhere
KRRT7 Jan 29, 2026
1f184cb
tests and fixes for context extraction (handle generator functions an…
mohammedahmed18 Jan 29, 2026
472a613
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 29, 2026
e2fb3a5
fix lang detection for JS for generic types
Saga4 Jan 29, 2026
2f6a91f
fix: lint issues in experiments folder and format fixes
Saga4 Jan 29, 2026
d29b139
fix: lint issues in experiments folder and format fixes
Saga4 Jan 29, 2026
d295ff3
fix directory for skipped tests
Saga4 Jan 29, 2026
81dac14
better code replacer and tests
mohammedahmed18 Jan 29, 2026
f26d446
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 29, 2026
aef580b
remove skipping
Saga4 Jan 29, 2026
ecbace9
fix unit tests
mohammedahmed18 Jan 29, 2026
f558f5c
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 29, 2026
ea079ce
set current laguage for test
mohammedahmed18 Jan 29, 2026
dc8e198
ignore paths--no-verify
Saga4 Jan 29, 2026
8f14682
Merge branch 'main' of github.com:codeflash-ai/codeflash into multi-l…
mohammedahmed18 Jan 29, 2026
b6c9407
Merge branch 'multi-language' of github.com:codeflash-ai/codeflash in…
mohammedahmed18 Jan 29, 2026
a29f877
publish the 0.3.0 to npm
Saga4 Jan 29, 2026
84d0b1c
Merge branch 'main' into multi-language
KRRT7 Jan 29, 2026
7303936
not needed
KRRT7 Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/codeflash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Codeflash

on:
pull_request:
paths:
# So that this workflow only runs when code within the target module is modified
- 'code_to_optimize_js_esm/**'
workflow_dispatch:

concurrency:
# Any new push to the PR will cancel the previous run, so that only the latest code is optimized
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


jobs:
optimize:
name: Optimize new code
# Don't run codeflash on codeflash-ai[bot] commits, prevent duplicate optimizations
if: ${{ github.actor != 'codeflash-ai[bot]' }}
runs-on: ubuntu-latest
env:
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
defaults:
run:
working-directory: ./code_to_optimize_js_esm
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🟢 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: 📦 Install Dependencies
run: npm ci

- name: ⚡️ Codeflash Optimization
run: npx codeflash
88 changes: 88 additions & 0 deletions .github/workflows/e2e-js-cjs-function.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: E2E - JS CommonJS Function

on:
pull_request:
paths:
- '**' # Trigger for all paths

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
js-cjs-function-optimization:
# Dynamically determine if environment is needed only when workflow files change and contributor is external
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}

runs-on: ubuntu-latest
env:
CODEFLASH_AIS_SERVER: prod
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
COLUMNS: 110
MAX_RETRIES: 3
RETRY_DELAY: 5
EXPECTED_IMPROVEMENT_PCT: 50
CODEFLASH_END_TO_END: 1
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Validate PR
run: |
# Check for any workflow changes
if git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}" | grep -q "^.github/workflows/"; then
echo "⚠️ Workflow changes detected."

# Get the PR author
AUTHOR="${{ github.event.pull_request.user.login }}"
echo "PR Author: $AUTHOR"

# Allowlist check
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" ]]; then
echo "✅ Authorized user ($AUTHOR). Proceeding."
elif [[ "${{ github.event.pull_request.state }}" == "open" ]]; then
echo "✅ PR triggered by 'pull_request_target' and is open. Assuming protection rules are in place. Proceeding."
else
echo "⛔ Unauthorized user ($AUTHOR) attempting to modify workflows. Exiting."
exit 1
fi
else
echo "✅ No workflow file changes detected. Proceeding."
fi

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install codeflash npm package dependencies
run: |
cd packages/codeflash
npm install

- name: Install JS test project dependencies
run: |
cd code_to_optimize/js/code_to_optimize_js
npm install

- name: Set up Python 3.11 for CLI
uses: astral-sh/setup-uv@v6
with:
python-version: 3.11.6

- name: Install dependencies (CLI)
run: |
uv sync

- name: Run Codeflash to optimize JS CommonJS function
id: optimize_code
run: |
uv run python tests/scripts/end_to_end_test_js_cjs_function.py
88 changes: 88 additions & 0 deletions .github/workflows/e2e-js-esm-async.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: E2E - JS ESM Async

on:
pull_request:
paths:
- '**' # Trigger for all paths

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
js-esm-async-optimization:
# Dynamically determine if environment is needed only when workflow files change and contributor is external
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}

runs-on: ubuntu-latest
env:
CODEFLASH_AIS_SERVER: prod
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
COLUMNS: 110
MAX_RETRIES: 3
RETRY_DELAY: 5
EXPECTED_IMPROVEMENT_PCT: 10
CODEFLASH_END_TO_END: 1
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Validate PR
run: |
# Check for any workflow changes
if git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}" | grep -q "^.github/workflows/"; then
echo "⚠️ Workflow changes detected."

# Get the PR author
AUTHOR="${{ github.event.pull_request.user.login }}"
echo "PR Author: $AUTHOR"

# Allowlist check
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" ]]; then
echo "✅ Authorized user ($AUTHOR). Proceeding."
elif [[ "${{ github.event.pull_request.state }}" == "open" ]]; then
echo "✅ PR triggered by 'pull_request_target' and is open. Assuming protection rules are in place. Proceeding."
else
echo "⛔ Unauthorized user ($AUTHOR) attempting to modify workflows. Exiting."
exit 1
fi
else
echo "✅ No workflow file changes detected. Proceeding."
fi

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install codeflash npm package dependencies
run: |
cd packages/codeflash
npm install

- name: Install JS test project dependencies
run: |
cd code_to_optimize/js/code_to_optimize_js_esm
npm install

- name: Set up Python 3.11 for CLI
uses: astral-sh/setup-uv@v6
with:
python-version: 3.11.6

- name: Install dependencies (CLI)
run: |
uv sync

- name: Run Codeflash to optimize ESM async function
id: optimize_code
run: |
uv run python tests/scripts/end_to_end_test_js_esm_async.py
88 changes: 88 additions & 0 deletions .github/workflows/e2e-js-ts-class.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: E2E - JS TypeScript Class

on:
pull_request:
paths:
- '**' # Trigger for all paths

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
js-ts-class-optimization:
# Dynamically determine if environment is needed only when workflow files change and contributor is external
environment: ${{ (github.event_name == 'workflow_dispatch' || (contains(toJSON(github.event.pull_request.files.*.filename), '.github/workflows/') && github.event.pull_request.user.login != 'misrasaurabh1' && github.event.pull_request.user.login != 'KRRT7')) && 'external-trusted-contributors' || '' }}

runs-on: ubuntu-latest
env:
CODEFLASH_AIS_SERVER: prod
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
COLUMNS: 110
MAX_RETRIES: 3
RETRY_DELAY: 5
EXPECTED_IMPROVEMENT_PCT: 30
CODEFLASH_END_TO_END: 1
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Validate PR
run: |
# Check for any workflow changes
if git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.event.pull_request.head.sha }}" | grep -q "^.github/workflows/"; then
echo "⚠️ Workflow changes detected."

# Get the PR author
AUTHOR="${{ github.event.pull_request.user.login }}"
echo "PR Author: $AUTHOR"

# Allowlist check
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" ]]; then
echo "✅ Authorized user ($AUTHOR). Proceeding."
elif [[ "${{ github.event.pull_request.state }}" == "open" ]]; then
echo "✅ PR triggered by 'pull_request_target' and is open. Assuming protection rules are in place. Proceeding."
else
echo "⛔ Unauthorized user ($AUTHOR) attempting to modify workflows. Exiting."
exit 1
fi
else
echo "✅ No workflow file changes detected. Proceeding."
fi

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install codeflash npm package dependencies
run: |
cd packages/codeflash
npm install

- name: Install JS test project dependencies
run: |
cd code_to_optimize/js/code_to_optimize_ts
npm install

- name: Set up Python 3.11 for CLI
uses: astral-sh/setup-uv@v6
with:
python-version: 3.11.6

- name: Install dependencies (CLI)
run: |
uv sync

- name: Run Codeflash to optimize TypeScript class method
id: optimize_code
run: |
uv run python tests/scripts/end_to_end_test_js_ts_class.py
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ cython_debug/
#.idea/
.aider*
/js/common/node_modules/
/node_modules/
*.xml
*.pem

Expand Down Expand Up @@ -259,6 +258,9 @@ WARP.MD
.mcp.json
.tessl/
tessl.json
**/node_modules/**
**/dist-nuitka/**
**/.npmrc

# Tessl auto-generates AGENTS.md on install; ignore to avoid cluttering git status
AGENTS.md
Loading
Loading