Files
woodpecker-autoscaler/CHANGELOG
Tobias Trabelsi 2d1aa62c61
Some checks are pending
ci/woodpecker/pr/pr Pipeline is pending
chore(): increase test coverage and update dependencies
2025-12-18 23:12:27 +01:00

33 lines
1.0 KiB
Plaintext

CHANGELOG
v1.1.1
- Updated Dependencies
- Added: unit tests
- Added `internal/hetzner/hetzneragent_extra_test.go` covering userdata generation and mocked runtime checks.
- Added `internal/woodpecker/agent_test.go` covering `CreateWoodpeckerAgent`, `GetAgentIdByName`, `DecomAgent` (httptest-based).
- Added `internal/woodpecker/metrics_test.go` covering `QueueInfo`, `CheckPending`, and `CheckRunning`.
- Implemented `internal/logging/logging_test.go` assertions for `ConfigureLogger` levels.
- Changed: code to improve testability
- Introduced `refreshNodeInfo` indirection in `internal/hetzner/hetzneragent.go` to allow mocking in tests.
- Updated `hetzner` userdata test expectations and fixed JSON encoding in tests.
- Notes:
- No functional behavior changes except testability refactor (indirection).
v1.1.0
Updated Dependencies
Restructured Main event loop
Cost optimized mode to make use of the fully hour that is billed by hetzner
v1.0.1
Fix woodpecker agent decom
v1.0.0
First stable release
v0.0.1
First test release