Skip to content

Commit eac3a0f

Browse files
[release-1.19] Upgrade to latest dependencies (#8774)
upgrade to latest dependencies bumping knative.dev/hack af735b2...50b120a: > 50b120a bump gotestfmt to newest version (# 449) > f2be520 [release-1.19] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 444) bumping knative.dev/hack/schema af735b2...50b120a: > 50b120a bump gotestfmt to newest version (# 449) > f2be520 [release-1.19] 🐛 Fix knative.dev/toolbox for older versions of Golang (# 444) bumping knative.dev/reconciler-test 548dffd...624cba8: > 624cba8 Update default ko version to 0.18.0 (# 837) > b4a9751 upgrade to latest dependencies (# 835) > 2f11b06 upgrade to latest dependencies (# 834) > 67ad192 upgrade to latest dependencies (# 823) bumping knative.dev/pkg 077dcf0...4ebd86b: > 4ebd86b upgrade to latest dependencies (# 3282) > 7da1174 upgrade to latest dependencies (# 3281) > 2be9d56 Lock before iterating map so that code does not panic on concurrent write (# 3279) Signed-off-by: Knative Automation <[email protected]>
1 parent f53c251 commit eac3a0f

File tree

7 files changed

+29
-20
lines changed

7 files changed

+29
-20
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ require (
4848
k8s.io/client-go v0.33.4
4949
k8s.io/code-generator v0.33.4
5050
k8s.io/utils v0.0.0-20241210054802-24370beab758
51-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6
52-
knative.dev/hack/schema v0.0.0-20250902154142-af735b2738d6
53-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
54-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48
51+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30
52+
knative.dev/hack/schema v0.0.0-20251022160748-50b120a65f30
53+
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85
54+
knative.dev/reconciler-test v0.0.0-20251023120348-624cba8ba108
5555
sigs.k8s.io/randfill v1.0.0
5656
sigs.k8s.io/yaml v1.6.0
5757
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,14 +1129,14 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
11291129
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
11301130
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
11311131
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
1132-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6 h1:JYZgO9bni32T+BB5v6WpeRFm1hjj+EypBLZCk6HZBt0=
1133-
knative.dev/hack v0.0.0-20250902154142-af735b2738d6/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1134-
knative.dev/hack/schema v0.0.0-20250902154142-af735b2738d6 h1:RIPnscHomWR2WxXJ84/JOU72SSatNZX+nsA2mN9B39g=
1135-
knative.dev/hack/schema v0.0.0-20250902154142-af735b2738d6/go.mod h1:KkibP1IazICP5ClxwN5D26LDSygsqbYnVGuGFTsHNOQ=
1136-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8 h1:n0BMHXIem9MyDkK4vfA4Vzdxaf1e+EeLJ6k+8exCjjI=
1137-
knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8/go.mod h1:a1amDzo4YIUNuGeDgEz/uDHs5MQVYI1DXnRnEpWCAts=
1138-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48 h1:1a+z3OadrvoRDxYNoHuHtztngc6K6mrbzWJPnsKSnyI=
1139-
knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48/go.mod h1:diO3IEHuXS3CEveFUZ2sMwVX8AqdRVEmOcOf+t/7kA0=
1132+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30 h1:4fzUJrTmIbqgttXMBuLFC7/m2p0146EM3h9Wn2pBm9U=
1133+
knative.dev/hack v0.0.0-20251022160748-50b120a65f30/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1134+
knative.dev/hack/schema v0.0.0-20251022160748-50b120a65f30 h1:umO7erk67cmi93W+dtr+KszVuCC765GL/0RwCbULRxw=
1135+
knative.dev/hack/schema v0.0.0-20251022160748-50b120a65f30/go.mod h1:KkibP1IazICP5ClxwN5D26LDSygsqbYnVGuGFTsHNOQ=
1136+
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85 h1:6cFtFO8JE0AiY66BphR3taXbqdTlupFF69lL/0EhrSE=
1137+
knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85/go.mod h1:riEe6VGLodQ/KC4zWRnOqE6Lo5/CkKfwW/RQmNUPltU=
1138+
knative.dev/reconciler-test v0.0.0-20251023120348-624cba8ba108 h1:TtUzomlP3ZdcnSzTEvICDKJrngpZF5yy2FzlxLnBL0U=
1139+
knative.dev/reconciler-test v0.0.0-20251023120348-624cba8ba108/go.mod h1:n81D9QPYPKvjpVkxYpvfwRX9VWOVtCtBzni3ZRpOkrw=
11401140
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
11411141
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
11421142
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=

vendor/knative.dev/hack/library.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ function report_go_test() {
588588
logfile="${logfile/.xml/.jsonl}"
589589
echo "Running go test with args: ${go_test_args[*]}"
590590
local gotest_retcode=0
591-
go_run gotest.tools/gotestsum@v1.11.0 \
591+
go_run gotest.tools/gotestsum@v1.13.0 \
592592
--format "${GO_TEST_VERBOSITY:-testname}" \
593593
--junitfile "${xml}" \
594594
--junitfile-testsuite-name relative \
@@ -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.
683683
function 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" "$@"

vendor/knative.dev/hack/presubmit-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

vendor/knative.dev/reconciler-test/pkg/images/ko/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var ErrKoPublishFailed = errors.New("ko publish failed")
3030
func Publish(ctx context.Context, path string) (string, error) {
3131
version := os.Getenv("GOOGLE_KO_VERSION")
3232
if version == "" {
33-
version = "v0.15.2"
33+
version = "v0.18.0"
3434
}
3535
args := []string{
3636
"go", "run", fmt.Sprintf("github.com/google/ko@%s", version),

vendor/modules.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,16 +1230,16 @@ k8s.io/utils/pointer
12301230
k8s.io/utils/ptr
12311231
k8s.io/utils/strings/slices
12321232
k8s.io/utils/trace
1233-
# knative.dev/hack v0.0.0-20250902154142-af735b2738d6
1233+
# knative.dev/hack v0.0.0-20251022160748-50b120a65f30
12341234
## explicit; go 1.21
12351235
knative.dev/hack
1236-
# knative.dev/hack/schema v0.0.0-20250902154142-af735b2738d6
1236+
# knative.dev/hack/schema v0.0.0-20251022160748-50b120a65f30
12371237
## explicit; go 1.21
12381238
knative.dev/hack/schema/commands
12391239
knative.dev/hack/schema/docs
12401240
knative.dev/hack/schema/registry
12411241
knative.dev/hack/schema/schema
1242-
# knative.dev/pkg v0.0.0-20250909011231-077dcf0d00e8
1242+
# knative.dev/pkg v0.0.0-20251022162148-4ebd86bc2d85
12431243
## explicit; go 1.24.0
12441244
knative.dev/pkg/apiextensions/storageversion
12451245
knative.dev/pkg/apiextensions/storageversion/cmd/migrate
@@ -1399,7 +1399,7 @@ knative.dev/pkg/webhook/resourcesemantics
13991399
knative.dev/pkg/webhook/resourcesemantics/conversion
14001400
knative.dev/pkg/webhook/resourcesemantics/defaulting
14011401
knative.dev/pkg/webhook/resourcesemantics/validation
1402-
# knative.dev/reconciler-test v0.0.0-20250902155644-548dffd12a48
1402+
# knative.dev/reconciler-test v0.0.0-20251023120348-624cba8ba108
14031403
## explicit; go 1.24.0
14041404
knative.dev/reconciler-test/cmd/eventshub
14051405
knative.dev/reconciler-test/pkg/environment

0 commit comments

Comments
 (0)