chore(): increase test coverage and update dependencies
Some checks are pending
ci/woodpecker/pr/pr Pipeline is pending
Some checks are pending
ci/woodpecker/pr/pr Pipeline is pending
This commit is contained in:
17
CHANGELOG
17
CHANGELOG
@@ -1,4 +1,17 @@
|
||||
CHANGELOG
|
||||
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
|
||||
|
||||
@@ -16,4 +29,4 @@ First stable release
|
||||
|
||||
v0.0.1
|
||||
|
||||
First test release
|
||||
First test release
|
||||
|
||||
Reference in New Issue
Block a user