From 9c0d66197bfa60a0c14109a471b6bcdfd61247e1 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 5 Oct 2023 18:28:56 +0300 Subject: feat(tvix/nar-bridge): do pathInfo.Validate() as additional check This should make it quite quick to spot writing code breaking some of the assumptions we have on PathInfo messages ourselves. Change-Id: I480caaec41f8ea5246c3c3081460c7ad12e78569 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9554 Reviewed-by: Connor Brewster Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/nar-bridge/go.mod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tvix/nar-bridge/go.mod') diff --git a/tvix/nar-bridge/go.mod b/tvix/nar-bridge/go.mod index 628ceb8026c9..3fa9d568459e 100644 --- a/tvix/nar-bridge/go.mod +++ b/tvix/nar-bridge/go.mod @@ -2,14 +2,16 @@ module code.tvl.fyi/tvix/nar-bridge require ( code.tvl.fyi/tvix/castore/protos v0.0.0-20230922125121-72355662d742 - code.tvl.fyi/tvix/store/protos v0.0.0-20230922125121-4251671e09c1 + code.tvl.fyi/tvix/store/protos v0.0.0-20231005184258-5be346d3c195 github.com/alecthomas/kong v0.7.1 github.com/go-chi/chi v1.5.4 github.com/go-chi/chi/v5 v5.0.7 github.com/google/go-cmp v0.5.9 + github.com/multiformats/go-multihash v0.2.1 github.com/nix-community/go-nix v0.0.0-20231005143722-b0f8b73c06df github.com/sirupsen/logrus v1.9.0 github.com/stretchr/testify v1.8.1 + github.com/ulikunitz/xz v0.5.11 google.golang.org/grpc v1.51.0 google.golang.org/protobuf v1.28.1 lukechampine.com/blake3 v1.1.7 @@ -21,11 +23,9 @@ require ( github.com/klauspost/cpuid/v2 v2.0.9 // indirect github.com/minio/sha256-simd v1.0.0 // indirect github.com/mr-tron/base58 v1.2.0 // indirect - github.com/multiformats/go-multihash v0.2.1 // indirect github.com/multiformats/go-varint v0.0.6 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect - github.com/ulikunitz/xz v0.5.11 // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/net v0.7.0 // indirect golang.org/x/sys v0.5.0 // indirect -- cgit 1.4.1