Pulse/internal
rcourtman 7bac96d60b test: Add comprehensive tests for HandleHostRemoved, ReevaluateGuestAlert
HandleHostRemoved (0%→100%):
- Empty host ID is no-op
- Clears host offline alert and confirmations
- Clears host metric alerts (CPU, memory)
- Clears host disk alerts
- Clears all alert types together

ReevaluateGuestAlert (0%→100%):
- No active alerts is no-op
- Clears alert when threshold disabled (nil)
- Clears alert when trigger is zero
- Clears alert when value below clear threshold
- Clears alert when value below trigger threshold
- Keeps alert when value above both thresholds
- Processes all metric types (7 types)
- Clears pending alert when threshold disabled
- Uses clear equals trigger when clear is zero
- Ignores alerts for different guests

NormalizeMetricTimeThresholds (0%→100%):
- Updated existing test to call public wrapper instead of internal function

Coverage: 54.6% → 55.6%
2025-12-01 16:36:48 +00:00
..
agentbinaries chore: fix staticcheck SA warnings 2025-11-27 09:16:53 +00:00
agentupdate Fix Windows agent self-update restart failure 2025-11-30 12:02:43 +00:00
alerts test: Add comprehensive tests for HandleHostRemoved, ReevaluateGuestAlert 2025-12-01 16:36:48 +00:00
api test: Improve coverage for cluster config handler functions 2025-12-01 14:46:00 +00:00
auth test: add unit tests for auth package 2025-11-26 13:51:13 +00:00
config test: Add comprehensive tests for CreateProxmoxConfigFromFields function 2025-12-01 15:22:50 +00:00
crypto chore: remove additional dead code 2025-11-27 05:13:26 +00:00
discovery Add unit tests for discovery config_override utility functions 2025-11-30 00:50:07 +00:00
dockeragent Add unit tests for dockeragent runtime detection functions 2025-11-30 08:47:46 +00:00
errors test: add unit tests for errors package 2025-11-26 14:09:14 +00:00
hostagent Add unit tests for hostagent utility functions 2025-11-30 01:34:55 +00:00
hostmetrics Add unit tests for ZFS storage utility functions (hostmetrics) 2025-11-30 12:50:58 +00:00
logging chore: remove dead code and unused exports 2025-11-27 13:17:39 +00:00
mdadm Add unit tests for mdadm parseDetail function 2025-11-30 16:42:12 +00:00
metrics chore: remove dead code and unused exports 2025-11-27 13:17:39 +00:00
mock Refine memory visualization with StackedMemoryBar component 2025-11-29 13:48:30 +00:00
models Fix backup status indicator not showing for guests 2025-11-30 22:13:46 +00:00
monitoring test: Add comprehensive tests for hasExpired function 2025-12-01 15:20:11 +00:00
notifications test: Add comprehensive tests for EmailTemplate function 2025-12-01 15:29:31 +00:00
sensors Add rp1_adc to CPU chip detection in sensors parser 2025-12-01 09:45:39 +00:00
ssh/knownhosts chore: remove additional dead code 2025-11-27 05:13:26 +00:00
system style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
tempproxy Add unit tests for HTTPClient (internal/tempproxy) 2025-11-30 21:18:14 +00:00
types test: add unit tests for types package 2025-11-26 14:10:21 +00:00
updates test: Add tests for updates package utility functions 2025-12-01 14:18:54 +00:00
utils Consolidate duplicate normalizeVersion functions into shared utility 2025-11-29 22:57:33 +00:00
websocket Add unit tests for websocket Hub.checkOrigin function 2025-12-01 09:33:40 +00:00