From 427ef2af4653ed0590da90cb1b45405ace01d43d Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Thu, 23 Oct 2025 02:08:20 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/pkg aadc6f6...7bf6feb: > 7bf6feb Lock before iterating map so that code does not panic on concurrent write (# 3280) > 487f9df upgrade to latest dependencies (# 3277) > a1339c6 Update community files (# 3276) bumping knative.dev/hack f3f2ddf...4fae780: > 4fae780 Update community files (# 446) bumping knative.dev/networking dd9a926...0bde191: > 0bde191 upgrade to latest dependencies (# 1092) > 2d0f1a8 Update community files (# 1091) Signed-off-by: Knative Automation --- go.mod | 6 +++--- go.sum | 12 ++++++------ vendor/knative.dev/pkg/controller/queue_metrics.go | 4 ++++ vendor/modules.txt | 6 +++--- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 0e2a27b41..d83761b7e 100644 --- a/go.mod +++ b/go.mod @@ -12,9 +12,9 @@ require ( k8s.io/client-go v0.33.5 k8s.io/code-generator v0.33.5 k8s.io/utils v0.0.0-20241210054802-24370beab758 - knative.dev/hack v0.0.0-20251015104416-f3f2ddfc1eac - knative.dev/networking v0.0.0-20251015133420-dd9a9264b907 - knative.dev/pkg v0.0.0-20251015132924-aadc6f6a1012 + knative.dev/hack v0.0.0-20251021013703-4fae78067103 + knative.dev/networking v0.0.0-20251021092443-0bde19154dce + knative.dev/pkg v0.0.0-20251022152246-7bf6febca0b3 sigs.k8s.io/gateway-api v1.3.0 sigs.k8s.io/yaml v1.6.0 ) diff --git a/go.sum b/go.sum index bcd810bf7..ebc38d568 100644 --- a/go.sum +++ b/go.sum @@ -255,12 +255,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-20251015104416-f3f2ddfc1eac h1:q1x9e80IYBpjaSRre1dK5XV5HF4YmS4Au3yk9KsVnGw= -knative.dev/hack v0.0.0-20251015104416-f3f2ddfc1eac/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0= -knative.dev/networking v0.0.0-20251015133420-dd9a9264b907 h1:SyYIDwmUY84zA2ei8LQR1PbOdPswul1uiW9zrfYhNyE= -knative.dev/networking v0.0.0-20251015133420-dd9a9264b907/go.mod h1:BBF9R4ayT7sobPrO2nU/V62XliJS5oJIwgKMs1StcZQ= -knative.dev/pkg v0.0.0-20251015132924-aadc6f6a1012 h1:fG+IuOIPNGvpY65VYLFjzz0Tfv4RwF8b871QW0qH0V4= -knative.dev/pkg v0.0.0-20251015132924-aadc6f6a1012/go.mod h1:TNEqAnhRXuC9a+mUz10UEn7VqOsA2YMlqnZMfyBuoP8= +knative.dev/hack v0.0.0-20251021013703-4fae78067103 h1:j96YY5CLCTytWZsGVzixVvNasRbrni2NuXI54R+IPvA= +knative.dev/hack v0.0.0-20251021013703-4fae78067103/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0= +knative.dev/networking v0.0.0-20251021092443-0bde19154dce h1:INRJxej8DPwRUfXzuBQ6Ldg2/QaHF1tZrBUA8LVTaso= +knative.dev/networking v0.0.0-20251021092443-0bde19154dce/go.mod h1:CMOeNLRWFxcMQALbhhwr6XmsyMX7EuSHNi+Gzfq0HE0= +knative.dev/pkg v0.0.0-20251022152246-7bf6febca0b3 h1:472SARbX5rEir4g3QC/UsKnHNXqdRNbWOe2a4DcJRwk= +knative.dev/pkg v0.0.0-20251022152246-7bf6febca0b3/go.mod h1:8L1vgh3WoZ4OH9gspPSt3QFcMJsrOUBwOs0FuM5Jne8= sigs.k8s.io/gateway-api v1.3.0 h1:q6okN+/UKDATola4JY7zXzx40WO4VISk7i9DIfOvr9M= sigs.k8s.io/gateway-api v1.3.0/go.mod h1:d8NV8nJbaRbEKem+5IuxkL8gJGOZ+FJ+NvOIltV8gDk= sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE= diff --git a/vendor/knative.dev/pkg/controller/queue_metrics.go b/vendor/knative.dev/pkg/controller/queue_metrics.go index 2e61e330e..462a0b91c 100644 --- a/vendor/knative.dev/pkg/controller/queue_metrics.go +++ b/vendor/knative.dev/pkg/controller/queue_metrics.go @@ -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 diff --git a/vendor/modules.txt b/vendor/modules.txt index 38cfc6777..0f2e88d0b 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1012,10 +1012,10 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/ptr k8s.io/utils/trace -# knative.dev/hack v0.0.0-20251015104416-f3f2ddfc1eac +# knative.dev/hack v0.0.0-20251021013703-4fae78067103 ## explicit; go 1.24 knative.dev/hack -# knative.dev/networking v0.0.0-20251015133420-dd9a9264b907 +# knative.dev/networking v0.0.0-20251021092443-0bde19154dce ## explicit; go 1.24.0 knative.dev/networking/config knative.dev/networking/pkg @@ -1059,7 +1059,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-20251015132924-aadc6f6a1012 +# knative.dev/pkg v0.0.0-20251022152246-7bf6febca0b3 ## explicit; go 1.24.0 knative.dev/pkg/apis knative.dev/pkg/apis/duck