Pulse/internal/monitoring
rcourtman 4defced1a6 test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource
Add comprehensive test coverage for:
- parseDurationEnv: empty/unset env, valid durations, invalid inputs
- parseIntEnv: empty/unset env, valid integers, invalid inputs
- markFailed: status setting, timestamps, failure reason
- logNodeMemorySource: nil handling, source change detection, log levels

All four functions now at 100% coverage (up from 0-78%).
2025-12-01 17:59:20 +00:00
..
backoff.go
backoff_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
backup_guard_test.go
ceph.go
ceph_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
circuit_breaker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
circuit_breaker_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
container_disk_usage.go Skip inactive storages during content scans 2025-11-18 09:46:48 +00:00
container_disk_usage_test.go test: Add tests for monitoring and notifications functions 2025-12-01 17:33:36 +00:00
container_parsing.go refactor: Extract container parsing functions to separate file 2025-12-01 10:40:48 +00:00
container_parsing_test.go test: Add unit tests for container_parsing.go pure functions 2025-12-01 13:28:39 +00:00
diagnostic_snapshots.go
diagnostic_snapshots_test.go test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource 2025-12-01 17:59:20 +00:00
docker_commands.go
docker_commands_test.go test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource 2025-12-01 17:59:20 +00:00
docker_host_identity.go refactor: Extract Docker host identifier functions to separate file 2025-12-01 10:03:47 +00:00
docker_host_identity_test.go test: Add unit tests for docker_host_identity.go pure functions 2025-12-01 13:20:30 +00:00
error_classification_test.go Add unit tests for error classification functions in monitoring 2025-12-01 01:37:28 +00:00
fake_executor_integration.go
fs_filters.go
fs_filters_test.go
guest_metadata.go refactor: Extract guest metadata functions to separate file 2025-12-01 10:53:41 +00:00
guest_metadata_test.go test: Add unit tests for guest_metadata.go pure functions 2025-12-01 12:18:59 +00:00
harness_integration.go
helpers_test.go test: Add tests for monitoring helper and normalize functions 2025-12-01 14:14:48 +00:00
integration_integration_test.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
main_test.go
metrics.go style: fix staticcheck style warnings 2025-11-27 09:19:33 +00:00
metrics_helpers_test.go Add unit tests for metrics.go helper functions 2025-11-29 16:44:37 +00:00
metrics_history.go
metrics_history_concurrency_test.go chore: fix staticcheck SA warnings 2025-11-27 09:16:53 +00:00
metrics_history_test.go Add unit tests for MetricsHistory (internal/monitoring) 2025-11-30 21:34:07 +00:00
monitor.go Fix outdated error message path for removed Docker hosts 2025-12-01 12:03:05 +00:00
monitor_container_test.go feat: surface LXC mountpoints in UI (related to #715) 2025-11-18 22:57:20 +00:00
monitor_docker_test.go test: Add unit tests for convertDockerServices 2025-12-01 13:15:29 +00:00
monitor_health_test.go
monitor_host_agents_test.go Improve token collision handling and installer subnet support 2025-11-20 09:45:36 +00:00
monitor_memory_test.go
monitor_pmg_test.go
monitor_polling.go refactor: remove unnecessary type conversions 2025-11-27 10:33:35 +00:00
monitor_polling_test.go Honor configured PVE polling interval in scheduler 2025-11-20 22:00:56 +00:00
monitor_proxy_test.go Improve temperature proxy detection 2025-11-18 14:25:09 +00:00
monitor_snapshots_test.go Skip inactive storages during content scans 2025-11-18 09:46:48 +00:00
monitor_storage_test.go
monitor_test.go test: Add monitoring tests for parseDurationEnv, parseIntEnv, markFailed, logNodeMemorySource 2025-12-01 17:59:20 +00:00
monitor_timeout_test.go
poller.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
ratetracker.go
ratetracker_concurrency_test.go
ratetracker_test.go Add unit tests for RateTracker.CalculateRates (monitoring) 2025-11-30 07:07:18 +00:00
reload.go feat: make PVE polling interval configurable (related to #467) 2025-11-18 21:30:04 +00:00
scheduler.go refactor: use builtin max() and fix unused parameter 2025-11-27 10:08:37 +00:00
scheduler_test.go Add unit tests for adaptive scheduler interval selection (scheduler) 2025-11-30 06:11:22 +00:00
staleness_tracker.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
staleness_tracker_test.go
storage_backup_preserve_test.go
storage_filters.go Improve installer temperature proxy and backup polling 2025-11-18 18:42:33 +00:00
storage_filters_test.go Improve installer temperature proxy and backup polling 2025-11-18 18:42:33 +00:00
task_queue.go
task_queue_test.go test: Add taskHeap.Less tiebreaker test case 2025-12-01 14:36:32 +00:00
temperature.go chore: remove more dead code 2025-11-27 00:10:55 +00:00
temperature_test.go Add unit tests for temperature utility functions 2025-11-30 04:20:28 +00:00