Skip to content

go1.24 #1963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

go1.24 #1963

wants to merge 1 commit into from

Conversation

RTann
Copy link
Collaborator

@RTann RTann commented Jul 3, 2025

See stackrox/rox-ci-image@0.4.8...0.4.9 for the updated Go version.

Also updated the linters, as they support go1.24 now

@RTann RTann requested a review from a team as a code owner July 3, 2025 17:09
@RTann RTann requested a review from a team as a code owner July 3, 2025 17:14
@@ -36,7 +36,7 @@ var nameRegexp = regexp.MustCompile(`([[:graph:]]+)-([[:digit:]][\-.[:alnum:]]*(
// checkName returns the extracted package name from the above regexp.
func checkName(name string) string {
m := nameRegexp.FindStringSubmatch(name)
if m == nil || len(m) < 2 {
if len(m) < 2 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was called out after the linter update

@RTann RTann requested a review from janisz July 3, 2025 17:15
@msugakov msugakov added the konflux-build Run Konflux in PR. Push commit to trigger it. label Jul 3, 2025
@@ -1,5 +1,5 @@
# Compiling scanner binaries and staging repo2cpe and genesis manifests
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.23@sha256:0a070e4a8f2698b6aba3630a49eb995ff1b0a182d0c5fa264888acf9d535f384 AS builder
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.24@sha256:021ab8e6e4af3d1683b52ec985996f9421edb2111dc697b5781dee3c7595ae00 AS builder
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added konflux-build label because the builds don't trigger in PRs without it (we can revisit).
Please push any/empty commit to this PR to trigger Konflux CI.
Let's make sure openshift-golang-builder is also happy with the change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I forgot the Konflux builds didn't run by default

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like they changed the name of the tag, so I had to update that, too. I chose the option I figured would be best

@RTann RTann force-pushed the go1.24 branch 3 times, most recently from 9b10d05 to 2af62d4 Compare July 3, 2025 17:41

toolchain go1.23.6
toolchain go1.24.3
Copy link
Collaborator Author

@RTann RTann Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I learned we MUST have a toolchain version set to some version available downstream (Konflux kept failing at the prefetch stage until I made this change).

I originally removed the toolchain line and just set go 1.24 (to match the stackrox repo).

1.24 doesn't exist there, but 1.24.3 does. We could just update go 1.24 to go 1.24.3 and remove the toolchain; however, I prefer not requiring anyone who may use this repo as a library be forced to use some specific minor version of Go unless we absolutely require it. I opted to keep go 1.24 and just update the the toolchain to toolchain go1.24.3

Just a heads up we'll probably have to do this for the stackrox repo @janisz @msugakov

@RTann RTann requested a review from msugakov July 3, 2025 18:04
Copy link

openshift-ci bot commented Jul 3, 2025

@RTann: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/slim-e2e-tests f64388c link false /test slim-e2e-tests
ci/prow/e2e-tests f64388c link false /test e2e-tests

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
konflux-build Run Konflux in PR. Push commit to trigger it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants