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 <cbrewster@hey.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
4bf541109a
commit
9c0d66197b
4 changed files with 20 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue