End of life for the free tier of the Magic Nix Cache

In case anybody is depending on it:

18 Likes

Reminder that garnix has 1,500 minutes in the free tier, and is usually quite a bit faster than GitHub Actions. If anyone has projects that are open source and valuable to the community and needs more than those 1,500 minutes, get in touch!

9 Likes

I’m wondering if you’re being ironic here :sweat_smile:

1 Like

FYI, I’m trying to hack around this with GitHub - jashandeep-sohi/action-cache-api-shim: This action will let you use other actions/tools that need access to the legacy GHA Cache Service v1 API. until someone does a rewrite for the new cache API. Your mileage may vary…I’ve only been able to test it against the new API briefly during the brown-out periods.

2 Likes

found this thread Time sensitive: GitHub Actions cache service integration · Issue #123 · DeterminateSystems/magic-nix-cache · GitHub

1 Like

found from Caching /nix/store in GitHub actions - #11 by br4ch1st0chr0n3

2 Likes

So it just needs to upgrade to the new version?..

magic-nix-cache is in written in rust unlike cache-nix-action which is written in typescript, not sure about the implementation details for cache-nix-action. but magic-nix-cache uses the api, not that package.

And for magic-nix-cache those api v2 endpoints of gha cache require the new proto definitions (which were closed source until that issue), but they came along with a notice that they are likely to break it again as well. (see above linked issue)

So my suggestion would be to take a look at cache-nix-action, see if it works and migrate. I have yet to try it out.

follow Support for GitHub Actions Cache v2 by jchv · Pull Request #139 · DeterminateSystems/magic-nix-cache · GitHub

4 Likes

I’m always a big fan of your earnest, good-faith responses :smiley:

Not sure why this needed a necrobump after 140 days, but in the meanwhile it seems that a solution was made. Let’s move on.

8 Likes

The pr with github cache v2 support landed if anyone is wasn’t subscribed to the PR. Thanks to jchv · GitHub

maybe all the deprecation warnings, and the now outdated instructions to use flakehub-cache etc. in the readme can be changed @lucperkins so that we can use magic-nix-cache again.

Not sure why this needed a necrobump after 140 days

you can read the comment which necrobumped this thread.

Yep, we just announced this:

4 Likes

Sorry it’s just not worth it to reply something sophisticated to you enjoy your magic cache

2 Likes

Thanks for the update :+1: