github kubeshop/testkube 2.6.1

8 hours ago

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

Bug Fixes

Commits

Full Changelog: 2.6.0...2.6.1

Don't miss a new testkube release

NewReleases is sending notifications on new releases.