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
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ require (
k8s.io/client-go v0.33.4
k8s.io/code-generator v0.33.4
k8s.io/utils v0.0.0-20241210054802-24370beab758
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
knative.dev/hack v0.0.0-20251022160748-50b120a65f30
knative.dev/networking v0.0.0-20251022163549-cc90e8c53309
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85
sigs.k8s.io/gateway-api v1.2.1
sigs.k8s.io/yaml v1.6.0
)
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,12 @@ 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/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-20250912164322-3fcdea3327b7 h1:znAKzAIZRONj/3/sj29h3LymPvXc58nsF6P/8yDqEwc=
knative.dev/networking v0.0.0-20250912164322-3fcdea3327b7/go.mod h1:+yUXx0sIKx5tzyW10GFcUSTfhuxNJhaGgvpXcv6PeHI=
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/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-20251022163549-cc90e8c53309 h1:nYSN4wTgCho3H0iquMxQ3N3UvfHPN77wOHJvonJpmcY=
knative.dev/networking v0.0.0-20251022163549-cc90e8c53309/go.mod h1:RuFNSG12tuma98GvXaj5urbwIzlzQAee+GYykzthOCg=
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85 h1:6cFtFO8JE0AiY66BphR3taXbqdTlupFF69lL/0EhrSE=
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85/go.mod h1:riEe6VGLodQ/KC4zWRnOqE6Lo5/CkKfwW/RQmNUPltU=
sigs.k8s.io/gateway-api v1.2.1 h1:fZZ/+RyRb+Y5tGkwxFKuYuSRQHu9dZtbjenblleOLHM=
sigs.k8s.io/gateway-api v1.2.1/go.mod h1:EpNfEXNjiYfUJypf0eZ0P5iXA9ekSGWaS1WgPaM42X0=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE=
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
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1011,10 +1011,10 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# 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-20250912164322-3fcdea3327b7
# knative.dev/networking v0.0.0-20251022163549-cc90e8c53309
## explicit; go 1.24.0
knative.dev/networking/config
knative.dev/networking/pkg
Expand Down Expand Up @@ -1058,7 +1058,7 @@ knative.dev/networking/test/test_images/runtime/handlers
knative.dev/networking/test/test_images/timeout
knative.dev/networking/test/test_images/wsserver
knative.dev/networking/test/types
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
# knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85
## explicit; go 1.24.0
knative.dev/pkg/apis
knative.dev/pkg/apis/duck
Expand Down
Loading