feat(dashboards): validate dashboard tile widget constraints (4/11)#60492
Conversation
7e2f21f to
39ac163
Compare
6c7e3ac to
3077a15
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: 0 Safe | 1 Needs Review | 0 Blocked
|
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 |
|
🎭 Playwright report · View test results →
These issues are not necessarily caused by your changes. |
da8fe9e to
f7255c9
Compare
8fac007 to
9dbbd45
Compare
Query snapshots: Backend query snapshots updatedChanges: 1 snapshots (1 modified, 0 added, 0 deleted) What this means:
Next steps:
|
34edcc2 to
9dbbd45
Compare
d078b07 to
0e6dd89
Compare
372bf0a to
7928546
Compare
0e6dd89 to
3d7ba9a
Compare
Query snapshots: Backend query snapshots updatedChanges: 4 snapshots (4 modified, 0 added, 0 deleted) What this means:
Next steps:
|
c88eb68 to
c4ff9e6
Compare
3b9b2a1 to
1bd1016
Compare
|
Size Change: 0 B Total Size: 80.8 MB ℹ️ View Unchanged
|
|
⏭️ 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:
|
87c4af7 to
8244047
Compare
5df277c to
5bf1f70
Compare
8244047 to
9ea68bc
Compare
5bf1f70 to
60dab93
Compare
9ea68bc to
73ccb70
Compare
60dab93 to
3944be1
Compare
72160a0 to
bd01c79
Compare

Problem
After adding widget FK and 4-way exclusivity as
NOT VALID, we must validate constraints in a standalone PR — this can scan the tile table and is the highest-risk migration step.This PR is 4/10 in the dashboard widgets Graphite stack.
Depends on: PR 3 (4-way CHECK
NOT VALID)Changes
0010_validate_dashboardtile_check—VALIDATE CONSTRAINTfor widget FK and tile exclusivity checkHow did you test this code?
widget_idvalues are null👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Publish to changelog?
no
Docs update
skip-inkeep-docs
🤖 Agent context