Skip to content

Fix Dashboard sub-tab badges and DuckDB dismissed column migration#68

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/dashboard-badge-fixes
Feb 16, 2026
Merged

Fix Dashboard sub-tab badges and DuckDB dismissed column migration#68
erikdarlingdata merged 1 commit intodevfrom
feature/dashboard-badge-fixes

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Dashboard sub-tab badges (Locking, Memory, Resource Metrics) now update when alerts fire from the independent alert engine. Previously only the server-level Overview badge updated.
  • Fix deadlock badge race condition: EvaluateAlertConditionsAsync consumed the previous deadlock count before UpdateTabBadgeFromAlertHealth could compute the delta, so the Locking badge never appeared for deadlock alerts.
  • Fix DuckDB v9 migration silently failing — ALTER TABLE ADD COLUMN does not support NOT NULL constraint in DuckDB. Changed to nullable with DEFAULT false.

Test plan

  • Dashboard builds with 0 errors
  • Lite builds with 0 errors
  • CPU alert fires → Resource Metrics badge appears
  • Deadlock alert fires → Locking badge appears
  • Lite alerts history grid shows data after migration fix

🤖 Generated with Claude Code

Dashboard: Sub-tab badges (Locking, Memory, Resource Metrics) now update when
alerts fire from the independent alert engine. Previously only the server-level
Overview badge updated. Also fix deadlock badge race condition where
EvaluateAlertConditionsAsync consumed the previous deadlock count before the
badge delta calculation could use it.

Lite: Fix DuckDB v9 migration silently failing — ALTER TABLE ADD COLUMN does
not support NOT NULL constraint in DuckDB. Changed to nullable with DEFAULT.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 4b3d7ef into dev Feb 16, 2026
1 check passed
@erikdarlingdata erikdarlingdata mentioned this pull request Feb 18, 2026
3 tasks
@erikdarlingdata erikdarlingdata deleted the feature/dashboard-badge-fixes branch February 20, 2026 13:20
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.

1 participant