feat: Improve data handling and text formatting (loop fix) #3128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codeflash | |
on: | |
pull_request: | |
paths: | |
- "src/backend/base/langflow/**" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
optimize: | |
name: Optimize new Python code in this PR | |
if: ${{ github.actor != 'codeflash-ai[bot]' }} | |
runs-on: ubuntu-latest | |
env: | |
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }} | |
CODEFLASH_PR_NUMBER: ${{ github.event.number }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Setup Environment" | |
uses: ./.github/actions/setup-uv | |
- run: uv sync | |
- name: Run Codeflash Optimizer | |
working-directory: ./src/backend/base | |
continue-on-error: true | |
run: uv run codeflash | |
- name: Minimize uv cache | |
run: uv cache prune --ci |