Skip to content

Conversation

@misrasaurabh1
Copy link
Contributor

  • This Pull Request sets up the codeflash.yml file which will run on every new Pull Request that modifies the source code for unstructured directory.
  • We setup the codeflash config in the pyproject.toml file. This defines basic project config for codeflash.
  • The workflow uses uv to install the CI dependencies faster than your current caching solution. Speed is useful to get quicker optimizations.
  • Please take a look at the requirements that are being installed. Feel free to add more to the install list. Codeflash tries to execute code and if it is missing a dependency needed to make something run, it will fail to optimize.
  • Codeflash is being installed everytime in the CI. This helps the workflow always use the latest version of codeflash as it improves rapidly. Feel free to add codeflash to dev dependency as well, since we are about to release more local optimization tools like VS Code and claude code extensions.
  • Feel free to modify this Github action anyway you want

Actions Required to make this work-

  • Install the Codeflash Github app from this link to this repo. This is required for our github-bot to comment and create suggestions on the github repo.
  • Create a new CODEFLASH_API_KEY after signing up to Codeflash from our website. The onboarding will ask you to create an API Key and show instructions on how to save the api key on your repo secrets.

Then, after this PR is merged in it will start generating new optimizations 🎉

@aseembits93
Copy link
Contributor

aseembits93 commented Aug 27, 2025

@cragwolfe I've tried it on my end and it works, It's ready to merge with just a couple of actions from your end.

Actions Required to make this work-

  • Install the Codeflash Github app from this link to this repo. This is required for our github-bot to comment and create suggestions on the github repo.
  • Create a new CODEFLASH_API_KEY after signing up to Codeflash from our website. The onboarding will ask you to create an API Key and show instructions on how to save the api key on your repo secrets.

@aseembits93
Copy link
Contributor

aseembits93 commented Aug 28, 2025

@cragwolfe I bumped the version to -dev0 and added a minimal CHANGELOG. I believe this should resolve one of the ci check tests failing.

@aseembits93
Copy link
Contributor

@cragwolfe committed the necessary changes, ready to merge.

@cragwolfe cragwolfe dismissed their stale review August 31, 2025 19:13

PR has been updated

@cragwolfe cragwolfe added this pull request to the merge queue Sep 2, 2025
Merged via the queue into Unstructured-IO:main with commit e3854d2 Sep 2, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants