Skip to content

ref: Extract settings migrations and introduce versioning#681

Merged
limbonaut merged 5 commits into
mainfrom
ref/versioned-migration
May 6, 2026
Merged

ref: Extract settings migrations and introduce versioning#681
limbonaut merged 5 commits into
mainfrom
ref/versioned-migration

Conversation

@limbonaut

@limbonaut limbonaut commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Before this PR, we had a couple of functions helping with project settings migrations. This PR extracts those functions into a separate translation unit and introduces schema versioning, so we can detect which version we are on and apply the relevant migrations.

@limbonaut limbonaut force-pushed the ref/versioned-migration branch from bcc83d9 to ca27296 Compare May 5, 2026 20:35
@limbonaut limbonaut marked this pull request as ready for review May 5, 2026 20:43
@limbonaut limbonaut force-pushed the ref/versioned-migration branch from a8ad455 to aba563c Compare May 5, 2026 20:44
Comment thread src/sentry/settings_migrations.cpp

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit aba563c. Configure here.

Comment thread src/sentry/settings_migrations.cpp
Comment thread src/sentry/settings_migrations.cpp
Base automatically changed from feat/enable-logs-changes to main May 6, 2026 09:50
@limbonaut limbonaut force-pushed the ref/versioned-migration branch from 57d7642 to 5fd216e Compare May 6, 2026 10:08
@limbonaut limbonaut merged commit f9eff7b into main May 6, 2026
132 of 134 checks passed
@limbonaut limbonaut deleted the ref/versioned-migration branch May 6, 2026 12:44
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.

3 participants