Fix Detect Breaking Changes version selection logic for previous released version - #21529
Conversation
…ased version Signed-off-by: Craig Perkins <craig5008@gmail.com>
PR Reviewer Guide 🔍(Review updated until commit cd1512a)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to cd1512a Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 05f82a5
Suggestions up to commit 85f71c5
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21529 +/- ##
============================================
+ Coverage 73.36% 73.48% +0.11%
- Complexity 74366 74483 +117
============================================
Files 5970 5970
Lines 338267 338267
Branches 48753 48753
============================================
+ Hits 248171 248562 +391
+ Misses 70317 69885 -432
- Partials 19779 19820 +41 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Craig Perkins <craig5008@gmail.com>
|
Persistent review updated to latest commit 05f82a5 |
|
❌ Gradle check result for 05f82a5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 05f82a5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 05f82a5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 05f82a5: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
Persistent review updated to latest commit cd1512a |
|
❌ Gradle check result for cd1512a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❌ Gradle check result for 3fdf706: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
…ased version (#21529) (#21546) * Fix Detect Breaking Changes version selection logic for previous released version (cherry picked from commit 90be262) Signed-off-by: Craig Perkins <craig5008@gmail.com> Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ased version (opensearch-project#21529) * Fix Detect Breaking Changes version selection logic for previous released version Signed-off-by: Craig Perkins <craig5008@gmail.com> Signed-off-by: Craig Perkins <cwperx@amazon.com>
…ased version (opensearch-project#21529) * Fix Detect Breaking Changes version selection logic for previous released version Signed-off-by: Craig Perkins <craig5008@gmail.com> Signed-off-by: Craig Perkins <cwperx@amazon.com>
Description
Currently the logic for Detect Breaking Changes simply selects the current released version of OpenSearch as the version to test against for breaking changes.
This PR updates the logic to be more intelligent and selects the last minor version.
This will resolve issues like #21434 (comment) where backports against the 3.5 branch are choosing the wrong version (i.e. 3.6 instead of 3.4) to test against with the Detect Breaking Changes CI check.
Related Issues
Fixes issues as seen in #21434 (comment)
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.