Testkube 2.6.1
This patch release includes important security updates and bug fixes for webhook event handling.
🔒 Security Updates
- CVE Fixes (February 2025) (#7036)
- Updated Alpine base image to 3.23.3
- Updated dependencies to address reported CVEs
- Addresses security vulnerabilities identified in February 2025
🐛 Bug Fixes
-
[TKC-4867] Webhook Event Issues - Misleading Logs and Incorrect Event Types (#7032)
This comprehensive fix addresses multiple issues with webhook event handling:
Become Event Handling:
- Fixed silent failures for become events where webhooks appeared to succeed with status_code:0
- Added debug logging when webhooks are skipped due to state not changing
- Introduced dedicated variable for clearer tracking of skipped webhooks
- Fixed metrics and telemetry collection to skip non-executed webhooks
- Added comprehensive tests for become event state transitions
Execution Queueing Events:
- Fixed incorrect end events being emitted during execution queueing
- The function was incorrectly sending events for executions with status assigned (not finished)
- Removed switch statement that emitted end events during queueing phase
- End events are now correctly sent only by in when executions actually complete
Technical Improvements:
- Enhanced test precision with strict mock expectations (changed to )
- Clearer conditional logic distinguishing between webhook skip scenarios and HTTP errors
- Improved code maintainability and debugging capabilities
📝 Changelog
Security
- 20803ec: chore: fix CVE reported feb 2025 (#7036) (@caiomede-tk)
Bug Fixes
- 9644254: fix: [TKC-4867] webhook event issues - misleading logs and incorrect event types (#7032) (@Copilot, @vsukhin)
Commits
- f110f2c: chore: release 2.6.1
Full Changelog: 2.6.0...2.6.1