Skip to content

Commit 8e60d3b

Browse files
chore(deps): update to Go 1.24.10 and module golang.org/x/crypto to v0.45.0 [security] (main) (#1566)
Signed-off-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com> Signed-off-by: Barabanov, Alexander <[email protected]> Co-authored-by: oep-renovate[bot] <212772560+oep-renovate[bot]@users.noreply.github.com> Co-authored-by: Barabanov, Alexander <[email protected]>
1 parent 55200e4 commit 8e60d3b

File tree

25 files changed

+98
-117
lines changed

25 files changed

+98
-117
lines changed

.github/renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
{
195195
enabled: true,
196196
matchPackageNames: ["golang", "go"],
197-
allowedVersions: "<1.24",
197+
allowedVersions: "<1.25",
198198
groupName: "Go version",
199199
groupSlug: "go-version",
200200
schedule: ["* * * * 0"], // weekly

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup GO
6363
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
6464
with:
65-
go-version: "1.23"
65+
go-version: "1.24"
6666

6767
# Initializes the CodeQL tools for scanning.
6868
- name: Initialize CodeQL

.github/workflows/component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
REGISTRY: ${{ inputs.registry }}
8282
BUILDER_REGISTRY: ghcr.io/open-edge-platform/geti/builders
8383
PYTHON_BUILDER_IMAGE: python-builder:v1.0.1
84-
GO_BUILDER_IMAGE: go-builder:v1.0.0
84+
GO_BUILDER_IMAGE: go-builder:v1.1.0
8585
steps:
8686
- name: Harden the runner (audit all outbound calls)
8787
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2

.github/workflows/libs_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup GO
7373
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
7474
with:
75-
go-version: "1.23"
75+
go-version: "1.24"
7676

7777
- name: Static code analysis
7878
run: make -C "${COMPONENT_DIR}" static-code-analysis

interactive_ai/libs/iai_core_go/entities/video_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package entities
55

66
import (
7-
"context"
87
"path/filepath"
98
"testing"
109

@@ -13,7 +12,7 @@ import (
1312

1413
func TestNewVideo(t *testing.T) {
1514
path := "../test_data/test_mp4.mp4"
16-
video := NewVideo(context.Background(), path)
15+
video := NewVideo(t.Context(), path)
1716
assert.Equal(t, path, video.FilePath)
1817
assert.InEpsilon(t, float64(30), video.FPS, 0.0001)
1918
}

interactive_ai/libs/iai_core_go/frames/extractors_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package frames
55

66
import (
7-
"context"
87
"io"
98
"testing"
109

@@ -24,7 +23,7 @@ func BenchmarkExtractFramesCLI(b *testing.B) {
2423
b.Skip()
2524
}
2625
frameReader := new(FramerReaderImpl)
27-
video := entities.NewVideo(context.Background(), VPath)
26+
video := entities.NewVideo(b.Context(), VPath)
2827
for range b.N {
2928
for j := range (end-start)/skip + 1 {
3029
_, err := frameReader.ReadFrameToBufferFps(video.FilePath, start+skip*j, video.FPS)
@@ -37,7 +36,7 @@ func BenchmarkExtractFramesCLIPipe(b *testing.B) {
3736
if testing.Short() {
3837
b.Skip()
3938
}
40-
ctx := context.Background()
39+
ctx := b.Context()
4140
frameExtractor := NewFFmpegCLIFrameExtractor()
4241
video := entities.NewVideo(ctx, VPath)
4342
for range b.N {

interactive_ai/libs/iai_core_go/frames/ffmpegreader_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package frames
55

66
import (
7-
"context"
87
"testing"
98

109
"github.com/stretchr/testify/assert"
@@ -21,7 +20,7 @@ func TestReadFrameToBuffer(t *testing.T) {
2120
}
2221

2322
func TestReadFrameToBufferFps(t *testing.T) {
24-
video := entities.NewVideo(context.Background(), VideoPath)
23+
video := entities.NewVideo(t.Context(), VideoPath)
2524
frameReader := new(FramerReaderImpl)
2625
_, err := frameReader.ReadFrameToBufferFps(video.FilePath, 0, video.FPS)
2726
assert.NoError(t, err)

interactive_ai/libs/iai_core_go/go.mod

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module geti.com/iai_core
22

3-
go 1.23.3
3+
go 1.24.0
44

5-
toolchain go1.23.12
5+
toolchain go1.24.10
66

77
require (
88
github.com/caarlos0/env/v11 v11.2.2
@@ -25,6 +25,7 @@ require (
2525

2626
require (
2727
dario.cat/mergo v1.0.0 // indirect
28+
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
2829
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
2930
github.com/Microsoft/go-winio v0.6.2 // indirect
3031
github.com/aws/aws-sdk-go v1.55.5 // indirect
@@ -33,7 +34,6 @@ require (
3334
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3435
github.com/cloudwego/base64x v0.1.4 // indirect
3536
github.com/cloudwego/iasm v0.2.0 // indirect
36-
github.com/containerd/containerd v1.7.27 // indirect
3737
github.com/containerd/log v0.1.0 // indirect
3838
github.com/containerd/platforms v0.2.1 // indirect
3939
github.com/cpuguy83/dockercfg v0.3.2 // indirect
@@ -93,19 +93,21 @@ require (
9393
github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.1 // indirect
9494
github.com/yusufpapurcu/wmi v1.2.4 // indirect
9595
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
96+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 // indirect
9697
go.opentelemetry.io/otel/log v0.4.0 // indirect
9798
go.opentelemetry.io/otel/metric v1.32.0 // indirect
9899
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
99100
go.uber.org/multierr v1.11.0 // indirect
100101
golang.org/x/arch v0.9.0 // indirect
101-
golang.org/x/crypto v0.36.0 // indirect
102-
golang.org/x/net v0.38.0 // indirect
103-
golang.org/x/sys v0.31.0 // indirect
104-
golang.org/x/text v0.23.0 // indirect
102+
golang.org/x/crypto v0.45.0 // indirect
103+
golang.org/x/net v0.47.0 // indirect
104+
golang.org/x/sys v0.38.0 // indirect
105+
golang.org/x/text v0.31.0 // indirect
105106
golang.org/x/time v0.6.0 // indirect
106107
google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a // indirect
107108
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect
108109
google.golang.org/grpc v1.70.0 // indirect
109110
google.golang.org/protobuf v1.35.2 // indirect
111+
gopkg.in/yaml.v2 v2.4.0 // indirect
110112
gopkg.in/yaml.v3 v3.0.1 // indirect
111113
)

interactive_ai/libs/iai_core_go/go.sum

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/
2222
github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w=
2323
github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
2424
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
25-
github.com/containerd/containerd v1.7.27 h1:yFyEyojddO3MIGVER2xJLWoCIn+Up4GaHFquP7hsFII=
26-
github.com/containerd/containerd v1.7.27/go.mod h1:xZmPnl75Vc+BLGt4MIfu6bp+fy03gdHAn9bz+FreFR0=
2725
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
2826
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
2927
github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A=
@@ -38,8 +36,6 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
3836
github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4=
3937
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
4038
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
41-
github.com/docker/docker v27.1.1+incompatible h1:hO/M4MtV36kzKldqnA37IWhebRA+LnqqcqDja6kVaKY=
42-
github.com/docker/docker v27.1.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
4339
github.com/docker/docker v28.0.0+incompatible h1:Olh0KS820sJ7nPsBKChVhk5pzqcwDR15fumfAd/p9hM=
4440
github.com/docker/docker v28.0.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
4541
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
@@ -248,8 +244,8 @@ golang.org/x/arch v0.9.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
248244
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
249245
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
250246
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
251-
golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34=
252-
golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc=
247+
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
248+
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
253249
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
254250
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
255251
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -258,8 +254,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
258254
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
259255
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
260256
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
261-
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
262-
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
257+
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
258+
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
263259
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
264260
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
265261
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -274,15 +270,15 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
274270
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
275271
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
276272
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
277-
golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=
278-
golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
279-
golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y=
280-
golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g=
273+
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
274+
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
275+
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
276+
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
281277
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
282278
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
283279
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
284-
golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=
285-
golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4=
280+
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
281+
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
286282
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
287283
golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U=
288284
golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=

interactive_ai/services/inference_gateway/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1.7
22

33
# Builder image
4-
FROM golang:1.23.12@sha256:60deed95d3888cc5e4d9ff8a10c54e5edc008c6ae3fba6187be6fb592e19e8c0 AS build
4+
FROM golang:1.24.10@sha256:7b13449f08287fdb53114d65bdf20eb3965e4e54997903b5cb9477df0ea37c12 AS build
55

66
WORKDIR /build/interactive_ai/service
77

0 commit comments

Comments
 (0)