Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Install Codeflash optimizer github action #5350

Merged

Conversation

misrasaurabh1
Copy link
Contributor

@misrasaurabh1 misrasaurabh1 commented Dec 19, 2024

This PR installs the Codeflash github action which optimizes all the future non-async Python code. I tested that it runs correctly on this PR. Codeflash will be like having an expert python performance engineer optimize every PR.

An admin would have to generate the API Key from app.codeflash.ai and set it up in repository secrets under the KEY CODEFLASH_API_KEY.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 19, 2024
@misrasaurabh1 misrasaurabh1 marked this pull request as draft December 19, 2024 00:59
Copy link

codspeed-hq bot commented Dec 19, 2024

CodSpeed Performance Report

Merging #5350 will improve performances by 14.58%

Comparing codeflash-ai:install-codeflash-optimizer (568c50f) with main (d5498cf)

Summary

⚡ 1 improvements
✅ 14 untouched benchmarks

Benchmarks breakdown

Benchmark main codeflash-ai:install-codeflash-optimizer Change
test_successful_run_with_input_type_any 265.9 ms 232.1 ms +14.58%

Copy link
Contributor

autofix-ci bot commented Dec 19, 2024

Hi! I'm autofix logoautofix.ci, a bot that automatically fixes trivial issues such as code formatting in pull requests.

I would like to apply some automated changes to this pull request, but it looks like I don't have the necessary permissions to do so. To get this pull request into a mergeable state, please do one of the following two things:

  1. Allow edits by maintainers for your pull request, and then re-trigger CI (for example by pushing a new commit).
  2. Manually fix the issues identified for your pull request (see the GitHub Actions output for details on what I would like to change).

@misrasaurabh1 misrasaurabh1 marked this pull request as ready for review December 19, 2024 02:31
@misrasaurabh1 misrasaurabh1 changed the title Install Codeflash optimizer github action feat: Install Codeflash optimizer github action Dec 19, 2024
@github-actions github-actions bot added the enhancement New feature or request label Dec 19, 2024
Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @misrasaurabh1 !

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 19, 2024
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Dec 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 19, 2024
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Dec 19, 2024
Merged via the queue into langflow-ai:main with commit a30ccc4 Dec 19, 2024
30 of 33 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants