Skip to content

ROSAENG-61054 | chore: bump Go to 1.26.3#1240

Open
amandahla wants to merge 1 commit into
terraform-redhat:mainfrom
amandahla:ROSAENG-61054-bump-go-1.26.4
Open

ROSAENG-61054 | chore: bump Go to 1.26.3#1240
amandahla wants to merge 1 commit into
terraform-redhat:mainfrom
amandahla:ROSAENG-61054-bump-go-1.26.4

Conversation

@amandahla

@amandahla amandahla commented Jul 2, 2026

Copy link
Copy Markdown
Member

PR Summary

Bump the provider Go toolchain to 1.26.3, align CI/Docker/Renovate/docs with go.mod, and apply go fix ./... mechanical refactors. All pre-push checks pass except changed-files coverage (20.8% vs 80%); adding tests for untested provider paths is out of scope for this ticket (maintainer-approved exception).

Note: We are only migrating to 1.26.3 instead of 1.26.4 because the image ocp_builder_rhel-9-golang-1.26-openshift-4.23 is not updated yet (only the ubi9/go-toolset). There is an automation in place to update ocp images but they might take a few days once the go-toolset is available.

Detailed Description of the Issue

The repository baseline was Go 1.25.8. ROSAENG-61054 upgrades to 1.26.3 following the same pattern as #1096.

After the bump, go fix ./... applies Go 1.26 fixers (interface{}any, loop copies → maps.Copy, ioutilos, slices.Contains). Those edits touch many provider files but do not change intended runtime behavior.

Related Issues and PRs

Type of Change

  • feat - adds a new user-facing capability.
  • fix - resolves an incorrect behavior or bug.
  • docs - updates documentation only.
  • style - formatting or naming changes with no logic impact.
  • refactor - code restructuring with no behavior change.
  • test - adds or updates tests only.
  • chore - maintenance work (tooling, housekeeping, non-product code).
  • build - changes build system, packaging, or dependencies for build output.
  • ci - changes CI pipelines, jobs, or automation workflows.
  • perf - improves performance without changing intended behavior.

Previous Behavior

  • go.mod declared Go 1.25.8
  • Prow image used rhel-9-golang-1.25-openshift-4.22
  • Renovate pinned k8s.io/apimachinery below v0.36 (Go 1.26+ requirement)
  • Code used pre-1.26 idioms (interface{}, manual map copies, ioutil)

Behavior After This Change

  • go.mod declares Go 1.26.3 (single source of truth)
  • .ci-operator.yamlrhel-9-golang-1.26-openshift-4.23
  • Dockerfile builder → ubi9/go-toolset:1.26
  • renovate.json constraint → 1.26.3; apimachinery pin removed
  • Docs minimum Go version → 1.26
  • go fix refactors across provider, tests, subsystem, and logging
  • No intended provider behavior or schema changes

How to Test (Step-by-Step)

Preconditions

  • Go 1.26.3 (e.g. mise use go@1.26.3)
  • Terraform for subsystem tests

Test Steps

  1. make fmt-check build check-gen lint docs-lint license-check check-subsystem-registry
  2. make build install && make test
  3. make coverage-changed-files (expected to fail — see below)

Expected Results

  • Steps 1–2 pass
  • Step 3 fails with ~20.8% changed-line coverage (maintainer-approved exception)

Proof of the Fix

Local verification (2026-07-02, commit 59b3a7b4):

PASS: fmt-check
PASS: build
PASS: check-gen
PASS: lint
PASS: docs-lint
PASS: license-check
PASS: check-subsystem-registry
PASS: test

FAIL: coverage-changed-files
  changed lines: (statements) 20.8%, coverage is less than 80.0%

gocovdiff summary (changed lines in provider/):

Area Changed-line coverage
Total 20.8%
createClusterObject, createClassicClusterObject, createHcpClusterObject, fillAdditionalCa 100%
Update, upgradeClusterIfNeeded, scheduleUpgrade (classic/HCP) 0%
pollClusterCurrentCompute, pollClusterState 0%
CRUD helpers in logforwarder, imagemirror, etc. 0%

Failure is from mechanical any / maps.Copy edits on lines inside already-untested functions, not new logic.

Coverage exception (maintainer sign-off)

make pre-push-checks will fail in CI at the coverage step. This is intentional for this PR:

  • go fix touched 15 provider production files with mechanical edits only
  • Meeting the 80% changed-line threshold would require substantial new unit/subsystem tests across upgrade paths, CRUD handlers, and helpers — out of scope for a Go bump chore
  • All other pre-push checks pass locally
  • Reviewer/maintainer approval requested to merge despite red coverage check

Breaking Changes

  • No breaking changes
  • Yes, this PR introduces a breaking change (describe impact and migration plan below)

Breaking Change Details / Migration Plan

N/A

Developer Verification Checklist

  • Commit subject/title follows [JIRA-TICKET] | [TYPE][(scope)][!]: <MESSAGE>.
  • PR description clearly explains both what changed and why.
  • Relevant Jira/GitHub issues and related PRs are linked.
  • make install-hooks has been run in this clone.
  • make pre-push-checks passes. (Fails at coverage only — see Coverage exception.)
  • Documentation was added/updated where appropriate.
  • Any risk, limitation, or follow-up work is documented.

Testing (check all that apply; use N/A when not relevant)

  • N/A — no provider resource/data source or provider/ / internal/ logic changes.
  • New or changed resource / data source — subsystem test added or updated under subsystem/classic/ or subsystem/hcp/.
  • New or changed validation, plan modifiers, or helpers — unit tests in the same package (*_test.go), or a subsystem negative test when integration-only (not both for the same cases unless a wiring smoke test is needed).
  • Schema / config validation — unit test and/or subsystem test expecting plan/apply failure (one primary layer per rule; see CONTRIBUTING.md).
  • make check-subsystem-registry passes.
  • I manually tested the change when behavior is user-visible.

Summary by CodeRabbit

Summary of changes

  • Chores

    • Upgraded the project build and tooling to Go 1.26.3.
  • Documentation

    • Updated setup prerequisites to require Go 1.26 or newer.
  • Bug Fixes

    • Fixed JSON output so trusted_ips is always included, even when empty/zero.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 293da504-dc28-4b38-80da-d38d23e349fa

📥 Commits

Reviewing files that changed from the base of the PR and between 2689f0a and ce77dba.

📒 Files selected for processing (75)
  • .ci-operator.yaml
  • CHANGELOG.md
  • Dockerfile
  • docs/index.md
  • go.mod
  • internal/ocm/resource/cluster_test.go
  • logging/logging.go
  • provider/cluster/cluster_resource.go
  • provider/cluster/cluster_resource_test.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource_test.go
  • provider/clusterrosa/hcp/resource.go
  • provider/clusterrosa/hcp/resource_test.go
  • provider/clusterrosa/hcp/shared_vpc/shared_vpc.go
  • provider/common/cluster_waiter.go
  • provider/common/helpers_test.go
  • provider/dnsdomain/dns_domain_resource.go
  • provider/identityprovider/identity_provider_resource.go
  • provider/imagemirror/image_mirror_resource.go
  • provider/logforwarder/resource.go
  • provider/machinepool/classic/machine_pool_resource.go
  • provider/machinepool/hcp/machine_pool_resource.go
  • provider/ocmrole/rosa_ocm_role_resource.go
  • provider/oidcconfig/rosa_oidc_config_resource.go
  • provider/registry_config/helpers.go
  • provider/tuningconfigs/resource.go
  • renovate.json
  • subsystem/classic/cluster_autoscaler_resource_test.go
  • subsystem/classic/default_ingress_resource_test.go
  • subsystem/classic/kubeletconfig_resource_test.go
  • subsystem/classic/rosa_ocm_policies_data_source_test.go
  • subsystem/classic/rosa_operator_roles_data_source_test.go
  • subsystem/framework/framework.go
  • subsystem/hcp/breakglasscredential_resource_test.go
  • subsystem/hcp/cluster_autoscaler_resource_test.go
  • subsystem/hcp/rosa_hcp_operator_roles_data_source_test.go
  • subsystem/hcp/rosa_ocm_policies_data_source_test.go
  • subsystem/hcp/tuningconfigs_test.go
  • templates/index.md.tmpl
  • tests/e2e/account_roles_test.go
  • tests/e2e/break_glass_credential_test.go
  • tests/e2e/classic_ingress_test.go
  • tests/e2e/classic_machine_pool_test.go
  • tests/e2e/cluster_autoscaler_day2_test.go
  • tests/e2e/cluster_creation_test.go
  • tests/e2e/cluster_edit_test.go
  • tests/e2e/cluster_misc_day2_test.go
  • tests/e2e/cluster_upgrade_test.go
  • tests/e2e/hcp_image_mirror_test.go
  • tests/e2e/hcp_ingress_test.go
  • tests/e2e/hcp_machine_pool_test.go
  • tests/e2e/idps_test.go
  • tests/e2e/kubelet_config_test.go
  • tests/e2e/machine_pool_test.go
  • tests/e2e/negative_day_one_test.go
  • tests/e2e/trust_policy_external_id_test.go
  • tests/e2e/tuning_config_test.go
  • tests/utils/cms/cms.go
  • tests/utils/cms/versions.go
  • tests/utils/exec/cluster.go
  • tests/utils/exec/idps.go
  • tests/utils/exec/image-mirrors.go
  • tests/utils/exec/machine-pools.go
  • tests/utils/exec/tf-exec.go
  • tests/utils/exec/trusted-ips.go
  • tests/utils/exec/tuning-configs.go
  • tests/utils/helper/file.go
  • tests/utils/helper/helper.go
  • tests/utils/helper/iam_policy_fetcher.go
  • tests/utils/helper/map.go
  • tests/utils/helper/parse_yaml.go
  • tests/utils/log/logger.go
  • tests/utils/openshift/console.go
  • tests/utils/openshift/openshift.go
  • tests/utils/profilehandler/handler.go
✅ Files skipped from review due to trivial changes (16)
  • .ci-operator.yaml
  • go.mod
  • templates/index.md.tmpl
  • provider/dnsdomain/dns_domain_resource.go
  • docs/index.md
  • tests/e2e/break_glass_credential_test.go
  • CHANGELOG.md
  • tests/utils/cms/versions.go
  • subsystem/classic/default_ingress_resource_test.go
  • tests/utils/helper/map.go
  • provider/identityprovider/identity_provider_resource.go
  • provider/common/cluster_waiter.go
  • tests/e2e/trust_policy_external_id_test.go
  • provider/cluster/cluster_resource.go
  • tests/e2e/account_roles_test.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource.go
🚧 Files skipped from review as they are similar to previous changes (59)
  • Dockerfile
  • provider/common/helpers_test.go
  • subsystem/classic/rosa_operator_roles_data_source_test.go
  • tests/utils/exec/idps.go
  • provider/oidcconfig/rosa_oidc_config_resource.go
  • tests/utils/helper/file.go
  • tests/utils/exec/trusted-ips.go
  • subsystem/classic/kubeletconfig_resource_test.go
  • provider/cluster/cluster_resource_test.go
  • subsystem/classic/rosa_ocm_policies_data_source_test.go
  • subsystem/hcp/rosa_ocm_policies_data_source_test.go
  • logging/logging.go
  • tests/utils/openshift/openshift.go
  • subsystem/hcp/rosa_hcp_operator_roles_data_source_test.go
  • provider/machinepool/classic/machine_pool_resource.go
  • subsystem/hcp/cluster_autoscaler_resource_test.go
  • tests/utils/helper/parse_yaml.go
  • tests/utils/log/logger.go
  • provider/ocmrole/rosa_ocm_role_resource.go
  • provider/tuningconfigs/resource.go
  • subsystem/framework/framework.go
  • provider/logforwarder/resource.go
  • tests/e2e/machine_pool_test.go
  • provider/imagemirror/image_mirror_resource.go
  • tests/e2e/hcp_image_mirror_test.go
  • tests/utils/helper/iam_policy_fetcher.go
  • tests/utils/exec/tuning-configs.go
  • tests/e2e/cluster_upgrade_test.go
  • tests/e2e/tuning_config_test.go
  • renovate.json
  • subsystem/hcp/breakglasscredential_resource_test.go
  • tests/e2e/hcp_ingress_test.go
  • tests/e2e/cluster_misc_day2_test.go
  • subsystem/hcp/tuningconfigs_test.go
  • provider/clusterrosa/hcp/shared_vpc/shared_vpc.go
  • tests/utils/openshift/console.go
  • tests/e2e/cluster_creation_test.go
  • provider/registry_config/helpers.go
  • provider/clusterrosa/hcp/resource_test.go
  • tests/utils/exec/tf-exec.go
  • tests/e2e/kubelet_config_test.go
  • subsystem/classic/cluster_autoscaler_resource_test.go
  • tests/utils/exec/image-mirrors.go
  • tests/e2e/negative_day_one_test.go
  • tests/utils/exec/machine-pools.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource_test.go
  • tests/utils/profilehandler/handler.go
  • provider/clusterrosa/hcp/resource.go
  • tests/e2e/classic_ingress_test.go
  • provider/machinepool/hcp/machine_pool_resource.go
  • tests/utils/exec/cluster.go
  • tests/e2e/idps_test.go
  • tests/e2e/cluster_autoscaler_day2_test.go
  • tests/utils/cms/cms.go
  • tests/e2e/cluster_edit_test.go
  • tests/e2e/classic_machine_pool_test.go
  • internal/ocm/resource/cluster_test.go
  • tests/utils/helper/helper.go
  • tests/e2e/hcp_machine_pool_test.go

Walkthrough

This PR updates Go build references to 1.26.3/1.26+ and modernizes provider code, shared test utilities, and e2e/subsystem tests to use any, maps.Copy, new(T), and newer standard-library helpers.

Changes

Go 1.26 Toolchain Upgrade

Layer / File(s) Summary
Bump Go version across build config and docs
.ci-operator.yaml, Dockerfile, go.mod, renovate.json, docs/index.md, templates/index.md.tmpl, CHANGELOG.md
Updates build images, Go directives, Renovate constraints, changelog, and docs to reference Go 1.26.3/1.26+.

Estimated code review effort: 3 (Moderate) | ~30 minutes

Provider Production Code Modernization

Layer / File(s) Summary
Replace manual map-copy loops with maps.Copy
provider/cluster/..., provider/clusterrosa/classic/..., provider/clusterrosa/hcp/..., provider/machinepool/..., provider/registry_config/helpers.go
Replaces manual map-copy loops with maps.Copy for properties and tag maps.
Structured logging maps switch to any
provider/clusterrosa/..., provider/common/cluster_waiter.go, provider/dnsdomain/..., provider/identityprovider/..., provider/imagemirror/..., provider/logforwarder/resource.go, provider/machinepool/hcp/...
Updates structured logging payloads from map[string]interface{} to map[string]any.
String parsing and validation refactors
provider/ocmrole/..., provider/oidcconfig/..., provider/clusterrosa/hcp/shared_vpc/...
Switches to strings.SplitSeq, strings.CutPrefix, and slices.ContainsFunc.
Provider test fixtures and JSON handling use any
provider/cluster/..., provider/clusterrosa/..., provider/common/..., provider/tuningconfigs/..., subsystem/classic/..., subsystem/hcp/..., tests/e2e/tuning_config_test.go
Switches test JSON fixtures and assertions to map[string]any/[]any and updates tuning-config spec decoding.
Other provider helpers use any and os
provider/dnsdomain/..., provider/identityprovider/..., provider/tuningconfigs/..., tests/utils/helper/file.go, tests/utils/helper/helper.go, tests/utils/helper/iam_policy_fetcher.go, tests/utils/helper/parse_yaml.go, tests/utils/log/logger.go, tests/utils/openshift/...
Updates helper utilities and logging helpers to use any, os.ReadFile, and other standard-library replacements.

Estimated code review effort: 4 (Complex) | ~60 minutes

Test and utility modernization

Layer / File(s) Summary
Unit helper pointers use new(T)
internal/ocm/resource/cluster_test.go, provider/common/helpers_test.go
Replaces pointer helper usage in unit tests with inline new(T) allocations and updates local pointer helpers.
subsystem/framework.go uses os and any
subsystem/framework/framework.go
Switches temporary file handling to os APIs and updates Terraform runner methods to return any.
Classic e2e pointer refactor
tests/e2e/account_roles_test.go, tests/e2e/break_glass_credential_test.go, tests/e2e/classic_ingress_test.go, tests/e2e/classic_machine_pool_test.go
Replaces helper pointer constructors with new(...) across classic e2e tests.
Cluster lifecycle e2e pointer refactor
tests/e2e/cluster_autoscaler_day2_test.go, tests/e2e/cluster_creation_test.go, tests/e2e/cluster_edit_test.go, tests/e2e/cluster_misc_day2_test.go, tests/e2e/cluster_upgrade_test.go, tests/e2e/trust_policy_external_id_test.go, tests/e2e/negative_day_one_test.go, tests/e2e/machine_pool_test.go
Replaces helper pointer constructors with new(...) across cluster lifecycle tests.
HCP e2e pointer refactor
tests/e2e/hcp_image_mirror_test.go, tests/e2e/hcp_ingress_test.go, tests/e2e/hcp_machine_pool_test.go
Replaces helper pointer constructors with new(...) in HCP e2e tests.
IDP, kubelet config, and tuning config e2e refactor
tests/e2e/idps_test.go, tests/e2e/kubelet_config_test.go, tests/e2e/tuning_config_test.go
Replaces helper pointer constructors with new(...) and updates any-based decoding.
tests/utils/cms, log, openshift, and trusted IPs helpers
tests/utils/cms/*, tests/utils/log/logger.go, tests/utils/openshift/*, tests/utils/exec/trusted-ips.go
Introduces queryParams, updates variadic signatures to any, and changes the TrustedIPs JSON tag.
tests/utils/exec package modernization
tests/utils/exec/cluster.go, tests/utils/exec/idps.go, tests/utils/exec/image-mirrors.go, tests/utils/exec/machine-pools.go, tests/utils/exec/tf-exec.go, tests/utils/exec/tuning-configs.go
Updates signatures to any and pointer construction to new(T).
tests/utils/helper package modernization
tests/utils/helper/file.go, tests/utils/helper/helper.go, tests/utils/helper/iam_policy_fetcher.go, tests/utils/helper/map.go, tests/utils/helper/parse_yaml.go
Switches helper utilities to any, maps.Copy, os.ReadFile, and new(T) pointer helpers.
tests/utils/profilehandler pointer construction refactor
tests/utils/profilehandler/handler.go
Replaces helper pointer constructors with new(...) across profile and cluster argument builders.

Estimated code review effort: 4 (Complex) | ~60 minutes

Possibly related PRs

Suggested labels: lgtm, jira/valid-reference, ok-to-test

Suggested reviewers: jerichokeyne, gdbranco

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, specific, and accurately summarizes the Go 1.26.3 bump.
Description check ✅ Passed The description follows the template closely and includes summary, issue context, related links, testing, proof, and verification notes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Pr Checklist Claims Vs Evidence (Generic) ✅ Passed Visible checked claims are supported by the commit/diff and PR text; command-run items are self-attested and not verifiable from repo-visible context.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@amandahla amandahla force-pushed the ROSAENG-61054-bump-go-1.26.4 branch 2 times, most recently from 3d25b6f to d5d78a2 Compare July 2, 2026 17:28

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
internal/ocm/resource/cluster_test.go (1)

282-285: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Inconsistent modernization: some pointer(...) calls left unconverted alongside sibling new(...) args.

In these CreateAWSBuilder calls, pointer(string(cmv1.Ec2MetadataHttpTokensRequired)) remains as-is while adjacent arguments in the same call were migrated to new(...). Functionally equivalent since the pointer helper still exists, but it leaves inconsistent style within the same call sites.

♻️ Suggested consistency fix
-			pointer(string(cmv1.Ec2MetadataHttpTokensRequired)),
+			new(string(cmv1.Ec2MetadataHttpTokensRequired)),

Also applies to: 324-327, 349-352, 380-383, 399-402

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@internal/ocm/resource/cluster_test.go` around lines 282 - 285, The
CreateAWSBuilder call sites in cluster_test.go still mix pointer(...) with the
newer new(...) style, creating inconsistent modernization within the same
argument lists. Update each affected CreateAWSBuilder invocation to use the same
style as the surrounding arguments by replacing
pointer(string(cmv1.Ec2MetadataHttpTokensRequired)) with the equivalent new(...)
form, matching the existing refactor pattern in the test. Keep the change scoped
to the repeated CreateAWSBuilder calls so the argument construction remains
uniform and easy to read.
tests/utils/profilehandler/handler.go (1)

704-712: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Redundant pointer assignment on clusterArgs.ClusterName.

Line 704 assigns clusterArgs.ClusterName = new(clusterName), but line 712 immediately overwrites it with clusterArgs.ClusterName = &clusterName. The first assignment's allocation is discarded and never observed. This predates the current refactor (previously used helper.StringPointer(clusterName)), but since this line was touched, it's worth cleaning up.

♻️ Proposed fix
-	clusterArgs.ClusterName = new(clusterName)
-
 	// There are some problem for cluster created with name length
 	// longer than 15 chars with auto generated domain prefix
 	if ctx.profile.DomainPrefix == "" && ctx.profile.SharedVpc && len(clusterName) > 15 {
 		ctx.profile.DomainPrefix = helper.GenerateRandomName("shared-vpc", 4)
 	}
 
 	clusterArgs.ClusterName = &clusterName
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/utils/profilehandler/handler.go` around lines 704 - 712, Remove the
redundant allocation in the cluster setup path: in the code that builds
`clusterArgs` around `clusterArgs.ClusterName`, keep only the final pointer
assignment and delete the earlier `new(clusterName)` assignment. Use the
`clusterArgs.ClusterName` initialization in the `handler.go` flow so the name is
set once and not overwritten immediately afterward.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@internal/ocm/resource/cluster_test.go`:
- Around line 282-285: The CreateAWSBuilder call sites in cluster_test.go still
mix pointer(...) with the newer new(...) style, creating inconsistent
modernization within the same argument lists. Update each affected
CreateAWSBuilder invocation to use the same style as the surrounding arguments
by replacing pointer(string(cmv1.Ec2MetadataHttpTokensRequired)) with the
equivalent new(...) form, matching the existing refactor pattern in the test.
Keep the change scoped to the repeated CreateAWSBuilder calls so the argument
construction remains uniform and easy to read.

In `@tests/utils/profilehandler/handler.go`:
- Around line 704-712: Remove the redundant allocation in the cluster setup
path: in the code that builds `clusterArgs` around `clusterArgs.ClusterName`,
keep only the final pointer assignment and delete the earlier `new(clusterName)`
assignment. Use the `clusterArgs.ClusterName` initialization in the `handler.go`
flow so the name is set once and not overwritten immediately afterward.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 833aa607-20fb-47af-9686-4da93f0b2771

📥 Commits

Reviewing files that changed from the base of the PR and between 137602d and 3d25b6f.

📒 Files selected for processing (75)
  • .ci-operator.yaml
  • CHANGELOG.md
  • Dockerfile
  • docs/index.md
  • go.mod
  • internal/ocm/resource/cluster_test.go
  • logging/logging.go
  • provider/cluster/cluster_resource.go
  • provider/cluster/cluster_resource_test.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource_test.go
  • provider/clusterrosa/hcp/resource.go
  • provider/clusterrosa/hcp/resource_test.go
  • provider/clusterrosa/hcp/shared_vpc/shared_vpc.go
  • provider/common/cluster_waiter.go
  • provider/common/helpers_test.go
  • provider/dnsdomain/dns_domain_resource.go
  • provider/identityprovider/identity_provider_resource.go
  • provider/imagemirror/image_mirror_resource.go
  • provider/logforwarder/resource.go
  • provider/machinepool/classic/machine_pool_resource.go
  • provider/machinepool/hcp/machine_pool_resource.go
  • provider/ocmrole/rosa_ocm_role_resource.go
  • provider/oidcconfig/rosa_oidc_config_resource.go
  • provider/registry_config/helpers.go
  • provider/tuningconfigs/resource.go
  • renovate.json
  • subsystem/classic/cluster_autoscaler_resource_test.go
  • subsystem/classic/default_ingress_resource_test.go
  • subsystem/classic/kubeletconfig_resource_test.go
  • subsystem/classic/rosa_ocm_policies_data_source_test.go
  • subsystem/classic/rosa_operator_roles_data_source_test.go
  • subsystem/framework/framework.go
  • subsystem/hcp/breakglasscredential_resource_test.go
  • subsystem/hcp/cluster_autoscaler_resource_test.go
  • subsystem/hcp/rosa_hcp_operator_roles_data_source_test.go
  • subsystem/hcp/rosa_ocm_policies_data_source_test.go
  • subsystem/hcp/tuningconfigs_test.go
  • templates/index.md.tmpl
  • tests/e2e/account_roles_test.go
  • tests/e2e/break_glass_credential_test.go
  • tests/e2e/classic_ingress_test.go
  • tests/e2e/classic_machine_pool_test.go
  • tests/e2e/cluster_autoscaler_day2_test.go
  • tests/e2e/cluster_creation_test.go
  • tests/e2e/cluster_edit_test.go
  • tests/e2e/cluster_misc_day2_test.go
  • tests/e2e/cluster_upgrade_test.go
  • tests/e2e/hcp_image_mirror_test.go
  • tests/e2e/hcp_ingress_test.go
  • tests/e2e/hcp_machine_pool_test.go
  • tests/e2e/idps_test.go
  • tests/e2e/kubelet_config_test.go
  • tests/e2e/machine_pool_test.go
  • tests/e2e/negative_day_one_test.go
  • tests/e2e/trust_policy_external_id_test.go
  • tests/e2e/tuning_config_test.go
  • tests/utils/cms/cms.go
  • tests/utils/cms/versions.go
  • tests/utils/exec/cluster.go
  • tests/utils/exec/idps.go
  • tests/utils/exec/image-mirrors.go
  • tests/utils/exec/machine-pools.go
  • tests/utils/exec/tf-exec.go
  • tests/utils/exec/trusted-ips.go
  • tests/utils/exec/tuning-configs.go
  • tests/utils/helper/file.go
  • tests/utils/helper/helper.go
  • tests/utils/helper/iam_policy_fetcher.go
  • tests/utils/helper/map.go
  • tests/utils/helper/parse_yaml.go
  • tests/utils/log/logger.go
  • tests/utils/openshift/console.go
  • tests/utils/openshift/openshift.go
  • tests/utils/profilehandler/handler.go

@amandahla amandahla force-pushed the ROSAENG-61054-bump-go-1.26.4 branch from d5d78a2 to 59b3a7b Compare July 2, 2026 17:30
@amandahla amandahla changed the title ROSAENG-61054 | chore: bump Go to 1.26.4 ROSAENG-61054 | chore: bump Go to 1.26.3 Jul 2, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
tests/e2e/hcp_machine_pool_test.go (1)

655-664: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Inconsistent pointer construction within the same struct literal.

Cluster, Replicas, Name, SubnetID, and MachineType still use &var while sibling fields in the same literal (AutoscalingEnabled, AutoRepair, KubeletConfigs) were converted to new(...). Purely cosmetic inconsistency left over from the mechanical pass.

♻️ Optional consistency fix
 mpArgs := &exec.MachinePoolArgs{
-	Cluster:            &clusterID,
+	Cluster:            new(clusterID),
 	AutoscalingEnabled: new(false),
 	AutoRepair:         new(false),
 	KubeletConfigs:     new(kubeconfigs[0].Name),
-	Replicas:           &replicas,
-	Name:               &name,
-	SubnetID:           &subnetId,
-	MachineType:        &machineType,
+	Replicas:           new(replicas),
+	Name:               new(name),
+	SubnetID:           new(subnetId),
+	MachineType:        new(machineType),
 }
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/e2e/hcp_machine_pool_test.go` around lines 655 - 664, The
MachinePoolArgs literal in hcp_machine_pool_test.go mixes pointer styles, with
some fields using &var while others use new(...), creating an inconsistent
mechanical change. Update the remaining fields in that struct literal (Cluster,
Replicas, Name, SubnetID, MachineType) to match the same pointer-construction
style already used by AutoscalingEnabled, AutoRepair, and KubeletConfigs,
keeping the literal uniform.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@tests/e2e/hcp_machine_pool_test.go`:
- Around line 655-664: The MachinePoolArgs literal in hcp_machine_pool_test.go
mixes pointer styles, with some fields using &var while others use new(...),
creating an inconsistent mechanical change. Update the remaining fields in that
struct literal (Cluster, Replicas, Name, SubnetID, MachineType) to match the
same pointer-construction style already used by AutoscalingEnabled, AutoRepair,
and KubeletConfigs, keeping the literal uniform.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 6c59d940-98cb-4044-a6be-20ac1d910a46

📥 Commits

Reviewing files that changed from the base of the PR and between 3d25b6f and 59b3a7b.

📒 Files selected for processing (75)
  • .ci-operator.yaml
  • CHANGELOG.md
  • Dockerfile
  • docs/index.md
  • go.mod
  • internal/ocm/resource/cluster_test.go
  • logging/logging.go
  • provider/cluster/cluster_resource.go
  • provider/cluster/cluster_resource_test.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource_test.go
  • provider/clusterrosa/hcp/resource.go
  • provider/clusterrosa/hcp/resource_test.go
  • provider/clusterrosa/hcp/shared_vpc/shared_vpc.go
  • provider/common/cluster_waiter.go
  • provider/common/helpers_test.go
  • provider/dnsdomain/dns_domain_resource.go
  • provider/identityprovider/identity_provider_resource.go
  • provider/imagemirror/image_mirror_resource.go
  • provider/logforwarder/resource.go
  • provider/machinepool/classic/machine_pool_resource.go
  • provider/machinepool/hcp/machine_pool_resource.go
  • provider/ocmrole/rosa_ocm_role_resource.go
  • provider/oidcconfig/rosa_oidc_config_resource.go
  • provider/registry_config/helpers.go
  • provider/tuningconfigs/resource.go
  • renovate.json
  • subsystem/classic/cluster_autoscaler_resource_test.go
  • subsystem/classic/default_ingress_resource_test.go
  • subsystem/classic/kubeletconfig_resource_test.go
  • subsystem/classic/rosa_ocm_policies_data_source_test.go
  • subsystem/classic/rosa_operator_roles_data_source_test.go
  • subsystem/framework/framework.go
  • subsystem/hcp/breakglasscredential_resource_test.go
  • subsystem/hcp/cluster_autoscaler_resource_test.go
  • subsystem/hcp/rosa_hcp_operator_roles_data_source_test.go
  • subsystem/hcp/rosa_ocm_policies_data_source_test.go
  • subsystem/hcp/tuningconfigs_test.go
  • templates/index.md.tmpl
  • tests/e2e/account_roles_test.go
  • tests/e2e/break_glass_credential_test.go
  • tests/e2e/classic_ingress_test.go
  • tests/e2e/classic_machine_pool_test.go
  • tests/e2e/cluster_autoscaler_day2_test.go
  • tests/e2e/cluster_creation_test.go
  • tests/e2e/cluster_edit_test.go
  • tests/e2e/cluster_misc_day2_test.go
  • tests/e2e/cluster_upgrade_test.go
  • tests/e2e/hcp_image_mirror_test.go
  • tests/e2e/hcp_ingress_test.go
  • tests/e2e/hcp_machine_pool_test.go
  • tests/e2e/idps_test.go
  • tests/e2e/kubelet_config_test.go
  • tests/e2e/machine_pool_test.go
  • tests/e2e/negative_day_one_test.go
  • tests/e2e/trust_policy_external_id_test.go
  • tests/e2e/tuning_config_test.go
  • tests/utils/cms/cms.go
  • tests/utils/cms/versions.go
  • tests/utils/exec/cluster.go
  • tests/utils/exec/idps.go
  • tests/utils/exec/image-mirrors.go
  • tests/utils/exec/machine-pools.go
  • tests/utils/exec/tf-exec.go
  • tests/utils/exec/trusted-ips.go
  • tests/utils/exec/tuning-configs.go
  • tests/utils/helper/file.go
  • tests/utils/helper/helper.go
  • tests/utils/helper/iam_policy_fetcher.go
  • tests/utils/helper/map.go
  • tests/utils/helper/parse_yaml.go
  • tests/utils/log/logger.go
  • tests/utils/openshift/console.go
  • tests/utils/openshift/openshift.go
  • tests/utils/profilehandler/handler.go
✅ Files skipped from review due to trivial changes (17)
  • provider/dnsdomain/dns_domain_resource.go
  • docs/index.md
  • CHANGELOG.md
  • subsystem/classic/kubeletconfig_resource_test.go
  • tests/e2e/trust_policy_external_id_test.go
  • provider/identityprovider/identity_provider_resource.go
  • provider/imagemirror/image_mirror_resource.go
  • subsystem/classic/rosa_operator_roles_data_source_test.go
  • provider/machinepool/hcp/machine_pool_resource.go
  • subsystem/hcp/rosa_ocm_policies_data_source_test.go
  • Dockerfile
  • provider/common/cluster_waiter.go
  • tests/e2e/hcp_ingress_test.go
  • tests/e2e/hcp_image_mirror_test.go
  • subsystem/classic/default_ingress_resource_test.go
  • tests/e2e/cluster_upgrade_test.go
  • tests/e2e/idps_test.go
🚧 Files skipped from review as they are similar to previous changes (55)
  • templates/index.md.tmpl
  • subsystem/hcp/cluster_autoscaler_resource_test.go
  • go.mod
  • .ci-operator.yaml
  • tests/utils/exec/trusted-ips.go
  • subsystem/hcp/rosa_hcp_operator_roles_data_source_test.go
  • tests/utils/helper/file.go
  • provider/cluster/cluster_resource_test.go
  • provider/oidcconfig/rosa_oidc_config_resource.go
  • provider/registry_config/helpers.go
  • provider/tuningconfigs/resource.go
  • provider/clusterrosa/hcp/shared_vpc/shared_vpc.go
  • renovate.json
  • subsystem/hcp/breakglasscredential_resource_test.go
  • provider/logforwarder/resource.go
  • tests/utils/openshift/console.go
  • tests/e2e/cluster_creation_test.go
  • subsystem/classic/rosa_ocm_policies_data_source_test.go
  • provider/ocmrole/rosa_ocm_role_resource.go
  • tests/utils/helper/map.go
  • subsystem/classic/cluster_autoscaler_resource_test.go
  • tests/utils/cms/versions.go
  • tests/utils/openshift/openshift.go
  • tests/e2e/break_glass_credential_test.go
  • tests/utils/exec/tuning-configs.go
  • tests/utils/log/logger.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource_test.go
  • provider/common/helpers_test.go
  • tests/utils/exec/image-mirrors.go
  • provider/clusterrosa/hcp/resource_test.go
  • tests/utils/exec/idps.go
  • subsystem/hcp/tuningconfigs_test.go
  • tests/e2e/account_roles_test.go
  • tests/e2e/machine_pool_test.go
  • tests/utils/helper/parse_yaml.go
  • provider/cluster/cluster_resource.go
  • provider/clusterrosa/classic/cluster_rosa_classic_resource.go
  • subsystem/framework/framework.go
  • tests/utils/helper/iam_policy_fetcher.go
  • tests/e2e/kubelet_config_test.go
  • tests/e2e/cluster_misc_day2_test.go
  • logging/logging.go
  • tests/e2e/classic_machine_pool_test.go
  • tests/e2e/tuning_config_test.go
  • tests/e2e/classic_ingress_test.go
  • tests/utils/exec/cluster.go
  • tests/utils/exec/tf-exec.go
  • tests/utils/exec/machine-pools.go
  • provider/clusterrosa/hcp/resource.go
  • tests/e2e/negative_day_one_test.go
  • internal/ocm/resource/cluster_test.go
  • tests/utils/cms/cms.go
  • tests/utils/profilehandler/handler.go
  • tests/e2e/cluster_autoscaler_day2_test.go
  • tests/utils/helper/helper.go

@amandahla

Copy link
Copy Markdown
Member Author

/test e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
/test e2e-presubmits-rosa-hcp-private-critical-high-presubmit
/override ci/prow/security
/override ci/prow/pre-push-checks
/override Check pull request / Pre-push checks (pull_request)

I'm overriding pre-push-checks due failure being related to coverage only as explained in the PR description. You can check the output here:
https://github.com/terraform-redhat/terraform-provider-rhcs/actions/runs/28613399947/job/84851173290?pr=1240

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • (pull_request)
  • /
  • Check
  • Pre-push
  • checks
  • pull
  • request

Only the following failed contexts/checkruns were expected:

  • CodeRabbit
  • Pre-push checks
  • ci/prow/e2e-images
  • ci/prow/e2e-presubmits-images
  • ci/prow/e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-hcp-private-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-sts-private-critical-high-presubmit
  • ci/prow/images
  • ci/prow/pre-push-checks
  • ci/prow/security
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-hcp-private-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-sts-advanced-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-sts-private-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-pre-push-checks
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-security
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

Details

In response to this:

/test e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
/test e2e-presubmits-rosa-hcp-private-critical-high-presubmit
/override ci/prow/security
/override ci/prow/pre-push-checks
/override Check pull request / Pre-push checks (pull_request)

I'm overriding pre-push-checks due failure being related to coverage only as explained in the PR description. You can check the output here:
https://github.com/terraform-redhat/terraform-provider-rhcs/actions/runs/28613399947/job/84851173290?pr=1240

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.

@amandahla

Copy link
Copy Markdown
Member Author

/override Pre-push checks

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • Pre-push
  • checks

Only the following failed contexts/checkruns were expected:

  • CodeRabbit
  • Pre-push checks
  • ci/prow/e2e-images
  • ci/prow/e2e-presubmits-images
  • ci/prow/e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-hcp-private-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit
  • ci/prow/e2e-presubmits-rosa-sts-private-critical-high-presubmit
  • ci/prow/images
  • ci/prow/pre-push-checks
  • ci/prow/security
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-hcp-private-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-sts-advanced-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-e2e-presubmits-rosa-sts-private-critical-high-presubmit
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-images
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-pre-push-checks
  • pull-ci-terraform-redhat-terraform-provider-rhcs-main-security
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

Details

In response to this:

/override Pre-push checks

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.

@amandahla

Copy link
Copy Markdown
Member Author

/override "Pre-push checks"

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: Overrode contexts on behalf of amandahla: Pre-push checks

Details

In response to this:

/override "Pre-push checks"

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.

@amandahla

Copy link
Copy Markdown
Member Author

/override ci/prow/pre-push-checks
/override ci/prow/security

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: Overrode contexts on behalf of amandahla: ci/prow/pre-push-checks, ci/prow/security

Details

In response to this:

/override ci/prow/pre-push-checks
/override ci/prow/security

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.

@amandahla

Copy link
Copy Markdown
Member Author

/override ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: Overrode contexts on behalf of amandahla: ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

Details

In response to this:

/override ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

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.

@amandahla

Copy link
Copy Markdown
Member Author

@coderabbitai Consider this comment openshift/rosa#3321 (comment)
Does this PR change something that might affect tests/e2e?

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Referenced review comment =="
gh api repos/openshift/rosa/pulls/comments/3515378551 --jq '{path: .path, line: .line, body: .body, url: .html_url}'

echo
echo "== Changed e2e/helper-related files in current PR branch =="
git diff --name-only origin/main...HEAD | rg '^(tests/e2e|tests/utils/exec|tests/utils/helper|subsystem/)'

echo
echo "== Pointer helper definitions after changes =="
fd helper.go tests/utils/helper -x sed -n '1,240p' {}

Length of output: 10114


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== helper.go diff =="
git diff --unified=3 origin/main...HEAD -- tests/utils/helper/helper.go

echo
echo "== trusted-ips.go diff =="
git diff --unified=3 origin/main...HEAD -- tests/utils/exec/trusted-ips.go

echo
echo "== idps_test.go diff =="
git diff --unified=3 origin/main...HEAD -- tests/e2e/idps_test.go

echo
echo "== Search for changed user-facing error strings in this PR =="
rg -n --no-heading 'reserved for admin user IDP|Expected a valid mapping method|expected a valid mapping method|The name "cluster-admin"' . -g '!**/vendor/**'

Length of output: 23651


@amandahla I checked the referenced comment, and I don’t think that specific concern applies to this PR.

Why:

  • The comment on openshift/rosa was about user-facing IDP error strings changing and breaking e2e assertions.
  • In this PR, I didn’t find any corresponding error-message changes. The search for those IDP strings came back empty.
  • The tests/e2e/idps_test.go changes here are mechanical only: pointer construction was changed from helpers like helper.StringPointer(...) to new(...). That should be behaviorally equivalent.
  • Likewise, tests/utils/helper/helper.go is mostly interface{}any and similar Go-fix style updates, which should not change e2e behavior.

So overall: I don’t see this PR introducing the kind of e2e breakage described in that external comment.

One small caveat:

  • tests/utils/exec/trusted-ips.go changes the JSON tag from json:"trusted_ips,omitempty" to json:"trusted_ips". That could affect cases where an empty trusted_ips field was previously omitted and is now serialized as present. So if there is any e2e or golden-output check around empty trusted IP payloads, that’s the one thing I’d treat as a potential behavior change.

Bottom line:

  • No similar IDP/error-string risk
  • Most tests/e2e changes are mechanical
  • Only the trusted_ips omitempty removal looks potentially e2e-relevant

@olucasfreitas

Copy link
Copy Markdown
Contributor

/retest-required
/lgtm
/approve

@olucasfreitas olucasfreitas force-pushed the ROSAENG-61054-bump-go-1.26.4 branch from 3f12302 to 2689f0a Compare July 3, 2026 18:29
@openshift-ci openshift-ci Bot removed the lgtm label Jul 3, 2026
@olucasfreitas

Copy link
Copy Markdown
Contributor

/override ci/prow/security
/lgtm
/approve

@openshift-ci openshift-ci Bot added the lgtm label Jul 3, 2026
@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@olucasfreitas: Overrode contexts on behalf of olucasfreitas: ci/prow/security

Details

In response to this:

/override ci/prow/security
/lgtm
/approve

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.

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: olucasfreitas

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@amandahla

Copy link
Copy Markdown
Member Author

/override ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: Overrode contexts on behalf of amandahla: ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

Details

In response to this:

/override ci/prow/e2e-presubmits-rosa-sts-advanced-critical-high-presubmit

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.

@amandahla

Copy link
Copy Markdown
Member Author

Waiting this one first
#1244

@amandahla

Copy link
Copy Markdown
Member Author

and this
#1239

Upgrade the provider toolchain baseline to Go 1.26.3 and align CI,
Docker, Renovate, and documentation with go.mod as the version source.

Apply go fix ./... (interface{} to any, maps.Copy, ioutil to os).
Changed-files coverage is below the 80% threshold due to mechanical
edits in untested provider paths; adding tests is out of scope for
this ticket (documented in the PR).

Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@amandahla amandahla force-pushed the ROSAENG-61054-bump-go-1.26.4 branch from 2689f0a to ce77dba Compare July 3, 2026 20:56
@openshift-ci openshift-ci Bot removed the lgtm label Jul 3, 2026
@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@amandahla

Copy link
Copy Markdown
Member Author

@olucasfreitas I had to rebase this PR and now pre-push-checks and security check are happy :) Could you please add the lgtm again? Thanks!

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

@amandahla: The following test 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/e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit ce77dba link true /test e2e-presubmits-rosa-hcp-advanced-critical-high-presubmit

Full PR test history. Your PR dashboard.

Details

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants