Skip to content

CNTRLPLANE-2123: feat: update latest supported version from 4.21 to 4.22 - #7315

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
jparrill:CNTRLPLANE-2123
Dec 16, 2025
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
jparrill:CNTRLPLANE-2123

Conversation

@jparrill

@jparrill jparrill commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Update LatestSupportedVersion from 4.21.0 to 4.22.0
  • Add Kubernetes 1.34.0 mapping for OCP 4.21.0

Changes

  • Version constants: Updated supported version range to 4.14-4.22
  • Kubernetes mappings: Added 4.21.0 → 1.34.0 mapping
  • Test updates: Updated all tests to reflect new version constraints
  • NodePool tests: Fixed version skew test with compatible versions

Fixes

Test plan

  • Unit tests pass with updated version ranges
  • hypershift version command shows 4.22.0 as latest supported
  • Version skew validation works correctly with new minimum versions
  • All existing functionality preserved

🤖 Generated with Claude Code

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 2, 2025
@openshift-ci-robot

openshift-ci-robot commented Dec 2, 2025

Copy link
Copy Markdown

@jparrill: This pull request references CNTRLPLANE-2123 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target either version "4.21." or "openshift-4.21.", but it targets "openshift-4.22" instead.

Details

In response to this:

Summary

  • Update LatestSupportedVersion from 4.21.0 to 4.22.0
  • Update MinSupportedVersion from 4.14.0 to 4.15.0 (IBM Cloud remains at 4.14.0)
  • Add Kubernetes 1.34.0 mapping for OCP 4.21.0

Changes

  • Version constants: Updated supported version range to 4.15-4.22
  • Kubernetes mappings: Added 4.21.0 → 1.34.0 mapping
  • Test updates: Updated all tests to reflect new version constraints
  • NodePool tests: Fixed version skew test with compatible versions

Test plan

  • Unit tests pass with updated version ranges
  • hypershift version command shows 4.22.0 as latest supported
  • Version skew validation works correctly with new minimum versions
  • All existing functionality preserved

🤖 Generated with Claude Code

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Bumped supported OCP version range: MinSupportedVersion 4.15.0 (from 4.14.0) and LatestSupportedVersion 4.22.0 (from 4.21.0); updated tests, fixtures, constants, and added a kube-version mapping for 4.21.0. No public API signatures changed.

Changes

Cohort / File(s) Summary
Test fixture updates
hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go, hypershift-operator/controllers/nodepool/nodepool_controller_test.go
Adjusted test ConfigMap supported-versions and test cases: prepended newer versions (e.g., included 4.21 in hostedcluster fixture) and raised NodePool/HostedCluster baseline versions (NodePool from 4.14→4.16, HostedCluster history from 4.18→4.20); updated expected skew/condition messages.
Core version management
support/supportedversion/version.go
Bumped LatestSupportedVersion 4.21.0→4.22.0 and MinSupportedVersion 4.14.0→4.15.0; added ocpVersionToKubeVersion entry "4.21.0": semver.MustParse("1.34.0").
Version tests
support/supportedversion/version_test.go
Updated expected supported versions and related test expectations to the new range (now including 4.22 and dropping 4.14 where applicable); adjusted cases referencing latest/min supported versions accordingly.
E2E version constants
test/e2e/util/version.go
Added exported Version422 (4.22.0); removed exported Version414 (4.14.0); updated compile-time sanity checks to reflect these changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Repetitive, consistent version bumps and test-data updates.
  • Areas to spot-check:
    • Any remaining references to 4.14.0 or 4.21.0 elsewhere in tests or fixtures.
    • Consistency of the new ocpVersionToKubeVersion mapping with consumers expecting kube-version mappings.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@openshift-ci
openshift-ci Bot requested review from enxebre and sjenning December 2, 2025 09:26
@openshift-ci openshift-ci Bot added the area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release label Dec 2, 2025
@openshift-ci

openshift-ci Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jparrill

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

@openshift-ci openshift-ci Bot added area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release approved Indicates a PR has been approved by an approver from all required OWNERS files. area/testing Indicates the PR includes changes for e2e testing labels Dec 2, 2025
@jparrill

jparrill commented Dec 2, 2025

Copy link
Copy Markdown
Contributor Author

/hold

Until branching happens this friday

@openshift-ci openshift-ci Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed do-not-merge/needs-area labels Dec 2, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting

📥 Commits

Reviewing files that changed from the base of the PR and between 10052d9 and dc88f08.

📒 Files selected for processing (5)
  • hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go (1 hunks)
  • hypershift-operator/controllers/nodepool/nodepool_controller_test.go (1 hunks)
  • support/supportedversion/version.go (2 hunks)
  • support/supportedversion/version_test.go (4 hunks)
  • test/e2e/util/version.go (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.

Files:

  • support/supportedversion/version_test.go
  • support/supportedversion/version.go
  • hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go
  • hypershift-operator/controllers/nodepool/nodepool_controller_test.go
  • test/e2e/util/version.go
🧬 Code graph analysis (1)
support/supportedversion/version_test.go (1)
support/supportedversion/version.go (2)
  • Supported (81-87)
  • String (248-250)
🔇 Additional comments (4)
test/e2e/util/version.go (1)

18-18: 4.22 constant wiring for e2e looks consistent

Adding Version422 and including it in the init-time semver checks is consistent with the new supported range and doesn’t introduce issues.

Also applies to: 34-42

hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go (1)

1645-1655: Supported-versions fixture now matches new minimum (4.15)

Dropping 4.14 from the test ConfigMap and keeping 4.20–4.15 aligns this fixture with the updated supported range and is consistent with the rest of the PR.

hypershift-operator/controllers/nodepool/nodepool_controller_test.go (1)

1824-1845: Updated n‑4 skew test matches ValidateVersionSkew semantics

For a 4.20 HostedCluster, treating 4.17 as the minimum compatible NodePool minor and rejecting 4.16 with the updated error message is consistent with the n‑3 skew rule.

support/supportedversion/version_test.go (1)

25-28: Tests correctly track the new 4.15–4.22 support window and skew rules

  • TestSupportedVersions and TestGetSupportedOCPVersions now expect 4.22..4.15, matching LatestSupportedVersion/MinSupportedVersion.
  • TestGetMinSupportedVersion keeps IBM Cloud at 4.14.0 while bumping other platforms to 4.15.0, consistent with the IBM‑specific minimum.
  • New ValidateVersionSkew cases around 4.18/4.15 and 4.21/4.18–4.17 validate the n‑3 rule and error messaging as implemented.

These updates look consistent with the underlying version logic.

Also applies to: 61-63, 196-258, 268-269, 366-429

Comment on lines +35 to 38
LatestSupportedVersion = semver.MustParse("4.22.0")
MinSupportedVersion = semver.MustParse("4.15.0")
IBMCloudMinSupportedVersion = semver.MustParse("4.14.0")
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

LatestSupportedVersion (4.22.0) has no corresponding kube mapping entry

LatestSupportedVersion has been bumped to 4.22.0, but ocpVersionToKubeVersion still only goes up to "4.21.0". As a result, GetKubeVersionForSupportedVersion(LatestSupportedVersion) (or any call with 4.22.0) will fail with unknown supported version.

If 4.22 is truly supported, the map should include a "4.22.0" entry with the correct Kubernetes semver; otherwise, consider keeping LatestSupportedVersion at the highest OCP version for which you have a kube mapping.

Also applies to: 42-51

🤖 Prompt for AI Agents
In support/supportedversion/version.go around lines 35-38 (and map at 42-51),
LatestSupportedVersion was bumped to 4.22.0 but ocpVersionToKubeVersion has no
"4.22.0" key so GetKubeVersionForSupportedVersion will error; either add a
"4.22.0" entry to ocpVersionToKubeVersion with the correct Kubernetes semver
(use semver.MustParse with the proper kube version) or revert
LatestSupportedVersion to the highest OCP version present in the map (e.g.,
4.21.0); update the map and LatestSupportedVersion consistently so every
supported OCP version has a corresponding kube mapping.

@sdminonne

Copy link
Copy Markdown
Contributor

As already mentioned in PM, we may need another pair of eyes for this one but. to me...

@sdminonne

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2025

@devguyio devguyio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing this!

Left a few comments

@@ -1651,7 +1651,7 @@ func TestHostedClusterWatchesEverythingItCreates(t *testing.T) {
},
},
Data: map[string]string{
"supported-versions": "{\"versions\":[\"4.20\",\"4.19\",\"4.18\",\"4.17\",\"4.16\",\"4.15\",\"4.14\"]}",
"supported-versions": "{\"versions\":[\"4.20\",\"4.19\",\"4.18\",\"4.17\",\"4.16\",\"4.15\"]}",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. why not add 4.21?
  2. if we're keeping IBM min supported version to 4.14, should we still remove 4.14 from here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Adding it or not it will not cause a difference, this is just a fixed test.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm a little confused, so why are we removing the 4.14 if it won't make a difference?

Comment on lines +1828 to +1843
np.Spec.Release.Image = "quay.io/openshift-release-dev/ocp-release:4.16.0-x86_64"
return np
}(),
hostedCluster: func() *hyperv1.HostedCluster {
hc := baseHostedCluster.DeepCopy()
hc.Status.Version.History[0].Version = "4.18.0"
hc.Status.Version.History[0].Version = "4.20.0"
return hc
}(),
releaseProvider: &fakereleaseprovider.FakeReleaseProvider{
Version: "4.14.0",
Version: "4.16.0",
},
expectedCondition: &hyperv1.NodePoolCondition{
Type: hyperv1.NodePoolSupportedVersionSkewConditionType,
Status: corev1.ConditionFalse,
Reason: hyperv1.NodePoolUnsupportedSkewReason,
Message: "NodePool minor version 4.14 is less than 4.15, which is the minimum NodePool version compatible with the 4.18 HostedCluster",
Message: "NodePool minor version 4.16 is less than 4.17, which is the minimum NodePool version compatible with the 4.20 HostedCluster",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't this be nodePool set to 4.18 and hostedcluster set to 4.22 ? or 4.21 if it must be an existing release? I didn't look deeply but the name of the test is giving me that indication

@@ -24,7 +24,7 @@ import (

func TestSupportedVersions(t *testing.T) {
g := NewGomegaWithT(t)
g.Expect(Supported()).To(Equal([]string{"4.21", "4.20", "4.19", "4.18", "4.17", "4.16", "4.15", "4.14"}))
g.Expect(Supported()).To(Equal([]string{"4.22", "4.21", "4.20", "4.19", "4.18", "4.17", "4.16", "4.15"}))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same comment about keeping IBM version at 4.14, should we keep 4.14 here still?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

humm I would say no, talking yesterday with Cesar he mentioned that we should report 4.15 as minimum version supported for all the customers but keep 4.14 for IBM, in order to let the take the initiative to put a PR. w/e the case I will talk in the IBM sync meeting this Thursday to make sure they know we are following this path or if they agree remove the 4.14 completely.

Comment thread test/e2e/util/version.go
Version421 = semver.MustParse("4.21.0")
Version420 = semver.MustParse("4.20.0")
Version419 = semver.MustParse("4.19.0")
Version418 = semver.MustParse("4.18.0")
Version417 = semver.MustParse("4.17.0")
Version416 = semver.MustParse("4.16.0")
Version415 = semver.MustParse("4.15.0")
Version414 = semver.MustParse("4.14.0")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we leave it if we're keeping IBM at 4.14?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think so, we don't have any reference to this part of the code and I don't think we will add it tbh.

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2025
@jparrill
jparrill marked this pull request as draft December 2, 2025 10:49
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 2, 2025
Comment thread support/supportedversion/version.go Outdated
LatestSupportedVersion = semver.MustParse("4.21.0")
MinSupportedVersion = semver.MustParse("4.14.0")
LatestSupportedVersion = semver.MustParse("4.22.0")
MinSupportedVersion = semver.MustParse("4.15.0")

@devguyio devguyio Dec 2, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This might break IBM clusters if they're using the supported versions CM, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It should not, the function GetMinSupportedVersion contains a switch which select per platform, in this case we return another minimum for IBM which in this case is IBMCloudMinSupportedVersion = semver.MustParse("4.14.0").

    switch hc.Spec.Platform.Type {
	case hyperv1.IBMCloudPlatform:
		return IBMCloudMinSupportedVersion
	default:
		return defaultMinVersion
	}

So I would say that would not happen.

@jparrill
jparrill requested a review from devguyio December 2, 2025 13:57
@openshift-ci-robot

openshift-ci-robot commented Dec 2, 2025

Copy link
Copy Markdown

@jparrill: This pull request references CNTRLPLANE-2123 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target either version "4.21." or "openshift-4.21.", but it targets "openshift-4.22" instead.

Details

In response to this:

Summary

  • Update LatestSupportedVersion from 4.21.0 to 4.22.0
  • Update MinSupportedVersion from 4.14.0 to 4.15.0 (IBM Cloud remains at 4.14.0)
  • Add Kubernetes 1.34.0 mapping for OCP 4.21.0

Changes

  • Version constants: Updated supported version range to 4.15-4.22
  • Kubernetes mappings: Added 4.21.0 → 1.34.0 mapping
  • Test updates: Updated all tests to reflect new version constraints
  • NodePool tests: Fixed version skew test with compatible versions

Fixes

Test plan

  • Unit tests pass with updated version ranges
  • hypershift version command shows 4.22.0 as latest supported
  • Version skew validation works correctly with new minimum versions
  • All existing functionality preserved

🤖 Generated with Claude Code

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 openshift-eng/jira-lifecycle-plugin repository.

@bryan-cox

Copy link
Copy Markdown
Member

/lgtm

"4.19.0": semver.MustParse("1.32.0"),
"4.20.0": semver.MustParse("1.33.0"),
"4.21.0": semver.MustParse("1.34.0"),
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Missing Kubernetes version mapping for OCP 4.22

The LatestSupportedVersion is updated to 4.22.0, but the ocpVersionToKubeVersion map only contains entries up to 4.21.0. The mapping for 4.22.0 to its corresponding Kubernetes version is missing. While current usages only query MinSupportedVersion, this inconsistency means GetKubeVersionForSupportedVersion(LatestSupportedVersion) would fail with "unknown supported version" error. The PR description mentions adding the 4.21 → 1.34 mapping, but the 4.22 entry was not added.

Additional Locations (1)

Fix in Cursor Fix in Web

},
Data: map[string]string{
"supported-versions": "{\"versions\":[\"4.20\",\"4.19\",\"4.18\",\"4.17\",\"4.16\",\"4.15\",\"4.14\"]}",
"supported-versions": "{\"versions\":[\"4.21\",\"4.20\",\"4.19\",\"4.18\",\"4.17\",\"4.16\",\"4.15\",\"4.14\"]}",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Test ConfigMap version list is out of sync

The test ConfigMap's supported-versions data contains versions 4.21 through 4.14, but the updated Supported() function returns versions 4.22 through 4.15. The test data is missing 4.22 and incorrectly includes 4.14, which is now below MinSupportedVersion. This inconsistency between test fixtures and actual supported version logic may cause tests to pass with incorrect assumptions about version support.

Additional Locations (1)

Fix in Cursor Fix in Web

@csrwng

csrwng commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

/retest

@sjenning

Copy link
Copy Markdown
Contributor

Something wrong with loki

/override "Red Hat Konflux / hypershift-operator-enterprise-contract / hypershift-operator-main"
/override "Red Hat Konflux / hypershift-operator-main-enterprise-contract / hypershift-operator-main"

@openshift-ci

openshift-ci Bot commented Dec 12, 2025

Copy link
Copy Markdown
Contributor

@sjenning: Overrode contexts on behalf of sjenning: Red Hat Konflux / hypershift-operator-enterprise-contract / hypershift-operator-main, Red Hat Konflux / hypershift-operator-main-enterprise-contract / hypershift-operator-main

Details

In response to this:

Something wrong with loki

/override "Red Hat Konflux / hypershift-operator-enterprise-contract / hypershift-operator-main"
/override "Red Hat Konflux / hypershift-operator-main-enterprise-contract / hypershift-operator-main"

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.

@sjenning

sjenning commented Dec 13, 2025

Copy link
Copy Markdown
Contributor

/hold

We need to remove support for 4.14 as a separate step. There are CI complications doing it all at once.

See comment here
openshift/release#72122 (comment)

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 13, 2025
@jparrill

Copy link
Copy Markdown
Contributor Author

/retest-required

2 similar comments
@jparrill

Copy link
Copy Markdown
Contributor Author

/retest-required

@bryan-cox

Copy link
Copy Markdown
Member

/retest-required

@bryan-cox

Copy link
Copy Markdown
Member

/retest

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 15, 2025
Update supported version range to include OpenShift 4.22 and adjust minimum version:

- Increase LatestSupportedVersion from 4.21.0 to 4.22.0
- Add Kubernetes 1.34.0 mapping for OCP 4.21.0
- Update test expectations to reflect new supported version range (4.14-4.22)
- Add Version422 constant and remove Version414 from e2e utilities
- Fix NodePool version skew test to use compatible versions with new minimum

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
@openshift-ci-robot

openshift-ci-robot commented Dec 15, 2025

Copy link
Copy Markdown

@jparrill: This pull request references CNTRLPLANE-2123 which is a valid jira issue.

Details

In response to this:

Summary

  • Update LatestSupportedVersion from 4.21.0 to 4.22.0
  • Add Kubernetes 1.34.0 mapping for OCP 4.21.0

Changes

  • Version constants: Updated supported version range to 4.14-4.22
  • Kubernetes mappings: Added 4.21.0 → 1.34.0 mapping
  • Test updates: Updated all tests to reflect new version constraints
  • NodePool tests: Fixed version skew test with compatible versions

Fixes

Test plan

  • Unit tests pass with updated version ranges
  • hypershift version command shows 4.22.0 as latest supported
  • Version skew validation works correctly with new minimum versions
  • All existing functionality preserved

🤖 Generated with Claude Code


[!NOTE]
Updates supported OCP range to 4.15–4.22, aligns tests/e2e and skew validation, and maps OCP 4.21 to Kubernetes 1.34.

  • Supported versions:
    • Update LatestSupportedVersion to 4.22.0 and MinSupportedVersion to 4.15.0 (IBM Cloud min remains 4.14.0).
    • Refresh Supported() lists and supported CM/test fixtures to 4.15–4.22.
  • Kubernetes mapping:
    • Add ocpVersionToKubeVersion["4.21.0"] = 1.34.0.
  • Validation/skew:
    • Adjust version validation bounds to new min/max.
    • Update NodePool supported skew tests (e.g., n-4 now 4.16 vs 4.20) and messages.
  • E2E:
    • Add Version422 constant; drop Version414.
  • Tests:
    • Update unit tests across hostedcluster, nodepool, and supportedversion to reflect new ranges and mappings.

Written by Cursor Bugbot for commit 97a7864. This will update automatically on new commits. Configure here.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot

openshift-ci-robot commented Dec 15, 2025

Copy link
Copy Markdown

@jparrill: This pull request references CNTRLPLANE-2123 which is a valid jira issue.

Details

In response to this:

Summary

  • Update LatestSupportedVersion from 4.21.0 to 4.22.0
  • Add Kubernetes 1.34.0 mapping for OCP 4.21.0

Changes

  • Version constants: Updated supported version range to 4.14-4.22
  • Kubernetes mappings: Added 4.21.0 → 1.34.0 mapping
  • Test updates: Updated all tests to reflect new version constraints
  • NodePool tests: Fixed version skew test with compatible versions

Fixes

Test plan

  • Unit tests pass with updated version ranges
  • hypershift version command shows 4.22.0 as latest supported
  • Version skew validation works correctly with new minimum versions
  • All existing functionality preserved

🤖 Generated with Claude Code

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 openshift-eng/jira-lifecycle-plugin repository.

@sjenning

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 15, 2025
@sjenning

Copy link
Copy Markdown
Contributor

/verified later @sjenning

@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Dec 15, 2025
@openshift-ci-robot

Copy link
Copy Markdown

@sjenning: This PR has been marked to be verified later by @sjenning.

Details

In response to this:

/verified later @sjenning

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 openshift-eng/jira-lifecycle-plugin repository.

@sjenning

Copy link
Copy Markdown
Contributor

/hold cancel

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 15, 2025
@openshift-ci-robot

Copy link
Copy Markdown

/retest-required

Remaining retests: 0 against base HEAD e420fa6 and 2 for PR HEAD c2f8609 in total

@jparrill

Copy link
Copy Markdown
Contributor Author

/retest-required

@openshift-ci

openshift-ci Bot commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

@jparrill: all tests passed!

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit bcd5066 into openshift:main Dec 16, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release area/hypershift-operator Indicates the PR includes changes for the hypershift operator and API - outside an OCP release area/testing Indicates the PR includes changes for e2e testing jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria verified-later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants