snix/tvix/store/src/pathinfoservice
Florian Klink bd6894d265 fix(tvix/store/pathinfo): use gRPC NarCalculationService
If the PathInfoService is using gRPC, expose it via the
nar_calculation_service() method in the PathInfoService.

Also pass nar_calculation_service through in tha blanket impl.

This now causes a `tvix-store import` using the default config to not
fall back to `SimpleRenderer`, which will calculate the NAR hash and
size by downloading the uploaded blobs (and blobs it didn't need to
upload) locally, making such imports faster.

Change-Id: If2c3fe6584e9093cba322d2360f355a3923904ae
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12658
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
2024-10-18 21:45:55 +00:00
..
fs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
tests refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
bigtable.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
combinators.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
from_addr.rs refactor(tvix/store): remove use of lazy_static 2024-10-17 22:15:48 +00:00
grpc.rs fix(tvix/store/pathinfo): use gRPC NarCalculationService 2024-10-18 21:45:55 +00:00
lru.rs refactor(tvix/store): remove use of lazy_static 2024-10-17 22:15:48 +00:00
memory.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
mod.rs fix(tvix/store/pathinfo): use gRPC NarCalculationService 2024-10-18 21:45:55 +00:00
nix_http.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
redb.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
signing_wrapper.rs test(tvix/store/signing_wrapper): restructure 2024-10-11 17:19:12 +00:00