Skip to content

Conversation

wozniakjan
Copy link
Member

@wozniakjan wozniakjan commented Oct 3, 2025

during #1298, we introduced a regression where the interceptor doesn't wait for endpoint to be ready for traffic.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Fixes: #1344

@wozniakjan wozniakjan requested review from Copilot and a team October 3, 2025 08:19
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a regression where the interceptor doesn't wait for endpoints to be ready for traffic before forwarding requests. The fix adds a readiness check to ensure only ready endpoints are counted when determining workload availability.

  • Added endpoint readiness check to prevent traffic forwarding to non-ready endpoints
  • Includes proper null handling for the Ready condition field per Kubernetes API specification

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@wozniakjan wozniakjan requested a review from a team October 3, 2025 10:12
@wozniakjan wozniakjan merged commit 88ea291 into kedacore:main Oct 6, 2025
18 checks passed
Copilot AI pushed a commit that referenced this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interceptor does not check EndpointSlice ready condition before forwarding
2 participants