snix/tvix/store/src
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
..
bin refactor(tvix/glue/builtins/import): refactor 2024-10-15 23:26:26 +00:00
nar feat(tvix/store): seekable nar renderer 2024-09-25 19:23:45 +00:00
pathinfoservice fix(tvix/store/pathinfo): use gRPC NarCalculationService 2024-10-18 21:45:55 +00:00
proto fix(tvix/store/grpc_wrapper): don't validate node name 2024-10-18 19:51:39 +00:00
tests refactor(tvix/store): remove use of lazy_static 2024-10-17 22:15:48 +00:00
composition.rs refactor(tvix/store): remove use of lazy_static 2024-10-17 22:15:48 +00:00
import.rs refactor(nix-compat/store_path): drop build_nar_based_store_path 2024-10-17 18:16:30 +00:00
lib.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
path_info.rs refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
utils.rs feat(tvix/composition): allow urls as anonymous stores 2024-10-10 12:53:08 +00:00