Skip to content

feat(running-queries): show session details on SPID expand#47

Merged
BenediktSchackenberg merged 1 commit intomainfrom
fix/spid-details-38
Apr 17, 2026
Merged

feat(running-queries): show session details on SPID expand#47
BenediktSchackenberg merged 1 commit intomainfrom
fix/spid-details-38

Conversation

@BenediktSchackenberg
Copy link
Copy Markdown
Owner

When clicking on a session row in Running Queries, the expanded panel now shows: login name, host name, program name, wait resource, logical reads.\n\nAlso adds these fields to the backend query and TypeScript types.\n\nPartial fix for #38

…st, program, wait resource)

When clicking on a session row in Running Queries, the expanded panel
now shows additional context useful for diagnosing blocking/performance:
- Login name
- Host name
- Program name
- Wait resource
- Logical reads

Also adds login_name, host_name, program_name to the backend query
and TypeScript types.

Partial fix for #38 (full query plan support requires additional
backend work with sys.dm_exec_query_plan)
Copilot AI review requested due to automatic review settings April 17, 2026 18:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds additional SQL Server session metadata to the “Running Queries” SPID expand panel, aligning the UI with backend data so DBAs can see more context when drilling into a running session (partial progress toward issue #38).

Changes:

  • Shows login name, host name, program name, wait resource, and logical reads in the expanded session row on Running Queries.
  • Extends the backend /api/performance/running-queries query to include login_name, host_name, and program_name.
  • Extends the RunningQueryRow TypeScript type to include login_name, host_name, and program_name.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
frontend/src/pages/RunningQueriesPage.tsx Renders new session-detail fields in the expanded row UI.
frontend/src/api/types.ts Adds new optional properties to RunningQueryRow for the new fields returned by the API.
backend/Endpoints/PerformanceEndpointMappings.cs Selects login_name, host_name, program_name in the running-queries endpoint response.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BenediktSchackenberg BenediktSchackenberg merged commit 2b86d56 into main Apr 17, 2026
5 checks passed
@BenediktSchackenberg BenediktSchackenberg deleted the fix/spid-details-38 branch April 17, 2026 19:04
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.

2 participants