Skip to content

Conversation

@joshuarli
Copy link
Member

@joshuarli joshuarli commented Nov 21, 2025

currently migrations noop takes ~10 minutes in us and a few minutes each in other regions and customers

i'd like to optimize the noop case by only checking the migrations table before dj_call_command migrate does all the heavy stuff like loading apps and models

getsentry upgrade --verbosity=2 --no-repair --noinput local noop before and after (3 databases - default, secondary, billing):

Executed in   62.95 secs    fish           external
   usr time   61.39 secs    0.18 millis   61.39 secs
   sys time    0.97 secs    3.43 millis    0.96 secs

Executed in    3.46 secs    fish           external
   usr time    2.50 secs    0.24 millis    2.50 secs
   sys time    0.54 secs    4.33 millis    0.54 secs

@joshuarli joshuarli requested a review from wedamija November 21, 2025 00:08
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants