Skip to content

Add right-click View Plan on Dashboard Blocked Process Reports and Deadlocks grids (#880)#883

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/880-dashboard-view-plan
Apr 22, 2026
Merged

Add right-click View Plan on Dashboard Blocked Process Reports and Deadlocks grids (#880)#883
erikdarlingdata merged 1 commit intodevfrom
feature/880-dashboard-view-plan

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

Test plan

  • Build clean (0 errors)
  • Dashboard → Blocking sub-tab → right-click a row → View Blocked Plan / View Blocking Plan → plan tab opens
  • Dashboard → Deadlocks sub-tab → right-click a row → View Plan → plan tab opens
  • Evicted plan shows a clear "no longer in the plan cache" message
  • Zero-handle / system-context row shows "no resolvable sql_handle"
  • Existing Copy / Export / Download XML items still work on both grids

🤖 Generated with Claude Code

…adlocks grids (#880)

Mirrors the Lite treatment: pulls sql_handle + statement offsets out of
the BPR or deadlock graph, runs a sys.dm_exec_query_stats /
dm_exec_text_query_plan lookup against the monitored server, and opens
the result in the existing plan viewer tab.

BPR grid gets "View Blocked Plan" + "View Blocking Plan" (the XML has
both processes). Deadlocks grid gets a single "View Plan" and finds the
matching <process> by SPID — Dashboard's row model is one-per-process.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit cd2bc05 into dev Apr 22, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/880-dashboard-view-plan branch April 22, 2026 22:36
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.

1 participant