-
Notifications
You must be signed in to change notification settings - Fork 357
feat: make sse timeout configurable #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
There was a problem hiding this 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 makes the SSE (Server-Sent Events) timeout configurable for the streaming connection in the kagent application. The change allows users to specify a custom timeout value instead of using a hardcoded value.
- Adds a new
timeoutconfiguration parameter to the streaming settings - Updates the Helm chart to expose the timeout configuration
- Refactors the A2A reconciler to use a structured options pattern for better extensibility
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| helm/kagent/values.yaml | Adds timeout configuration with 60s default value |
| helm/kagent/templates/controller-deployment.yaml | Passes the timeout configuration as command-line argument |
| go/pkg/app/app.go | Adds timeout field to Config struct and command-line flag handling |
| go/internal/controller/a2a/a2a_reconciler.go | Refactors to use ClientOptions struct and applies timeout configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
…to eitanya/sse-timeout
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Fabian Gonzalez <fabian.gonzalez@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.