-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 [Monorepo] Fix make verify-crd-compatibility for catalogd #1668
🌱 [Monorepo] Fix make verify-crd-compatibility for catalogd #1668
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e19760f
to
4d17ca8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1668 +/- ##
==========================================
- Coverage 67.42% 67.35% -0.07%
==========================================
Files 55 55
Lines 4632 4644 +12
==========================================
+ Hits 3123 3128 +5
- Misses 1284 1291 +7
Partials 225 225
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c134fc1
to
575a701
Compare
The `verify-crd-compatibility` check needs to be executed from the root directory; otherwise, it fails to correctly resolve commit SHAs for comparison. To address this, we have combined the checks for both CRDs into a single verification step, ensuring correctness while eliminating duplicate file references.
575a701
to
7a51015
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
c5e9a17
To proceed, we needed to skip the check when the previous commit is not found. However, this results in the
verify-crd-compatibility
check always being skipped for catalogd. Example: https://github.com/operator-framework/operator-controller/actions/runs/13016547026/job/36307072381?pr=1653#step:4:68Simply reverting the
verify-crd-compatibility
target and fixing the path to include catalogd will not work because the check must be executed from the root directory; otherwise, it fails to correctly resolve to commit SHAs for comparison.To address this, we have combined the checks for both CRDs into a single verification step, ensuring correctness while eliminating duplicate file references.