Skip to content

Commit 16911ca

Browse files
upgrade to latest dependencies (#1626)
bumping knative.dev/pkg 9aa1144...077dcf0: > 077dcf0 [release-1.19] [controller] fix depth metrics (# 3254) bumping knative.dev/eventing 81bea20...931f60b: > 931f60b [release-1.19] Upgrade to latest dependencies [skip-dot-release] (# 8694) bumping knative.dev/reconciler-test 548dffd...67ad192: > 67ad192 upgrade to latest dependencies (# 823) Signed-off-by: Knative Automation <[email protected]>
1 parent 8db2f48 commit 16911ca

File tree

5 files changed

+19
-17
lines changed

5 files changed

+19
-17
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ require (
2020
k8s.io/client-go v0.33.4
2121
k8s.io/code-generator v0.33.4
2222
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff
23-
knative.dev/eventing v0.46.3
23+
knative.dev/eventing v0.46.4
2424
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
25-
knative.dev/pkg v0.0.0-20250902154944-9aa11443ba68
26-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48
25+
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
26+
knative.dev/reconciler-test v0.0.0-20250912162922-67ad19295884
2727
sigs.k8s.io/controller-runtime v0.19.0
2828
)
2929

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,14 +1163,14 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
11631163
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
11641164
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
11651165
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
1166-
knative.dev/eventing v0.46.3 h1:zX8OgyfLPcMAuV1nT6EdUEelCQ9oKiBmOEgWpr/wdng=
1167-
knative.dev/eventing v0.46.3/go.mod h1:36jvaFTMWklGd89iqE0ikchMkdID1iNbJDLa0aPLmys=
1166+
knative.dev/eventing v0.46.4 h1:Kc3TiJzVJRvH/XE0zT14J1L+OgBykzYzobvCcit8jJE=
1167+
knative.dev/eventing v0.46.4/go.mod h1:KkMqluebpiT7TCXwqUfI0cG2EfZ8yjlapOlwOHYEnL4=
11681168
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
11691169
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1170-
knative.dev/pkg v0.0.0-20250902154944-9aa11443ba68 h1:QlgJtxC1LtNf9k1OMSHdr3dq+HjtOOmB/SV/SklVt2k=
1171-
knative.dev/pkg v0.0.0-20250902154944-9aa11443ba68/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
1172-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48 h1:1a+z3OadrvoRDxYNoHuHtztngc6K6mrbzWJPnsKSnyI=
1173-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48/go.mod h1:diO3IEHuXS3CEveFUZ2sMwVX8AqdRVEmOcOf+t/7kA0=
1170+
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
1171+
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
1172+
knative.dev/reconciler-test v0.0.0-20250912162922-67ad19295884 h1:o+aMyv+92MK4B9BeXv3qAsSQRyO1Qx/HxggV+1aWh8Q=
1173+
knative.dev/reconciler-test v0.0.0-20250912162922-67ad19295884/go.mod h1:3BN2+QgyAHpbKEKephULEVNYyUsqx1QK/ALGOZhliTs=
11741174
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
11751175
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
11761176
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/knative.dev/pkg/controller/queue_metrics.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,15 @@ func (m *queueMetrics) get(item any) {
8888
m.mu.Lock()
8989
defer m.mu.Unlock()
9090

91-
m.depth.Dec()
92-
m.processingStartTimes[item] = m.clock.Now()
93-
9491
if startTime, exists := m.addTimes[item]; exists {
92+
m.depth.Dec()
9593
m.latency.Observe(m.sinceInSeconds(startTime))
9694
delete(m.addTimes, item)
9795
}
96+
97+
if _, exists := m.processingStartTimes[item]; !exists {
98+
m.processingStartTimes[item] = m.clock.Now()
99+
}
98100
}
99101

100102
func (m *queueMetrics) done(item any) {

vendor/knative.dev/pkg/controller/two_lane_queue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ func (q *twoLaneRateLimitingQueue) slowLane() workqueue.TypedInterface[any] {
223223
// It gets the item from fast lane if it has anything, alternatively
224224
// the slow lane.
225225
func (tlq *twoLaneQueue) Get() (any, bool) {
226-
item, ok := tlq.consumerQueue.Get()
226+
item, shutdown := tlq.consumerQueue.Get()
227227
tlq.metrics.get(item)
228-
return item, ok
228+
return item, shutdown
229229
}
230230

231231
// Len returns the sum of lengths.

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ k8s.io/utils/net
12431243
k8s.io/utils/pointer
12441244
k8s.io/utils/ptr
12451245
k8s.io/utils/trace
1246-
# knative.dev/eventing v0.46.3
1246+
# knative.dev/eventing v0.46.4
12471247
## explicit; go 1.24.0
12481248
knative.dev/eventing/cmd/heartbeats
12491249
knative.dev/eventing/pkg/adapter/v2
@@ -1382,7 +1382,7 @@ knative.dev/eventing/test/test_images/print
13821382
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
13831383
## explicit; go 1.21
13841384
knative.dev/hack
1385-
# knative.dev/pkg v0.0.0-20250902154944-9aa11443ba68
1385+
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
13861386
## explicit; go 1.24.0
13871387
knative.dev/pkg/apis
13881388
knative.dev/pkg/apis/duck
@@ -1497,7 +1497,7 @@ knative.dev/pkg/webhook/json
14971497
knative.dev/pkg/webhook/resourcesemantics
14981498
knative.dev/pkg/webhook/resourcesemantics/defaulting
14991499
knative.dev/pkg/webhook/resourcesemantics/validation
1500-
# knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48
1500+
# knative.dev/reconciler-test v0.0.0-20250912162922-67ad19295884
15011501
## explicit; go 1.24.0
15021502
knative.dev/reconciler-test/cmd/eventshub
15031503
knative.dev/reconciler-test/pkg/environment

0 commit comments

Comments
 (0)