feat(dashboards): add concurrent indexes for dashboard widget tiles (5/11)#60493
Conversation
e509ef4 to
753582f
Compare
|
⏭️ Skipped snapshot commit because branch advanced to The new commit will trigger its own snapshot update workflow. If you expected this workflow to succeed: This can happen due to concurrent commits. To get a fresh workflow run, either:
|
Migration SQL ChangesHey 👋, we've detected some migrations on this PR. Here's the SQL output for each migration, make sure they make sense:
|
🔍 Migration Risk AnalysisWe've analyzed your migrations for potential risks. Summary: 1 Safe | 0 Needs Review | 0 Blocked ✅ SafeBrief or no lock, backwards compatible Last updated: 2026-05-29 20:32 UTC (184fdda) |
Query snapshots: Backend query snapshots updatedChanges: 3 snapshots (3 modified, 0 added, 0 deleted) What this means:
Next steps:
|
|
Reviews (1): Last reviewed commit: "test(backend): update query snapshots" | Re-trigger Greptile |
11ac017 to
f34895a
Compare
8fac007 to
9dbbd45
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
8cd5862 to
f34895a
Compare
af3c711 to
a780498
Compare
8244047 to
9ea68bc
Compare
a780498 to
90d6ce0
Compare
73ccb70 to
72160a0
Compare
90d6ce0 to
72ba19b
Compare
72160a0 to
bd01c79
Compare
72ba19b to
7a9a082
Compare
bd01c79 to
97caf5c
Compare
7a9a082 to
6079f69
Compare
b70602c to
e98450b
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
a934f69 to
767092b
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
…xes_for_dashboard_widget_tiles

Problem
Widget tiles will be queried by
widget_id; the index must be built concurrently to avoid blocking writes onposthog_dashboardtile.This PR is 5/10 in the dashboard widgets Graphite stack.
Depends on: PR 4 (validated constraints)
Changes
0011_dashboardtile_widget_id_idx— concurrent index onwidget_idplus partial unique(dashboard, widget)constraintDashboardTileMeta constraints includingunique_dashboard_widgetHow did you test this code?
CREATE INDEX CONCURRENTLYpattern from PostHog migration conventions👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Publish to changelog?
no
Docs update
skip-inkeep-docs
🤖 Agent context