Skip to content

Conversation

@codetheweb
Copy link
Contributor

@codetheweb codetheweb commented Jun 10, 2025

Description of changes

The PyPi build stopped being cached when the common Rust action switched to caching the target directory rather than going through sccache. This updates the maturin build step during PyPi release to use sccache for faster builds.

@github-actions
Copy link

Reviewer Checklist

Please leverage this checklist to ensure your code review is thorough before approving

Testing, Bugs, Errors, Logs, Documentation

  • Can you think of any use case in which the code does not behave as intended? Have they been tested?
  • Can you think of any inputs or external events that could break the code? Is user input validated and safe? Have they been tested?
  • If appropriate, are there adequate property based tests?
  • If appropriate, are there adequate unit tests?
  • Should any logging, debugging, tracing information be added or removed?
  • Are error messages user-friendly?
  • Have all documentation changes needed been made?
  • Have all non-obvious changes been commented?

System Compatibility

  • Are there any potential impacts on other parts of the system or backward compatibility?
  • Does this change intersect with any items on our roadmap, and if so, is there a plan for fitting them together?

Quality

  • Is this code of a unexpectedly high quality (Readability, Modularity, Intuitiveness)

@codetheweb codetheweb marked this pull request as ready for review June 10, 2025 22:10
@propel-code-bot
Copy link
Contributor

This PR updates the PyPI build workflow to use sccache during the maturin Rust build step. The change reintroduces Rust build caching for performance by specifying 'sccache: true' in the relevant GitHub Actions step.

This summary was automatically generated by @propel-code-bot

@codetheweb codetheweb requested a review from itaismith June 10, 2025 22:11
Copy link
Contributor

@itaismith itaismith left a comment

Choose a reason for hiding this comment

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

Easy, thanks!

@codetheweb codetheweb enabled auto-merge (squash) June 10, 2025 22:49
@codetheweb codetheweb merged commit c0086f5 into main Jun 10, 2025
112 of 115 checks passed
@codetheweb codetheweb deleted the bld-use-sccache-during-pypi-build branch June 10, 2025 22:55
codetheweb added a commit that referenced this pull request Jun 11, 2025
## Description of changes

This was added in #4806, but
it seems like the default sccache config doesn't work with Blacksmith.
Disabling while we debug.
Inventrohyder pushed a commit to Inventrohyder/chroma that referenced this pull request Aug 5, 2025
## Description of changes

The PyPi build stopped being cached when the common Rust action switched
to caching the target directory rather than going through sccache. This
updates the maturin build step during PyPi release to use sccache for
faster builds.
Inventrohyder pushed a commit to Inventrohyder/chroma that referenced this pull request Aug 5, 2025
## Description of changes

This was added in chroma-core#4806, but
it seems like the default sccache config doesn't work with Blacksmith.
Disabling while we debug.
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