Skip to content

Commit 6478abc

Browse files
upgrade to latest dependencies
bumping knative.dev/pkg 077dcf0...7da1174: > 7da1174 upgrade to latest dependencies (# 3281) > 2be9d56 Lock before iterating map so that code does not panic on concurrent write (# 3279) bumping knative.dev/networking 3fcdea3...806653e: > 806653e upgrade to latest dependencies (# 1094) bumping knative.dev/hack af735b2...f2be520: > f2be520 [release-1.19] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 444) Signed-off-by: Knative Automation <[email protected]>
1 parent 2fe8547 commit 6478abc

File tree

6 files changed

+23
-14
lines changed

6 files changed

+23
-14
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ require (
1212
k8s.io/client-go v0.33.4
1313
k8s.io/code-generator v0.33.4
1414
k8s.io/utils v0.0.0-20241210054802-24370beab758
15-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
16-
knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7
17-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
15+
knative.dev/hack v0.0.0-20251016122918-f2be520302e8
16+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8
17+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
1818
sigs.k8s.io/gateway-api v1.2.1
1919
sigs.k8s.io/yaml v1.6.0
2020
)

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,12 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
257257
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
258258
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
259259
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
260-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
261-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
262-
knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7 h1:znAKzAIZRONj/3/sj29h3LymPvXc58nsF6P/8yDqEwc=
263-
knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7/go.mod h1:+yUXx0sIKx5tzyW10GFcUSTfhuxNJhaGgvpXcv6PeHI=
264-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
265-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
260+
knative.dev/hack v0.0.0-20251016122918-f2be520302e8 h1:UQGRZ6nsBfzVGmSQYSN2b/aixYy8FJ+fpuI2KJGLBGo=
261+
knative.dev/hack v0.0.0-20251016122918-f2be520302e8/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
262+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8 h1:QY/NMmxnLVMeZjUhP+w6DT5+U3+n6PP3jaWFKvUfua0=
263+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8/go.mod h1:swS9Gds3ynInxzB1p/YLVF1mc5vtruO33qDjax7xyko=
264+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b h1:FGFKGId+JPrKdX9PG0tNI4ePWqmEdTNiIOw2zsiPLpo=
265+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b/go.mod h1:EagZcIVpB9m/bktnIVJM+MvgyXi9q25a8WpCCWULJUY=
266266
sigs.k8s.io/gateway-api v1.2.1 h1:fZZ/+RyRb+Y5tGkwxFKuYuSRQHu9dZtbjenblleOLHM=
267267
sigs.k8s.io/gateway-api v1.2.1/go.mod h1:EpNfEXNjiYfUJypf0eZ0P5iXA9ekSGWaS1WgPaM42X0=
268268
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE=

vendor/knative.dev/hack/library.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function start_knative_eventing_extension() {
681681
# Parameters: $1 - tool package for go run.
682682
# $2..$n - parameters passed to the tool.
683683
function go_run() {
684-
local package
684+
local package gotoolchain
685685
package="$1"
686686
if [[ "$package" != *@* ]]; then
687687
abort 'Package for "go_run" needs to have @version'
@@ -696,6 +696,11 @@ function go_run() {
696696
GORUN_PATH="$(mktemp -t -d -u gopath.XXXXXXXX)"
697697
fi
698698
export GORUN_PATH
699+
gotoolchain="$(go env GOTOOLCHAIN)"
700+
if [[ "$package" == knative.dev/toolbox/* ]]; then
701+
gotoolchain=auto
702+
fi
703+
GOTOOLCHAIN="${gotoolchain}" \
699704
GOPATH="${GORUN_PATH}" \
700705
GOFLAGS='' \
701706
go run "$package" "$@"

vendor/knative.dev/hack/presubmit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function __build_test_runner_for_module() {
141141
# Don't merge these two lines, or return code will always be 0.
142142
# Get all build tags in go code (ignore /vendor, /hack and /third_party)
143143
local tags
144-
tags="$(go run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
144+
tags="$(go_run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
145145
local go_pkg_dirs
146146
go_pkg_dirs="$(go list -tags "${tags}" ./...)" || return $?
147147
if [[ -z "${go_pkg_dirs}" ]]; then

vendor/knative.dev/pkg/controller/queue_metrics.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ func (m *queueMetrics) updateUnfinishedWork() {
121121
// doesn't seem to have non-hacky ways to reset the summary metrics.
122122
var total float64
123123
var oldest float64
124+
125+
m.mu.Lock()
126+
defer m.mu.Unlock()
127+
124128
for _, t := range m.processingStartTimes {
125129
age := m.sinceInSeconds(t)
126130
total += age

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,10 +1011,10 @@ k8s.io/utils/net
10111011
k8s.io/utils/pointer
10121012
k8s.io/utils/ptr
10131013
k8s.io/utils/trace
1014-
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
1014+
# knative.dev/hack v0.0.0-20251016122918-f2be520302e8
10151015
## explicit; go 1.21
10161016
knative.dev/hack
1017-
# knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7
1017+
# knative.dev/networking v0.0.0-20251022155347-806653eb2af8
10181018
## explicit; go 1.24.0
10191019
knative.dev/networking/config
10201020
knative.dev/networking/pkg
@@ -1058,7 +1058,7 @@ knative.dev/networking/test/test_images/runtime/handlers
10581058
knative.dev/networking/test/test_images/timeout
10591059
knative.dev/networking/test/test_images/wsserver
10601060
knative.dev/networking/test/types
1061-
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
1061+
# knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
10621062
## explicit; go 1.24.0
10631063
knative.dev/pkg/apis
10641064
knative.dev/pkg/apis/duck

0 commit comments

Comments
 (0)