Description
Over at PRQL/prql#2870, we're hitting an issue with how duckdb 0.8.0 uses the cargo cache.
Specifically, the standard cargo cache GHA deletes ~/.cargo/registry/src
when it's uploading the cache. But if that's removed, then duckdb-rs
requires recompiling. This is the only dependency of ours where this occurs, and it is new after 0.7.1. It also seems to occur in 0.8.1. It's possible to test locally by cargo build
, removing the path, and then cargo build
again.
It's probably less visible in this repo, since the cargo cache GHA only caches dependencies.
I don't have much context for why this happens — it's very possible it's a dependency of duckdb-rs
. It is quite disruptive for our CI — it takes 2-3x longer across most of our jobs.
Would you have any idea for what's causing it? Thank you!