Skip to content

✨remove ForceSemverUpgradeConstraints feature gate and implementation #1638

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

Merged

Conversation

joelanford
Copy link
Member

Description

Closes #1615

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@joelanford joelanford requested a review from a team as a code owner January 19, 2025 19:15
Copy link

netlify bot commented Jan 19, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit cfb2c7b
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/678df0ef7b0a3f0008f09593
😎 Deploy Preview https://deploy-preview-1638--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jan 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.78%. Comparing base (96972f0) to head (cfb2c7b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1638      +/-   ##
==========================================
+ Coverage   66.76%   66.78%   +0.02%     
==========================================
  Files          57       57              
  Lines        4600     4585      -15     
==========================================
- Hits         3071     3062       -9     
+ Misses       1303     1299       -4     
+ Partials      226      224       -2     
Flag Coverage Δ
e2e 53.37% <100.00%> (+0.28%) ⬆️
unit 53.67% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -28,7 +22,7 @@ func SuccessorsOf(installedBundle ocv1.BundleMetadata, channels ...declcfg.Chann
return nil, fmt.Errorf("parsing installed version constraint %q: %w", installedBundleVersion.String(), err)
}

successorsPredicate, err := successors(installedBundle, channels...)
successorsPredicate, err := legacySuccessor(installedBundle, channels...)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @joelanford

Any reason why we should not remove the unused funcs raised by the lint?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope! Pushed an amended commit to fix.

@joelanford joelanford force-pushed the rm-force-semver-upgrade-graph branch from a815014 to cfb2c7b Compare January 20, 2025 06:45
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 20, 2025
@joelanford joelanford added this pull request to the merge queue Jan 20, 2025
Merged via the queue into operator-framework:main with commit a62d3bf Jan 20, 2025
23 checks passed
@joelanford joelanford deleted the rm-force-semver-upgrade-graph branch February 14, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove ForceSemverUpgradeConstraints feature gate and implementation
2 participants