Skip to content

metabase: drop v3->v4 and v4->v5 migrations#3735

Merged
roman-khimov merged 1 commit intomasterfrom
metabase-migration
Dec 12, 2025
Merged

metabase: drop v3->v4 and v4->v5 migrations#3735
roman-khimov merged 1 commit intomasterfrom
metabase-migration

Conversation

@roman-khimov
Copy link
Member

It's time. 0.49.0 dropped v2 to v3 and 0.50.0 dropped pre-0.46.0 write cache migrations. We also have contracts in master that require 0.46.0+, so this brings metabase more in line with other things.

@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.48%. Comparing base (fe0b6ef) to head (a152d09).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3735      +/-   ##
==========================================
- Coverage   26.84%   26.48%   -0.37%     
==========================================
  Files         658      658              
  Lines       41814    41621     -193     
==========================================
- Hits        11225    11022     -203     
- Misses      29554    29588      +34     
+ Partials     1035     1011      -24     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

It's time. 0.49.0 dropped v2 to v3 and 0.50.0 dropped pre-0.46.0 write cache
migrations. We also have contracts in master that require 0.46.0+, so this
brings metabase more in line with other things.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
unusedTombstonePrefix
// unusedSmallPrefix was deleted in metabase version 5
unusedSmallPrefix
unusedSmallPrefix //nolint:unused
Copy link
Member

Choose a reason for hiding this comment

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

when do we drop them?

Copy link
Member Author

Choose a reason for hiding this comment

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

Never? We kinda can reuse them, but VERSION.md remembers everything.

Copy link
Member

@carpawell carpawell Dec 12, 2025

Choose a reason for hiding this comment

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

yeah, but why need unused consts? not in VERSION.md but in the code

Copy link
Member Author

Choose a reason for hiding this comment

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

It's an enumeration and there are still (or can be) constants that come after unused ones, these should work. It can be solved in unnamed fashion, but the way we have them now works too.

@roman-khimov roman-khimov merged commit 23b2192 into master Dec 12, 2025
17 of 22 checks passed
@roman-khimov roman-khimov deleted the metabase-migration branch December 12, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants