NO-ISSUE: config/v1alpha1: Drop (Cluster)ImagePolicy since the hard cut to v1#2760
NO-ISSUE: config/v1alpha1: Drop (Cluster)ImagePolicy since the hard cut to v1#2760wking wants to merge 1 commit intoopenshift:masterfrom
Conversation
d1ee051 (Add clusterimgepolicy/imagepolicy to payload, 2025-07-23, openshift#2384) hard cut from v1alpha1 to v1 back when the API was still TechPreviewNoUpgrade. This v1alpha1 Go has been dead code since then. Delete it, to avoid confusing folks who might see it and think it still matters somewhere (as set of people that included me up until a few hours ago ;).
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@wking: This pull request explicitly references no jira issue. 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 @wking! Some important instructions when contributing to openshift/api: |
ⓘ You are approaching your monthly quota for Qodo. Upgrade your plan Review Summary by QodoRemove v1alpha1 ImagePolicy and ClusterImagePolicy dead code
WalkthroughsDescription• Remove dead v1alpha1 ImagePolicy and ClusterImagePolicy types • Clean up obsolete API definitions from hard cut to v1 • Eliminate confusion from unused API code references Diagramflowchart LR
A["v1alpha1 API Types"] -->|Delete| B["ImagePolicy removed"]
A -->|Delete| C["ClusterImagePolicy removed"]
B --> D["Clean codebase"]
C --> D
File Changes1. config/v1alpha1/types_cluster_image_policy.go
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
|
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: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThis pull request removes two v1alpha1 API type definition files: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@wking: The following tests failed, say
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. |
|
Will need to clean up things like deepcopy that are generated for this, and any testing that's specific to this API type This should get you started there at least |
d1ee051 (#2384) hard cut from
v1alpha1tov1back when the API was stillTechPreviewNoUpgrade. Thisv1alpha1Go has been dead code since then. Delete it, to avoid confusing folks who might see it and think it still matters somewhere (as set of people that included me up until a few hours ago ;).