Pulse/internal/updates
rcourtman 6267554b74 Add unit tests for version utility functions
Test coverage for pure functions in internal/updates/version.go:
- Version.String() - 6 test cases
- Version.Compare() - 14 test cases (major/minor/patch/prerelease)
- Version.IsNewerThan() - 4 test cases
- Version.IsPrerelease() - 4 test cases
- compareInts() - 7 test cases
- extractRCNumber() - 12 test cases
- envBool() - 17 test cases
- sanitizePrereleaseIdentifier() - 14 test cases

Coverage: 35.2% -> 35.9%
2025-11-30 02:03:35 +00:00
..
adapter_installsh.go feat: serve install scripts from GitHub releases instead of main branch 2025-11-26 08:59:59 +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