Skip to content

Conversation

@jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Jan 27, 2026

  • Look up the correct version of oxide.rs for the current VERSION_OMICRON. We can't assume that the main branch of this repo always corresponds to oxide.rs@main, so we look up the expected version of the openapi spec and page through oxide.rs commits until we find one with a matching version in its oxide.json.
  • Cache the oxide.rs binary by its commit hash. Building from source can take 4-5 minutes on shared workers, so we save a meaningful amount of time by caching.

Extracting from #604 for easier review.

@jmcarp jmcarp requested a review from a team as a code owner January 27, 2026 23:03
* Look up the correct version of oxide.rs for the current VERSION_OMICRON. We
  can't assume that the `main` branch of this repo always corresponds to
  oxide.rs@main, so we look up the expected version of the openapi spec and
  page through oxide.rs commits until we find one with a matching version in
  its oxide.json.
* Cache the oxide.rs binary by its commit hash. Building from source can take
  4-5 minutes on shared workers, so we save a meaningful amount of time by
  caching.
@jmcarp jmcarp force-pushed the jmcarp/cache-oxide-rs branch from 83344c4 to c5a76c8 Compare January 28, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants