OCPBUGS-77061: Vendor Downstream CAPO#170
Conversation
|
@danchild: This pull request references OSASINFRA-4329 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 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. |
WalkthroughThis PR adds a module replace directive in go.mod that redirects the Cluster API Provider OpenStack dependency from the upstream sigs.k8s.io module to the OpenShift fork at a pinned commit version. ChangesDependency Replacement
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 warning)
✅ Passed checks (13 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: danchild 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 |
Signed-off-by: Dan Childers <dchilder@redhat.com>
efa5fc9 to
d0ab8cf
Compare
|
/assign @stephenfin |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 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.
Inline comments:
In `@go.mod`:
- Line 123: The replace directive "replace
sigs.k8s.io/cluster-api-provider-openstack =>
github.com/openshift/cluster-api-provider-openstack
v0.9.1-0.20260608151417-e831b17e5462" downgrades the OpenStack provider and uses
a pseudo-version without justification; update go.mod and project docs to either
pin to a tagged, supported release of
github.com/openshift/cluster-api-provider-openstack (avoid pseudo-versions) or
remove the replace and explain the rationale for the downgrade, and add
supply-chain evidence: record the CVE/osv.dev results, license compatibility
check, SBOM/provenance and signing proof, and a short risk/impact statement
describing expected behavior changes from replacing
sigs.k8s.io/cluster-api-provider-openstack with the downstream fork.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 30d637ab-72b7-4b93-8829-cc9e2ef11642
⛔ Files ignored due to path filters (4)
go.sumis excluded by!**/*.sumvendor/modules.txtis excluded by!**/vendor/**,!vendor/**vendor/sigs.k8s.io/cluster-api-provider-openstack/pkg/cloud/services/networking/port.gois excluded by!**/vendor/**,!vendor/**vendor/sigs.k8s.io/cluster-api-provider-openstack/pkg/cloud/services/networking/service.gois excluded by!**/vendor/**,!vendor/**
📒 Files selected for processing (1)
go.mod
|
@danchild: This pull request references Jira Issue OCPBUGS-77061, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
|
/test e2e-openstack |
2 similar comments
|
/test e2e-openstack |
|
/test e2e-openstack |
|
@danchild: The following test 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. |
Replace vendored upstream CAPO with downstream CAPO
The fix to OCPBUGS-77061 has been made to downstream CAPO and merged into release-0.90 openshift/cluster-api-provider-openstack/pull/421; so, the patch must now be applied to MAPO.
Summary by CodeRabbit