Skip to content

feat(dashboards): Migrate saved span widgets to filter-first _if syntax - #127068

Merged
wmak merged 1 commit into
masterfrom
wmak/feat/update-dashboards-with-new-if-syntax
Oct 9, 2026
Merged

wmak merged 1 commit into
masterfrom
wmak/feat/update-dashboards-with-new-if-syntax

Conversation

@wmak

@wmak wmak commented Oct 9, 2026

Copy link
Copy Markdown
Member

Backfill DashboardWidgetQuery fields/aggregates/orderby (and field links)
from the deprecated equals-style combinators to the filter-first form.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wmak
wmak requested a review from a team as a code owner October 9, 2026 17:58
@linear-code

linear-code Bot commented Oct 9, 2026

Copy link
Copy Markdown

BROWSE-811

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 9, 2026

@manessaraj manessaraj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 7aca574. Configure here.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

This PR has a migration; here is the generated SQL for src/sentry/migrations/1209_update_if_syntax_on_dashboard_spans.py

for 1209_update_if_syntax_on_dashboard_spans in sentry

--
-- Raw Python operation
--
-- THIS OPERATION CANNOT BE WRITTEN AS SQL

@wmak
wmak merged commit 1743f7a into master Oct 9, 2026
120 of 123 checks passed
@wmak
wmak deleted the wmak/feat/update-dashboards-with-new-if-syntax branch October 9, 2026 18:59
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