[oadp-dev] Fix IncludedClusterScopedResources test panic - #368
Conversation
…ion test The excludedNamespaceScopedResources wildcard test set IncludedClusterScopedResources which is rejected by ValidateBackupSpec as a restricted field, causing the reconciler to fail before creating a VeleroBackup and the test to panic on nil Status.VeleroBackup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Skipping CI for Draft Pull Request. |
📝 WalkthroughWalkthroughCRD schemas add Secret-based CA certificate references and restore resource policy references. A wildcard backup reconciliation test expectation is adjusted, and the Docker builder image is upgraded from Go 1.25 to Go 1.26. ChangesNon-admin API schema and reconciliation
Builder image refresh
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
go.mod requires go 1.26.0 but the Dockerfile used golang:1.25, causing container-check CI to fail with GOTOOLCHAIN=local. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Run 'make manifests' to update CRD bases that were out of date, fixing the project-check CI failure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Joeavaikath, kaovilai, sseago 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 |
Summary
Fixes multiple CI failures on the
oadp-devscheduled run (#854):IncludedClusterScopedResourcesfrom the wildcard exclusion test scenario — this field is rejected byValidateBackupSpecas restricted, causing the reconciler to fail before creating a VeleroBackup and the test to panic on nilStatus.VeleroBackupgolang:1.25togolang:1.26to matchgo.modrequirementmake manifests)The oadp-compatibility-check failure (
make update-velero-manifests) cannot be fixed here — oadp-operator'soadp-devbranch pins an older velero version than oadp-non-admin's. Once oadp-operator bumps its velero to match, that check should pass.Test plan
golang-checkpasses (panicking test no longer sets a restricted field)container-checkpasses (Dockerfile Go version matches go.mod)project-checkpasses (CRD manifests up to date)Posted via Claude Code
Summary by CodeRabbit