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
CI: the mixed-build step takes about 40 minutes on a cold cache #161
What happens. The predict lane of ci.yml runs make test-mixed-build ("a cluster admits only workers of its own build", #92). It builds oxide-worker twice more, once with --features cuda and once with --features predict, then runs two #[ignore]d cli tests against them. On a cold cache the step alone took about 40 minutes: 38.5 min on main at 7cb9ef2, 40 min on #147, and over 40 on #149 and #150. With a warm cache, #154's whole run took about 9 minutes.
Why it matters. Every PR that misses the cache waits about 45 minutes for its slowest lane, and a release CHANGELOG conflict that forces an update costs that again. During the 0.3.0 merges this was the critical path.
Options:
Give the two worker builds a rust-cache key of their own, so a PR's run restores them.
Move the step to its own job, parallel to the predict tests.
Run it only when the files it covers change (the codec, admission.rs, the worker binary), as the CI change detection already does for other lanes.
Done when a PR that touches none of those files does not wait on the mixed-build step, and a cold run of the step is measured again.
Activity