From 27ade9df5ffed535d39e91a70cfdd29a9c799247 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Sun, 15 Feb 2026 15:47:42 -0500 Subject: [PATCH] Fix query_cost overflow in memory grant collector, add Last Error At column - SafeToDecimal() guards against Infinity/NaN from SQL Server float columns that crash Convert.ToDecimal() (e.g. query_cost in dm_exec_query_memory_grants) - Add Last Error At timestamp column to Health Summary grid so users can tell when an error occurred, not just what it was - Add last_error_time to GetCollectionHealthAsync() query Co-Authored-By: Claude Opus 4.6 --- Lite/Controls/ServerTab.xaml | 3 +++ .../LocalDataService.CollectionHealth.cs | 11 ++++++-- .../RemoteCollectorService.MemoryGrants.cs | 2 +- Lite/Services/RemoteCollectorService.cs | 26 +++++++++++++++++++ 4 files changed, 39 insertions(+), 3 deletions(-) diff --git a/Lite/Controls/ServerTab.xaml b/Lite/Controls/ServerTab.xaml index 7cb808dc..192b3a8a 100644 --- a/Lite/Controls/ServerTab.xaml +++ b/Lite/Controls/ServerTab.xaml @@ -1008,6 +1008,9 @@