Skip to content

Commit

Permalink
Update libs dependency (#2775) (#2785)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change



* 🔧 Fix build error



* Added output for Go Module with fixed Version (#2784)

* fix



* fix



---------




* 🔧 Update go deps



* 🔧 Update deps



* ✅ Fix race condition



* Revert "🔧 Update deps"

This reverts commit 4622c52.

* 🔧 Update deps



* 🔧 Update deps



* Revert "✅ Fix race condition"

This reverts commit eb049c4.

* 🔧 Update deps



* ✅ Fix unit test



* Update apis/grpc/v1/agent/sidecar/sidecar_vtproto.pb.go




---------

Signed-off-by: vdaas-ci <vald@vdaas.org>
Signed-off-by: vankichi <kyukawa315@gmail.com>
Signed-off-by: kpango <kpango@vdaas.org>
Signed-off-by: Kiichiro YUKAWA <kyukawa315@gmail.com>
Co-authored-by: Kiichiro YUKAWA <kyukawa315@gmail.com>
Co-authored-by: Yusuke Kato <kpango@vdaas.org>
  • Loading branch information
3 people authored Dec 23, 2024
1 parent 0e844ba commit 4972e11
Show file tree
Hide file tree
Showing 18 changed files with 565 additions and 467 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ assignees: ""
- Go Version: v1.23.4
- Rust Version: v1.83.0
- Docker Version: v27.4.0
- Kubernetes Version: v1.31.4
- Kubernetes Version: v1.32.0
- Helm Version: v3.16.3
- NGT Version: v2.3.5
- Faiss Version: v1.9.0
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/security_issue_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ assignees: ""
- Go Version: v1.23.4
- Rust Version: v1.83.0
- Docker Version: v27.4.0
- Kubernetes Version: v1.31.4
- Kubernetes Version: v1.32.0
- Helm Version: v3.16.3
- NGT Version: v2.3.5
- Faiss Version: v1.9.0
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- Go Version: v1.23.4
- Rust Version: v1.83.0
- Docker Version: v27.4.0
- Kubernetes Version: v1.31.4
- Kubernetes Version: v1.32.0
- Helm Version: v3.16.3
- NGT Version: v2.3.5
- Faiss Version: v1.9.0
Expand Down
1 change: 1 addition & 0 deletions Makefile.d/dependencies.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ go/download:
## install Go package dependencies
go/deps: \
update/go
head -n -1 $(ROOTDIR)/hack/go.mod.default | awk 'NR>=6 && $$0 !~ /(upgrade|latest|master|main)/' | sort
sed -i "3s/go [0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?/go $(GO_VERSION)/g" $(ROOTDIR)/hack/go.mod.default
if $(GO_CLEAN_DEPS); then \
rm -rf $(ROOTDIR)/vendor \
Expand Down
15 changes: 13 additions & 2 deletions charts/vald-benchmark-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@
"interceptors": {
"type": "array",
"description": "gRPC client interceptors",
"items": { "type": "string", "enum": ["TraceInterceptor"] }
"items": {
"type": "string",
"enum": ["TraceInterceptor", "MetricInterceptor"]
}
},
"keepalive": {
"type": "object",
Expand Down Expand Up @@ -698,7 +701,15 @@
"initial_window_size": { "type": "integer" },
"interceptors": {
"type": "array",
"items": { "type": "string" }
"items": {
"type": "string",
"enum": [
"RecoverInterceptor",
"AccessLogInterceptor",
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
"type": "object",
Expand Down
73 changes: 56 additions & 17 deletions charts/vald/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3717,7 +3717,7 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": ["TraceInterceptor", "MetricInterceptor"]
}
},
"keepalive": {
Expand Down Expand Up @@ -7053,7 +7053,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -7413,7 +7416,7 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": ["TraceInterceptor", "MetricInterceptor"]
}
},
"keepalive": {
Expand Down Expand Up @@ -7765,7 +7768,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -9642,7 +9648,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -9990,7 +9999,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -10339,7 +10351,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -12222,7 +12237,7 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": ["TraceInterceptor", "MetricInterceptor"]
}
},
"keepalive": {
Expand Down Expand Up @@ -14278,7 +14293,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -14626,7 +14644,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -14989,7 +15010,7 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": ["TraceInterceptor", "MetricInterceptor"]
}
},
"keepalive": {
Expand Down Expand Up @@ -16684,7 +16705,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -17032,7 +17056,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -18730,7 +18757,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -19078,7 +19108,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -22455,7 +22488,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down Expand Up @@ -22803,7 +22839,10 @@
"description": "gRPC client interceptors",
"items": {
"type": "string",
"enum": ["TraceInterceptor"]
"enum": [
"TraceInterceptor",
"MetricInterceptor"
]
}
},
"keepalive": {
Expand Down
22 changes: 11 additions & 11 deletions example/client/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ replace (
github.com/golang/protobuf => github.com/golang/protobuf v1.5.4
github.com/kpango/glg => github.com/kpango/glg v1.6.15
github.com/pkg/sftp => github.com/pkg/sftp v1.13.7
golang.org/x/crypto => golang.org/x/crypto v0.30.0
golang.org/x/net => golang.org/x/net v0.32.0
golang.org/x/crypto => golang.org/x/crypto v0.31.0
golang.org/x/net => golang.org/x/net v0.33.0
golang.org/x/text => golang.org/x/text v0.21.0
google.golang.org/genproto => google.golang.org/genproto v0.0.0-20241209162323-e6fa225c2576
google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576
google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576
google.golang.org/grpc => google.golang.org/grpc v1.68.1
google.golang.org/protobuf => google.golang.org/protobuf v1.35.2
google.golang.org/genproto => google.golang.org/genproto v0.0.0-20241216192217-9240e9c98484
google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20241216192217-9240e9c98484
google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484
google.golang.org/grpc => google.golang.org/grpc v1.69.2
google.golang.org/protobuf => google.golang.org/protobuf v1.36.0
gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.1
sigs.k8s.io/yaml => sigs.k8s.io/yaml v1.4.0
)
Expand All @@ -33,10 +33,10 @@ require (
github.com/goccy/go-json v0.10.2 // indirect
github.com/kpango/fastime v1.1.9 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241206012308-a4fef0638583 // indirect
google.golang.org/protobuf v1.35.2 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/protobuf v1.36.0 // indirect
)
36 changes: 26 additions & 10 deletions example/client/go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1 h1:jLd96rDDNJ+zIJxvV/L855VEtrjR0G4aePVDlCpf6kw=
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.2-20241127180247-a33202765966.1/go.mod h1:mnHCFccv4HwuIAOHNGdiIc5ZYbBCvbTWZcodLN5wITI=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA=
github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/kpango/fastime v1.1.9 h1:xVQHcqyPt5M69DyFH7g1EPRns1YQNap9d5eLhl/Jy84=
github.com/kpango/fastime v1.1.9/go.mod h1:vyD7FnUn08zxY4b/QFBZVG+9EWMYsNl+QF0uE46urD4=
github.com/kpango/fuid v0.0.0-20221203053508-503b5ad89aa1 h1:rxyM+7uaZQ35P9fbixdnld/h4AgEhODoubuy6A4nDdk=
Expand All @@ -18,25 +24,35 @@ github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/vdaas/vald-client-go v1.7.15 h1:uOUlmRh7aJx2nyT+9Iv28uNzqdc9xlXyWbN5nLNUALM=
github.com/vdaas/vald-client-go v1.7.15/go.mod h1:5PYD1Cf1UqgevuzofZNIEtcXatjQSaXwmn8xHvY74jA=
go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY=
go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE=
go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY=
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0=
go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc=
go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8=
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI=
golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs=
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 h1:vJpL69PeUullhJyKtTjHjENEmZU3BkO4e+fod7nKzgM=
gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946/go.mod h1:BQUWDHIAygjdt1HnUPQ0eWqLN2n5FwJycrpYUVUOx2I=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 h1:CkkIfIt50+lT6NHAVoRYEyAvQGFM7xEwXUUywFvEb3Q=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576/go.mod h1:1R3kvZ1dtP3+4p4d3G8uJ8rFk/fWlScl38vanWACI08=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 h1:8ZmaLZE4XWrtU3MyClkYqqtl6Oegr3235h7jxsDyqCY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0=
google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw=
google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io=
google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
google.golang.org/genproto/googleapis/api v0.0.0-20241216192217-9240e9c98484 h1:ChAdCYNQFDk5fYvFZMywKLIijG7TC2m1C2CMEu11G3o=
google.golang.org/genproto/googleapis/api v0.0.0-20241216192217-9240e9c98484/go.mod h1:KRUmxRI4JmbpAm8gcZM4Jsffi859fo5LQjILwuqj9z8=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484 h1:Z7FRVJPSMaHQxD0uXU8WdgFh8PseLM8Q8NzhnpMrBhQ=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484/go.mod h1:lcTa1sDdWEIHMWlITnIczmw5w60CF9ffkb8Z+DVmmjA=
google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU=
google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4=
google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ=
google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
Loading

0 comments on commit 4972e11

Please sign in to comment.