-
Notifications
You must be signed in to change notification settings - Fork 249
ROSAENG-61053 | chore: bump Go to 1.26.3 #3321
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
olucasfreitas
wants to merge
2
commits into
openshift:master
Choose a base branch
from
olucasfreitas:ROSAENG-61053-go126
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require github.com/bwplotka/bingo v0.10.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require github.com/daixiang0/gci v0.14.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require github.com/go-bindata/go-bindata v3.1.2+incompatible // go-bindata |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require github.com/golangci/golangci-lint/v2 v2.12.2 // cmd/golangci-lint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require go.uber.org/mock v0.4.0 // mockgen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| module github.com/openshift/rosa | ||
|
|
||
| go 1.25.8 | ||
| go 1.26.3 | ||
|
|
||
| require ( | ||
| github.com/AlecAivazis/survey/v2 v2.3.7 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: openshift/rosa
Length of output: 450
Keep the IDP error strings aligned with the existing e2e assertions.
ValidateIdpNamenow returnsthe name "cluster-admin" is reserved for admin user IDP, andgetMappingMethodnow saysexpected a valid mapping method; options are %s. Existing e2e tests still look forThe name "cluster-admin" is reserved for admin user IDPandExpected a valid mapping method. Options are [add claim generate lookup], so this wording change will break those checks unless the tests are updated too.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@olucasfreitas seems valid wdyt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Length of output: 3759
Confirmed:
tests/e2e/test_rosacli_idp.go(Lines 514 and 815) still asserts the old wording (Expected a valid mapping method. Options are [...]andThe name "cluster-admin" is reserved for admin user IDP), which will break oncecmd/create/idp/cmd.goemits the new lower-case strings. This needs to be fixed in one of these files before merging.@amandahlaConfirmed — the e2e tests still expect the old wording:tests/e2e/test_rosacli_idp.goLine 514:"Failed to create IDP for cluster '%s': Expected a valid mapping method. Options are [add claim generate lookup]"tests/e2e/test_rosacli_idp.goLine 815:Expect(textData).Should(ContainSubstring("The name \"cluster-admin\" is reserved for admin user IDP"))Since
cmd/create/idp/cmd.gonow returns:"expected a valid mapping method; options are %s"(Line 553)"the name \"cluster-admin\" is reserved for admin user IDP"(Line 460)these e2e assertions will fail unless updated. You'll need to update the two
tests/e2e/test_rosacli_idp.goassertions to match the new lower-case wording (or revert the wording change incmd.goif you prefer to keep the old strings for consistency with e2e expectations).🧬 Code Graph Analysis Results
Possibly relevant snippet(s)
pkg/output/reporter.go(lines 39-45)pkg/output/reporter.go(lines 47-51)pkg/output/reporter.go(lines 53-55)pkg/output/reporter.go(lines 57-59)pkg/reporter/reporter.go(lines 51-56)pkg/reporter/reporter.go(lines 59-66)pkg/reporter/reporter.go(lines 69-76)pkg/reporter/reporter.go(lines 83-91)