Pulse/internal/updates
rcourtman db7adea2a1 Add unit tests for InstallShAdapter utility functions
- Test parseProgress: 23 test cases for progress parsing from install.sh output
- Test readLastLines: 11 test cases including edge cases
- Test version pattern validation: 45 test cases for command injection prevention
- Test DockerUpdater and AURUpdater basic functionality
- Fix bug in readLastLines: handle n<=0 to prevent slice bounds panic

Coverage increased from 35.9% to 38.2%
2025-11-30 04:04:27 +00:00
..
adapter_installsh.go Add unit tests for InstallShAdapter utility functions 2025-11-30 04:04:27 +00:00
adapter_installsh_test.go Add unit tests for InstallShAdapter utility functions 2025-11-30 04:04:27 +00:00
history.go Improve update procedure tracking 2025-11-15 16:43:42 +00:00
manager.go fix: multiple agent installation and update issues 2025-11-27 15:49:03 +00:00
manager_test.go Improve update procedure tracking 2025-11-15 16:43:42 +00:00
mock_updater.go Add release dry run workflow and API update integration test 2025-11-12 21:02:52 +00:00
queue.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
queue_test.go Refactor update service to eliminate polling and race conditions 2025-11-11 09:33:05 +00:00
sse.go Refactor update service to eliminate polling and race conditions 2025-11-11 09:33:05 +00:00
sse_test.go Refactor update service to eliminate polling and race conditions 2025-11-11 09:33:05 +00:00
updater.go chore: remove additional dead code 2025-11-27 05:13:26 +00:00
version.go Add release dry run workflow and API update integration test 2025-11-12 21:02:52 +00:00
version_test.go Add unit tests for version utility functions 2025-11-30 02:03:35 +00:00