Pulse/internal
rcourtman 1646510450 test(ai): improve AI package test coverage from 59.7% to 69.5%
Add comprehensive tests for:
- alert_triggered.go: analysis functions (92%+ coverage)
- patrol_history_persistence.go: all store methods (100%)
- patrol.go: helper functions and getters (100%)
- findings.go: Add edge cases, severity escalation (100%)
- Export functions: all config/detector constructors (100%)

New test files created:
- patrol_history_persistence_test.go
- exports_test.go
- service_extended_test.go
- service_remediation_test.go
- service_tools_test.go
- mock_test.go

Also add coverage.html to .gitignore to exclude generated coverage reports.
2025-12-19 21:53:06 +00:00
..
agentbinaries test: expand cmd and agent update coverage 2025-12-17 13:28:17 +00:00
agentexec Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
agentupdate test: expand cmd and agent update coverage 2025-12-17 13:28:17 +00:00
ai test(ai): improve AI package test coverage from 59.7% to 69.5% 2025-12-19 21:53:06 +00:00
alerts fix: reduce syslog flooding by downgrading routine logs to debug level 2025-12-18 23:27:32 +00:00
api fix: show Removed Docker Hosts section in UI for re-enrollment 2025-12-19 17:57:04 +00:00
auth feat: auto-detect platforms during agent install and allow multi-host tokens 2025-12-14 16:21:59 +00:00
buffer Fix offline buffering: add tests, remove unused config, fix flaky test 2025-12-02 22:31:44 +00:00
ceph Improve test coverage 2025-12-17 12:00:59 +00:00
config fix: show Removed Docker Hosts section in UI for re-enrollment 2025-12-19 17:57:04 +00:00
crypto fix: Prevent orphaned encrypted data when encryption key is deleted 2025-12-17 17:00:53 +00:00
discovery feat(ai): Add enriched context with historical trends and predictions 2025-12-12 09:45:57 +00:00
dockeragent feat(docker-agent): add payload size logging for debugging body-too-large errors 2025-12-14 21:10:06 +00:00
errors refactor: Remove unreachable dead code branches 2025-12-02 14:48:57 +00:00
hostagent hostagent: avoid identity collisions with MAC fallback (Related to #836) 2025-12-17 20:09:55 +00:00
hostmetrics fix(agent): find zpool binary on TrueNAS SCALE (#718) 2025-12-18 16:23:56 +00:00
kubernetesagent feat: add --kube-include-all-deployments flag for Kubernetes agent 2025-12-18 20:58:30 +00:00
license feat(license): add initial license implementation structure to fix build 2025-12-19 17:01:57 +00:00
logging chore: remove dead code and unused exports 2025-11-27 13:17:39 +00:00
mdadm perf: Pre-compile regexes in mdadm package 2025-12-02 15:11:04 +00:00
metrics Improve test coverage 2025-12-17 12:00:59 +00:00
mock feat(kubernetes): Add Kubernetes mock data and UI 2025-12-12 23:13:40 +00:00
models fix: backup matching uses instance+VMID to prevent cross-instance collisions 2025-12-16 22:19:19 +00:00
monitoring fix(test): resolve flaky concurrent temperature collection test 2025-12-19 17:09:57 +00:00
notifications style: remove emojis from log messages 2025-12-13 21:29:11 +00:00
resources feat(backend): Implement remaining TODOs 2025-12-13 13:21:23 +00:00
sensors feat: AI security and policy improvements for 5.0 2025-12-12 17:38:55 +00:00
ssh/knownhosts test: Add tests for SSH knownhosts error and path methods 2025-12-01 17:50:13 +00:00
system style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
tempproxy perf: Remove redundant fmt.Sprintf in tempproxy contains function 2025-12-02 15:24:40 +00:00
types test: add unit tests for types package 2025-11-26 14:10:21 +00:00
updates style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
utils AI Problem Solver implementation and various fixes 2025-12-06 23:46:08 +00:00
websocket refactor: Remove unreachable dead code branches 2025-12-02 14:56:35 +00:00