We are writing an email-based instant messenger in Rust (the UIs are in other languages): https://github.com/deltachat/deltachat-core-rust/
Now, our CIs are constantly failing with
Blocking waiting for file lock on build directory
My first try fixing this was to kill the process if it blocks, do
cargo clean and retry (in Python): https://github.com/deltachat/deltachat-core-rust/pull/1921/files
- Is there any solution that does not take as long as
cargo clean? (because everything has to be rebuilt afterwards)
- Not every CI script is in Rust, some are shell scripts. I could extract this to a Python script that can be invoked both from Python and Shell but is there any better solution?
Thanks for your help!