Fix 6 verified Lite bugs from code review#611
Merged
erikdarlingdata merged 1 commit intodevfrom Mar 17, 2026
Merged
Conversation
- Anomaly detector: normalize wait/blocking/deadlock ratios to per-hour rates before comparing across different-length windows (24h baseline vs 4h analysis). Previously required ~30x actual rate increase to trigger a "5x spike" threshold. - Poison wait query: replace DuckDB NOW() with parameterized DateTime.UtcNow to match UTC-stored collection_time (only NOW() usage in entire codebase) - Daily summary: top_wait_type now uses GROUP BY + SUM aggregate instead of picking the single highest individual delta sample - FinOps High Impact grid: route data through filter manager instead of setting ItemsSource directly (column filters were broken on this grid) - Plan viewer accuracy ratio: divide ActualRows by ActualExecutions before comparing to EstimateRows (per-execution comparison, not total vs estimate) - Settings: Test Email now saves/restores App SMTP values instead of mutating them permanently. Cancel no longer leaves test values in effect. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughUpdates anomaly detection to normalize metrics by window lengths, adjusts UI data flows through filter managers, refines row-per-execution visualization calculations, modifies SQL queries for top-wait-type and timestamped filtering, and introduces state preservation for SMTP settings during email testing. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
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
NOW()call in the codebase with parameterizedDateTime.UtcNowto match UTC-storedcollection_timetop_wait_typenow usesGROUP BY wait_type ORDER BY SUM()instead of picking the single highest individual delta sampleDataGridFilterManagerinstead of settingItemsSourcedirectly — column filters were broken on this gridActualRowsbyActualExecutionsbefore comparing toEstimateRows— operators with many executions no longer show false "1000x off" warningsTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit