You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce the duration of the Rust unit tests in the CI #3729
Since the snark feature is enabled by default (#3650), the Rust test jobs of the CI are about twice as slow on every runner (for example 6m 9s to 10m 15s on ubuntu-24.04 and 4m 36s to 10m 57s on ubuntu-24.04-arm), and they now hold back the later stages of the CI (Docker builds and infrastructure deployment tests).
What
Bring the test-rust job times back close to what they were before snark was enabled by default, mainly by making the certificate chain fixtures cheaper and by tuning how the dependencies are optimized in the CI cargo profiles.
How
Tune the optimization of the dependencies in the CI cargo profiles
Apply opt-level = 3 only to the dependencies that dominate the test time, instead of all dependencies ([profile.ci-tests-snark.package."*"])
Decide whether the workspace jobs use this profile, comparing the build time increase with the test time reduction after a CI cache cleanup
Create test assets (pre-built certificates and certificate chains) for the certificate chain tests, used in place of CertificateChainBuilder where real fixture generation is not needed
Activity