-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 Introduce usage of 🛞 find tools to replace standard linux find, and some UV tweaks (🚨) #8088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎨 Introduce usage of 🛞 find tools to replace standard linux find, and some UV tweaks (🚨) #8088
Conversation
9d4e6a2 to
382ce9e
Compare
pcrespov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx. Very promising!
Q: why done we have a compose mechanism in place for the Dockerfiles so we can have some template/base Dockerfiles and easily change them everywhere.
Same goes for the entrypoints. Perhaps we should have like a small shell-like shared library that gets installed and the entrypoints could call these common functions

Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8088 +/- ##
==========================================
+ Coverage 88.26% 90.06% +1.79%
==========================================
Files 1864 1583 -281
Lines 71869 62663 -9206
Branches 1264 626 -638
==========================================
- Hits 63433 56435 -6998
+ Misses 8069 6063 -2006
+ Partials 367 165 -202
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
@pcrespov I think what we do now is a bit contraproductive. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR replaces traditional find commands with the Rust-based fd-find (fdfind) tool across service entrypoints and boot scripts for faster file ownership operations, and centralizes Ultraviolet (UV) bytecode compilation flags in Dockerfiles.
- Swap
findinvocations forfdfindinentrypoint.shandboot.shof all services - Add
fd-findtoapt-get installin each service’s Dockerfile - Move UV bytecode compilation environment variables into the appropriate build stages and remove duplicates
Reviewed Changes
Copilot reviewed 55 out of 55 changed files in this pull request and generated 3 comments.
| File Pattern | Description |
|---|---|
| services/*/docker/entrypoint.sh | Replaced find with fdfind for changing file ownership in development mode |
| services/*/docker/boot.sh | Swapped find for fdfind to generate --reload-dir arguments in debug mode |
| **/Dockerfile | Installed fd-find package and consolidated UV_COMPILE_BYTECODE & UV_LINK_MODE env vars |
|
@mergify queue |
🟠 Waiting for conditions to match
|
4def564 to
5e7554f
Compare
|
odeimaiz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌




What do these changes do?
This PR introduces Rust fd-find which is a Rust-based replacement for the usual ubuntu
findtool. Advantages are:Since we use this to change ownership, this might also be an interesting improvements for computation/dynamic services.
This PR also tweaks how Dockerfile are setup with regard to UV, following https://docs.astral.sh/uv/guides/integration/docker/#caching and https://docs.astral.sh/uv/guides/integration/docker/#compiling-bytecode
All these changes should boost startup times of prod/devel containers.
Related issue/s
How to test
Dev-ops