SPLAT-2588: fix hypershift topology variant to match Sippy classification#2899
Conversation
Adds comprehensive unit tests for previously untested pure functions: - topologyDisplayName: verifies external->hypershift display mapping - filterVariants: variant selection by feature gate name - matchTwoNodeFeatureGates: DualReplica/Fencing topology matching - testResultByName: test result lookup helper - OrderedJobVariants: sorting with external topology - nonHypershiftPlatforms: regex matching for platform detection - validateJobTiers: extended coverage for tier validation - allDefinedVariantsHaveValidJobTiers: validates all variant configs - buildHTMLFeatureGateData: HTML report with display name mapping - requiredHypershiftJobVariants regression guards: asserts topology is "external" and Sippy queries contain Topology:external Co-Authored-By: Claude Code <noreply@anthropic.com>
…topology Adds topologyDisplayName() to map Sippy's "external" topology back to "hypershift" in the feature-promotion HTML and markdown reports, so the output remains user-friendly while queries use the correct Sippy value. Co-Authored-By: Claude Code <noreply@anthropic.com>
Sippy classifies hypershift jobs with Topology:"external", not "hypershift". The mismatch caused verify-feature-promotion to find 0 tests when querying Sippy for hypershift variants, blocking feature gate promotions. Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@mtulio: This pull request references SPLAT-2588 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 story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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. |
|
Hello @mtulio! Some important instructions when contributing to openshift/api: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)Error: build linters: unable to load custom analyzer "kubeapilinter": tools/_output/bin/kube-api-linter.so, plugin: not implemented Comment |
|
@mtulio: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/lgtm |
|
@JoelSpeed: This PR has been marked as verified by DetailsIn response to this:
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. |
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JoelSpeed The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes the topology variant mismatch between openshift/api's verify-feature-promotion tool and Sippy's variant classification for hypershift jobs.