jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.84k stars 188 forks source link

[cache] Use jetify caches #2072

Closed mikeland73 closed 1 month ago

mikeland73 commented 1 month ago

Summary

The main change this PR does is that it considers jetify read caches when determining if a given store path is in binary cache. It loops though all caches (default nix cache, jetify provided caches) and if it finds a path in any one of them, we know output is in binary cache. It also changes the fetch nar info function so that it stores which cache each output is in since we may now use multiple caches.

List of changes:

How was it tested?

Installed https://github.com/Lagoja/terraform-test and confirmed cache was used.

sentry-io[bot] commented 1 month ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎