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

Most CI jobs are not fully utilizing magic-nix-cache due to Github Actions Cache API rate limits #211

Open
yfyf opened this issue Nov 28, 2024 · 0 comments

Comments

@yfyf
Copy link
Collaborator

yfyf commented Nov 28, 2024

I wanted to check why ./build vm always takes so long on the CI pipeline and realized it's not a matter of cache misses, but simply due to the fact that it needs to build almost ~2000 nix derivations and hits the Github API rate limits at around the ~800th cache download, at which point the cache is disabled.

Example:
https://github.com/dividat/playos/actions/runs/12046335677/job/33586605917?pr=207

It seems that PlayOS has "outgrown" the magic-nix-cache. It might make sense to consider either Cachix or self-hosting using attic or some other approach for speeding up the builds.

cc @knuton

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

No branches or pull requests

1 participant