Include candidate tier in default sippy queries for feature promotion#2789
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Hello @yuqi-zhang! 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), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis pull request updates the default job tier set used by the feature gate test analysis tools. The ✨ 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.11.4)Error: build linters: unable to load custom analyzer "kubeapilinter": tools/_output/bin/kube-api-linter.so, plugin: not implemented Comment |
Review Summary by QodoInclude candidate tier in default Sippy queries
WalkthroughsDescription• Include candidate tier in default Sippy queries for feature promotion • Fixes MCO vsphere and metal platforms reporting zero tests for TechPreview • Add comprehensive tests verifying candidate tier inclusion in queries • Update documentation comments reflecting new default tier list Diagramflowchart LR
A["QueriesFor function<br/>with empty JobTiers"] -->|"default tiers"| B["standard,informing,blocking,candidate"]
B -->|"generates queries"| C["All required variants<br/>query candidate tier"]
C -->|"fixes"| D["MCO vsphere/metal<br/>TechPreview tests"]
File Changes1. tools/codegen/pkg/sippy/json_types.go
|
Some job/platforms (MCO vsphere, metal) only run TechPreview tests in candidate-tier jobs. The default tier list used by QueriesFor() only included standard/informing/blocking, causing the feature promotion analyzer to report 0 tests found for these platforms. This was the behaviour before openshift#2763 and the partial fix in openshift#2781, so the defaults should be fine to include candidate always. Asked claude to add tests to verify the default queries include candidate tier and that all required variant definitions will query for it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
97ccba1 to
72cac06
Compare
|
/lgtm |
|
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 |
|
/verified by @yuqi-zhang |
|
@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. |
|
@yuqi-zhang: 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. |

Some job/platforms (MCO vsphere, metal) only run TechPreview tests in candidate-tier jobs. The default tier list used by QueriesFor() only included standard/informing/blocking, causing the feature promotion analyzer to report 0 tests found for these platforms.
This was the behaviour before #2763 and the partial fix in #2781, so the defaults should be fine to include candidate always.
Asked claude to add tests to verify the default queries include candidate tier and that all required variant definitions will query for it.