Skip to content

Add Server Context pane to Plan Insights#41

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/server-context-insights
Mar 5, 2026
Merged

Add Server Context pane to Plan Insights#41
erikdarlingdata merged 1 commit intodevfrom
feature/server-context-insights

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • New Server Context column as the first pane in Plan Insights (purple header, dark background)
  • Shows: server name/edition/version, hardware (CPUs, RAM), MAXDOP, cost threshold, max memory, database/compat level
  • Only visible when metadata is available (query editor or Run Repro Script)
  • Run Repro Script now fetches server metadata before executing, so Advice for Humans includes the server context block
  • File-opened plan Advice buttons now pass viewer.Metadata to ResultMapper.Map()

Closes #22
Closes #23

Test plan

  • Query editor: connect, run query, check Plan Insights for Server Context pane
  • Run Repro Script from file: check Plan Insights shows Server Context
  • Run Repro Script: click Advice for Humans, verify === Server Context === block present
  • File-opened plan without connection: Server Context pane should not appear

🤖 Generated with Claude Code

- New Server Context column in Plan Insights showing server name,
  edition, hardware, MAXDOP, cost threshold, max memory, and database
- Only visible when connected (query editor or Run Repro Script)
- Run Repro Script now fetches server metadata so Advice for Humans
  includes the === Server Context === block
- File-opened plan Advice buttons now pass viewer metadata through

Closes #22
Closes #23

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit f89aedd into dev Mar 5, 2026
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