Skip to content

Commit 274533b

Browse files
authored
Upgrade to Go 1.24 (#2132)
Summary: Upgrade to Go 1.24 Relevant Issues: N/A Type of change: /kind cleanup Test Plan: Existing tests --------- Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent f7504b5 commit 274533b

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

WORKSPACE

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pl_go_overrides()
3333

3434
go_download_sdk(
3535
name = "go_sdk",
36-
version = "1.21.0",
36+
version = "1.24.0",
3737
)
3838

3939
go_rules_dependencies()
@@ -251,8 +251,7 @@ go_download_sdk(
251251
go_download_sdk(
252252
name = "go_sdk_boringcrypto",
253253
experiments = ["boringcrypto"],
254-
# TODO(james): update this to 1.21.0, once there is a 1.21.1 release.
255-
version = "1.20.13",
254+
version = "1.23.5",
256255
)
257256

258257
pip_parse(

bazel/pl_build_system.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
2323
load("@rules_python//python:defs.bzl", "py_test")
2424
load("//bazel:toolchain_transitions.bzl", "qemu_interactive_runner")
2525

26-
pl_boringcrypto_go_sdk = ["1.20.13"]
26+
pl_boringcrypto_go_sdk = ["1.23.5"]
2727
pl_supported_go_sdk_versions = ["1.18", "1.19", "1.20", "1.21", "1.22", "1.23"]
2828

2929
# The last version in this list corresponds to the boringcrypto go sdk version.

docker.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DOCKER_IMAGE_TAG=202409092344
2-
LINTER_IMAGE_DIGEST=18436897f607dd6b1926c12de13be7e9ed668a17cff133e4da90aad0112a406f
3-
DEV_IMAGE_DIGEST=83eba02bf4ced64161276dee88dcd6f02de5951bb3ce5346a1182c70498156aa
4-
DEV_IMAGE_WITH_EXTRAS_DIGEST=27ff4d9111b77516fdf73715ba6ea23d02de3b790d88f6f70a48c5e1ec53570c
1+
DOCKER_IMAGE_TAG=202502242148
2+
LINTER_IMAGE_DIGEST=eb7613e8aab9eb4620d6fae2618c966092abca8734abf90f0238db7de4535f15
3+
DEV_IMAGE_DIGEST=8316e718b16de940e2a5ac64fb6e57dc9ed28ca2ed437302e339964e9b42c9f2
4+
DEV_IMAGE_WITH_EXTRAS_DIGEST=b6d4c2404b30d06c2322d531620dcbe810a2c534f1cd0aa2389c75ed91d9bc24

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module px.dev/pixie
22

3-
go 1.21
3+
go 1.24
44

55
require (
66
cloud.google.com/go v0.81.0

src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/dwarvifier_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,21 +1807,21 @@ probes {
18071807
scalar_var {
18081808
name: "main__IntStruct_sym_addr1"
18091809
type: UINT64
1810-
constant: "4989600"
1810+
constant: "4989632"
18111811
}
18121812
}
18131813
vars {
18141814
scalar_var {
18151815
name: "runtime__errorString_sym_addr2"
18161816
type: UINT64
1817-
constant: "4989792"
1817+
constant: "4989824"
18181818
}
18191819
}
18201820
vars {
18211821
scalar_var {
18221822
name: "internal___poll__errNetClosing_sym_addr3"
18231823
type: UINT64
1824-
constant: "4989824"
1824+
constant: "4989856"
18251825
}
18261826
}
18271827
vars {

tools/chef/base_image_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
202409092308
1+
202502242123

tools/chef/cookbooks/px_dev/attributes/linux.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
'648b599397548e4bb92429eec6391374c2cbb0edb835e3b3f03d4281c011f401'
3434

3535
default['golang']['download_path'] =
36-
'https://go.dev/dl/go1.21.0.linux-amd64.tar.gz'
36+
'https://go.dev/dl/go1.24.0.linux-amd64.tar.gz'
3737
default['golang']['sha256'] =
38-
'd0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742'
38+
'dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858'
3939

4040
default['golangci-lint']['download_path'] =
4141
'https://github.com/golangci/golangci-lint/releases/download/v1.51.1/golangci-lint-1.51.1-linux-amd64.tar.gz'

tools/chef/cookbooks/px_dev/attributes/mac_os_x.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
'8d3709d957c7115610e764621569728be102d213fee15bc1d1aa9d465eb2c258'
3535

3636
default['golang']['download_path'] =
37-
'https://go.dev/dl/go1.21.0.darwin-amd64.tar.gz'
37+
'https://go.dev/dl/go1.24.0.darwin-amd64.tar.gz'
3838
default['golang']['sha256'] =
39-
'b314de9f704ab122c077d2ec8e67e3670affe8865479d1f01991e7ac55d65e70'
39+
'7af054e5088b68c24b3d6e135e5ca8d91bbd5a05cb7f7f0187367b3e6e9e05ee'
4040

4141
default['golangci-lint']['download_path'] =
4242
'https://github.com/golangci/golangci-lint/releases/download/v1.51.1/golangci-lint-1.51.1-darwin-amd64.tar.gz'

0 commit comments

Comments
 (0)