feat(running-queries): show session details on SPID expand#47
Merged
BenediktSchackenberg merged 1 commit intomainfrom Apr 17, 2026
Merged
feat(running-queries): show session details on SPID expand#47BenediktSchackenberg merged 1 commit intomainfrom
BenediktSchackenberg merged 1 commit intomainfrom
Conversation
…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)
There was a problem hiding this comment.
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-queriesquery to includelogin_name,host_name, andprogram_name. - Extends the
RunningQueryRowTypeScript type to includelogin_name,host_name, andprogram_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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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