File tree Expand file tree Collapse file tree 6 files changed +19
-10
lines changed Expand file tree Collapse file tree 6 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ require (
1010 k8s.io/client-go v0.33.4
1111 k8s.io/code-generator v0.33.4
1212 k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
13- knative.dev/hack v0.0.0-20250902154142-af735b2738d6
14- knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
13+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8
14+ knative.dev/pkg v0.0.0-20251022152246-2be9d56c9027
1515)
1616
1717require (
Original file line number Diff line number Diff line change @@ -184,10 +184,10 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
184184k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff /go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8 =
185185k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0 =
186186k8s.io/utils v0.0.0-20241210054802-24370beab758 /go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0 =
187- knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0 =
188- knative.dev/hack v0.0.0-20250902154142-af735b2738d6 /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
189- knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI =
190- knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 /go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts =
187+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8 h1:UQGRZ6nsBfzVGmSQYSN2b/aixYy8FJ+fpuI2KJGLBGo =
188+ knative.dev/hack v0.0.0-20251016122918-f2be520302e8 /go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY =
189+ knative.dev/pkg v0.0.0-20251022152246-2be9d56c9027 h1:+J1lJc4Qu2oHUX9S6sTVxu+nY6Y4cTUQjBCLkbreBuo =
190+ knative.dev/pkg v0.0.0-20251022152246-2be9d56c9027 /go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts =
191191sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE =
192192sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 /go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg =
193193sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016 /go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY =
Original file line number Diff line number Diff 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.
683683function 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 " " $@ "
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -718,10 +718,10 @@ k8s.io/utils/net
718718k8s.io/utils/pointer
719719k8s.io/utils/ptr
720720k8s.io/utils/trace
721- # knative.dev/hack v0.0.0-20250902154142-af735b2738d6
721+ # knative.dev/hack v0.0.0-20251016122918-f2be520302e8
722722## explicit; go 1.21
723723knative.dev/hack
724- # knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
724+ # knative.dev/pkg v0.0.0-20251022152246-2be9d56c9027
725725## explicit; go 1.24.0
726726knative.dev/pkg/apis
727727knative.dev/pkg/apis/duck
You can’t perform that action at this time.
0 commit comments