Skip to content

api: deprecates AIServiceBackend.Timeouts#606

Merged
mathetake merged 2 commits intomainfrom
timeouts
May 12, 2025
Merged

api: deprecates AIServiceBackend.Timeouts#606
mathetake merged 2 commits intomainfrom
timeouts

Conversation

@mathetake
Copy link
Copy Markdown
Member

Commit Message

This deprecates the AIServiceBackend.Timeouts configuration that has started working not well with the refactored use of HTTPRoute since #599. Instead, this adds timeouts into AIGatewayRouteRule to matche the one of HTTPRoute in GWAPI.

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake changed the title api: deprecates AIServiceBackend.Timeouts in favor of Rule level api: deprecates AIServiceBackend.Timeouts May 10, 2025
@mathetake mathetake marked this pull request as ready for review May 10, 2025 00:35
@mathetake mathetake requested a review from a team as a code owner May 10, 2025 00:35
@mathetake mathetake requested review from arkodg and yuzisun May 10, 2025 00:35
@mathetake
Copy link
Copy Markdown
Member Author

PTAL @arkodg @yuzisun

Copy link
Copy Markdown
Contributor

@kerthcet kerthcet left a comment

Choose a reason for hiding this comment

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

LGTM


// Timeouts defines the timeouts that can be configured for an HTTP request.
//
// Deprecated: Use the `BackendTrafficPolicySpec` for a backend-specific timeout configuration, or
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe worth to add explanations in AIGatewayRouteRule.Timeouts about the priorities between different timeouts.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

f6d1d98 done

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake merged commit 4b8f09e into main May 12, 2025
17 checks passed
@mathetake mathetake deleted the timeouts branch May 12, 2025 21:39
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.

3 participants