Skip to content

CI: the mixed-build step takes about 40 minutes on a cold cache #161

Open

Description

@vyncint

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

  1. added this to the v0.4.0 milestone on Nov 18, 2026
  2. added
    enhancement
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions