Fix Lite duplicate deadlock and blocked process events (#61)#65
Merged
erikdarlingdata merged 3 commits intodevfrom Feb 16, 2026
Merged
Fix Lite duplicate deadlock and blocked process events (#61)#65erikdarlingdata merged 3 commits intodevfrom
erikdarlingdata merged 3 commits intodevfrom
Conversation
…ide (#52, #56-59) New alert types for both Dashboard and Lite: Long-Running Queries, Poison Waits, TempDB Space, Long-Running Jobs — each with configurable thresholds in Settings, email notifications, tray toasts, and auto-clear when conditions resolve. Alerts History view aggregates all alerts across servers in a timeline with severity-colored rows, time range and server filters, column-level filtering, copy/export context menu, and dismiss/hide functionality. Dashboard persists alert history to JSON on exit and reloads on startup. Alerts are hidden (not deleted) when dismissed, surviving across sessions. Lite stores alerts in DuckDB with a dismissed column (schema v9 migration). Both apps auto-refresh the alerts view when visible and support multi-select dismiss and bulk dismiss-all with confirmation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Deadlock and blocked process XML processors now check whether sp_BlitzLock / sp_HumanEventsBlockViewer actually produced parsed results. If 0 results are returned, rows stay unprocessed for automatic retry on the next run instead of being silently marked done. Logs NO_RESULTS status with descriptive error message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ke sure something works, and then you get so excited about it working that you just sit there marveling at it working and then forget to put it back? It me. Fix Lite deadlock and blocked process collectors inserting duplicate rows (#61). Both collectors query the XE ring buffer every minute but the buffer holds ~10 minutes of events, so each event was inserted ~10 times. Now each collector queries MAX(timestamp) from DuckDB before collection and passes it as a SQL Server parameter to filter out already-collected events. Falls back to a 10-minute window on first run. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
MAX(timestamp)from DuckDB before each collection cycle and pass it as a@cutoff_timeSQL parameter so SQL Server only returns events newer than what we already haveCloses #61
Test plan
🤖 Generated with Claude Code