Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ require (
k8s.io/code-generator v0.33.4
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
k8s.io/utils v0.0.0-20241210054802-24370beab758
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
knative.dev/networking v0.0.0-20250902160145-7dad473f6351
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613
knative.dev/hack v0.0.0-20251022160748-50b120a65f30
knative.dev/networking v0.0.0-20251022155347-806653eb2af8
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
sigs.k8s.io/randfill v1.0.0
sigs.k8s.io/yaml v1.6.0
)
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,14 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82 h1:bqpUZC618+zZRlMSTBFh41d1ZgDpboIEZni5QvfHjyo=
knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82/go.mod h1:ZiyXJ3NpJMnXkjzJFE0rQQ/vkCdINF2x9zDDCqH7v9g=
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
knative.dev/networking v0.0.0-20250902160145-7dad473f6351 h1:Gv/UqbN0AK+ORoT5e2Kg+3+uMW/y9CCdhpXKxYaVV6k=
knative.dev/networking v0.0.0-20250902160145-7dad473f6351/go.mod h1:P/fAhhVDgmLt1ugFX8vBvdSDiUOw2P4SGcjbzoZ02Xw=
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613 h1:iFaJUno9kIDVUuP09wpJkE1sLpdDjT7N+OkVTFMARX8=
knative.dev/caching v0.0.0-20251022154445-1c2168b1a613/go.mod h1:B9qm2jchN0RdPC4l0pOE4YFUq7PccRX2FHkfomehAiA=
knative.dev/hack v0.0.0-20251022160748-50b120a65f30 h1:4fzUJrTmIbqgttXMBuLFC7/m2p0146EM3h9Wn2pBm9U=
knative.dev/hack v0.0.0-20251022160748-50b120a65f30/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
knative.dev/networking v0.0.0-20251022155347-806653eb2af8 h1:QY/NMmxnLVMeZjUhP+w6DT5+U3+n6PP3jaWFKvUfua0=
knative.dev/networking v0.0.0-20251022155347-806653eb2af8/go.mod h1:swS9Gds3ynInxzB1p/YLVF1mc5vtruO33qDjax7xyko=
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b h1:FGFKGId+JPrKdX9PG0tNI4ePWqmEdTNiIOw2zsiPLpo=
knative.dev/pkg v0.0.0-20251022154045-7da1174b871b/go.mod h1:EagZcIVpB9m/bktnIVJM+MvgyXi9q25a8WpCCWULJUY=
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=
Expand Down
9 changes: 7 additions & 2 deletions vendor/knative.dev/hack/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ function report_go_test() {
logfile="${logfile/.xml/.jsonl}"
echo "Running go test with args: ${go_test_args[*]}"
local gotest_retcode=0
go_run gotest.tools/gotestsum@v1.11.0 \
go_run gotest.tools/gotestsum@v1.13.0 \
--format "${GO_TEST_VERBOSITY:-testname}" \
--junitfile "${xml}" \
--junitfile-testsuite-name relative \
Expand Down Expand Up @@ -681,7 +681,7 @@ function start_knative_eventing_extension() {
# Parameters: $1 - tool package for go run.
# $2..$n - parameters passed to the tool.
function go_run() {
local package
local package gotoolchain
package="$1"
if [[ "$package" != *@* ]]; then
abort 'Package for "go_run" needs to have @version'
Expand All @@ -696,6 +696,11 @@ function go_run() {
GORUN_PATH="$(mktemp -t -d -u gopath.XXXXXXXX)"
fi
export GORUN_PATH
gotoolchain="$(go env GOTOOLCHAIN)"
if [[ "$package" == knative.dev/toolbox/* ]]; then
gotoolchain=auto
fi
GOTOOLCHAIN="${gotoolchain}" \
GOPATH="${GORUN_PATH}" \
GOFLAGS='' \
go run "$package" "$@"
Expand Down
2 changes: 1 addition & 1 deletion vendor/knative.dev/hack/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function __build_test_runner_for_module() {
# Don't merge these two lines, or return code will always be 0.
# Get all build tags in go code (ignore /vendor, /hack and /third_party)
local tags
tags="$(go run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
tags="$(go_run knative.dev/toolbox/go-ls-tags@latest --joiner=,)"
local go_pkg_dirs
go_pkg_dirs="$(go list -tags "${tags}" ./...)" || return $?
if [[ -z "${go_pkg_dirs}" ]]; then
Expand Down
4 changes: 4 additions & 0 deletions vendor/knative.dev/pkg/controller/queue_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ func (m *queueMetrics) updateUnfinishedWork() {
// doesn't seem to have non-hacky ways to reset the summary metrics.
var total float64
var oldest float64

m.mu.Lock()
defer m.mu.Unlock()

for _, t := range m.processingStartTimes {
age := m.sinceInSeconds(t)
total += age
Expand Down
8 changes: 4 additions & 4 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# knative.dev/caching v0.0.0-20250902155343-ee61fe0faa82
# knative.dev/caching v0.0.0-20251022154445-1c2168b1a613
## explicit; go 1.24.0
knative.dev/caching/config
knative.dev/caching/pkg/apis/caching
Expand All @@ -1471,10 +1471,10 @@ knative.dev/caching/pkg/client/injection/informers/caching/v1alpha1/image/fake
knative.dev/caching/pkg/client/injection/informers/factory
knative.dev/caching/pkg/client/injection/informers/factory/fake
knative.dev/caching/pkg/client/listers/caching/v1alpha1
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
# knative.dev/hack v0.0.0-20251022160748-50b120a65f30
## explicit; go 1.21
knative.dev/hack
# knative.dev/networking v0.0.0-20250902160145-7dad473f6351
# knative.dev/networking v0.0.0-20251022155347-806653eb2af8
## explicit; go 1.24.0
knative.dev/networking/config
knative.dev/networking/pkg
Expand Down Expand Up @@ -1513,7 +1513,7 @@ knative.dev/networking/pkg/http/stats
knative.dev/networking/pkg/ingress
knative.dev/networking/pkg/k8s
knative.dev/networking/pkg/prober
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
# knative.dev/pkg v0.0.0-20251022154045-7da1174b871b
## explicit; go 1.24.0
knative.dev/pkg/apiextensions/storageversion
knative.dev/pkg/apiextensions/storageversion/cmd/migrate
Expand Down
Loading