Skip to content

Commit 7f16f6b

Browse files
upgrade to latest dependencies (#16192)
bumping knative.dev/hack af735b2...50b120a: > 50b120a bump gotestfmt to newest version (# 449) > f2be520 [release-1.19] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 444) bumping knative.dev/caching ee61fe0...1c2168b: > 1c2168b upgrade to latest dependencies (# 969) > 088caf3 upgrade to latest dependencies (# 960) bumping knative.dev/networking 7dad473...806653e: > 806653e upgrade to latest dependencies (# 1094) > 3fcdea3 upgrade to latest dependencies (# 1083) 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) Signed-off-by: Knative Automation <[email protected]>
1 parent d11fb31 commit 7f16f6b

File tree

6 files changed

+28
-19
lines changed

6 files changed

+28
-19
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ require (
3737
k8s.io/code-generator v0.33.4
3838
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
3939
k8s.io/utils v0.0.0-20241210054802-24370beab758
40-
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82
41-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
42-
knative.dev/networking v0.0.0-20250902160145-7dad473f6351
43-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
40+
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613
41+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30
42+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8
43+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
4444
sigs.k8s.io/randfill v1.0.0
4545
sigs.k8s.io/yaml v1.6.0
4646
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -586,14 +586,14 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
586586
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
587587
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
588588
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
589-
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82 h1:bqpUZC618+zZRlMSTBFh41d1ZgDpboIEZni5QvfHjyo=
590-
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82/go.mod h1:ZiyXJ3NpJMnXkjzJFE0rQQ/vkCdINF2x9zDDCqH7v9g=
591-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
592-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
593-
knative.dev/networking v0.0.0-20250902160145-7dad473f6351 h1:Gv/UqbN0AK+ORoT5e2Kg+3+uMW/y9CCdhpXKxYaVV6k=
594-
knative.dev/networking v0.0.0-20250902160145-7dad473f6351/go.mod h1:P/fAhhVDgmLt1ugFX8vBvdSDiUOw2P4SGcjbzoZ02Xw=
595-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
596-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
589+
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613 h1:iFaJUno9kIDVUuP09wpJkE1sLpdDjT7N+OkVTFMARX8=
590+
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613/go.mod h1:B9qm2jchN0RdPC4l0pOE4YFUq7PccRX2FHkfomehAiA=
591+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30 h1:4fzUJrTmIbqgttXMBuLFC7/m2p0146EM3h9Wn2pBm9U=
592+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
593+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8 h1:QY/NMmxnLVMeZjUhP+w6DT5+U3+n6PP3jaWFKvUfua0=
594+
knative.dev/networking v0.0.0-20251022155347-806653eb2af8/go.mod h1:swS9Gds3ynInxzB1p/YLVF1mc5vtruO33qDjax7xyko=
595+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b h1:FGFKGId+JPrKdX9PG0tNI4ePWqmEdTNiIOw2zsiPLpo=
596+
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b/go.mod h1:EagZcIVpB9m/bktnIVJM+MvgyXi9q25a8WpCCWULJUY=
597597
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
598598
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
599599
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=

vendor/knative.dev/hack/library.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ function report_go_test() {
588588
logfile="${logfile/.xml/.jsonl}"
589589
echo "Running go test with args: ${go_test_args[*]}"
590590
local gotest_retcode=0
591-
go_run gotest.tools/gotestsum@v1.11.0 \
591+
go_run gotest.tools/gotestsum@v1.13.0 \
592592
--format "${GO_TEST_VERBOSITY:-testname}" \
593593
--junitfile "${xml}" \
594594
--junitfile-testsuite-name relative \
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ k8s.io/utils/net
14501450
k8s.io/utils/pointer
14511451
k8s.io/utils/ptr
14521452
k8s.io/utils/trace
1453-
# knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82
1453+
# knative.dev/caching v0.0.0-20251022154445-1c2168b1a613
14541454
## explicit; go 1.24.0
14551455
knative.dev/caching/config
14561456
knative.dev/caching/pkg/apis/caching
@@ -1471,10 +1471,10 @@ knative.dev/caching/pkg/client/injection/informers/caching/v1alpha1/image/fake
14711471
knative.dev/caching/pkg/client/injection/informers/factory
14721472
knative.dev/caching/pkg/client/injection/informers/factory/fake
14731473
knative.dev/caching/pkg/client/listers/caching/v1alpha1
1474-
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
1474+
# knative.dev/hack v0.0.0-20251022160748-50b120a65f30
14751475
## explicit; go 1.21
14761476
knative.dev/hack
1477-
# knative.dev/networking v0.0.0-20250902160145-7dad473f6351
1477+
# knative.dev/networking v0.0.0-20251022155347-806653eb2af8
14781478
## explicit; go 1.24.0
14791479
knative.dev/networking/config
14801480
knative.dev/networking/pkg
@@ -1513,7 +1513,7 @@ knative.dev/networking/pkg/http/stats
15131513
knative.dev/networking/pkg/ingress
15141514
knative.dev/networking/pkg/k8s
15151515
knative.dev/networking/pkg/prober
1516-
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
1516+
# knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
15171517
## explicit; go 1.24.0
15181518
knative.dev/pkg/apiextensions/storageversion
15191519
knative.dev/pkg/apiextensions/storageversion/cmd/migrate

0 commit comments

Comments
 (0)