-
Notifications
You must be signed in to change notification settings - Fork 253
fix: prefer exact match for backup method env version mapping #10012
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
fix: prefer exact match for backup method env version mapping #10012
Conversation
Previously, version mapping used prefix/regex matching which could incorrectly match similar versions. This change adds a two-pass approach that first looks for an exact match before falling back to prefix/regex matching, ensuring more accurate version resolution.
|
Auto Cherry-pick Instructions |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10012 +/- ##
==========================================
+ Coverage 51.41% 51.44% +0.02%
==========================================
Files 541 541
Lines 58763 58770 +7
==========================================
+ Hits 30215 30235 +20
+ Misses 25598 25575 -23
- Partials 2950 2960 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/cherry-pick release-1.1 |
|
/cherry-pick release-1.0 |
|
🤖 says: cherry pick action finished successfully 🎉! |
|
🤖 says: cherry pick action finished successfully 🎉! |
Co-authored-by: wusai80 <[email protected]> (cherry picked from commit 2275dc0)
Co-authored-by: wusai80 <[email protected]> (cherry picked from commit 2275dc0)
Previously, version mapping used prefix/regex matching which could incorrectly match similar versions. This change adds a two-pass approach that first looks for an exact match before falling back to prefix/regex matching, ensuring more accurate version resolution.