Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider caching packages in buildomat #3673

Open
smklein opened this issue Jul 17, 2023 · 1 comment
Open

Consider caching packages in buildomat #3673

smklein opened this issue Jul 17, 2023 · 1 comment
Labels
development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better

Comments

@smklein
Copy link
Collaborator

smklein commented Jul 17, 2023

Having the equivalent of #498 for Buildomat would significantly improve our CI times.

From a fairly recent PR:

  • We spend ~2 minutes downloading crates
  • We spend ~5-10 minutes compiling third-party dependencies, before we even start compiling any crates within omicron
  • We continue spending time compiling third-party dependencies (I saw this running up to ~20 minutes after we started compilation)

Most PRs by developers aren't changing a significant number of these dependencies -- this seems like a solid ~15 minute chunk of time we could shave off of CI, without much risk.

@jclulow
Copy link
Collaborator

jclulow commented Jul 17, 2023

I have put some thoughts about what we could add to buildomat to support this in oxidecomputer/buildomat#32.

@jordanhendricks jordanhendricks added the development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Bugs, paper cuts, feature requests, or other thoughts on making omicron development better
Projects
None yet
Development

No branches or pull requests

3 participants