-
Notifications
You must be signed in to change notification settings - Fork 1
PAAL-123 kubernetes health probes #21
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
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f0830f8
to
d49c9ee
Compare
This comment was marked as outdated.
This comment was marked as outdated.
3335980
to
0df4f04
Compare
0df4f04
to
445cff3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f9cfd7b
to
c0bd81d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
c0bd81d
to
75df72c
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
ac63753
to
9ac19c1
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Claude finished @qa-jil-kamerling's task —— View job Conducting comprehensive PR review Todo List
Comprehensive Code ReviewOverall Assessment: Strong Implementation with Critical BugThis PR implements protocol-aware health checking for Agent deployments with comprehensive test coverage (649+ new lines of tests). The architecture is sound and follows Kubernetes best practices, but there is a critical hardcoded path bug that prevents this from working correctly with template agents. 🔧 Code Quality & Architecture✅ Strengths:
|
8204f17
to
3a0042e
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Claude finished @qa-jil-kamerling's task —— View job Conducting comprehensive PR review Todo List
Comprehensive Code ReviewOverall Assessment: Strong Implementation with Critical BugThis PR implements protocol-aware health checking for Agent deployments with comprehensive test coverage (649+ new lines of tests). The architecture is sound and follows Kubernetes best practices, but there is a critical hardcoded path bug that prevents this from working correctly with template agents. 🔧 Code Quality & Architecture✅ Strengths:
|
4560a05
to
c93ac5a
Compare
…rd if a2a else execute a tcp probe; update samples for e2e tests; update CLAUDE.md
-update path in samples -update controller test -remove unused sample -update CLAUDE.md -undo changes to e2e_test.go -move probe equality check to equality.go and reduce complexity
c93ac5a
to
30d6159
Compare
name: openai-agent | ||
spec: | ||
framework: custom | ||
image: ghcr.io/example/openai-agent:latest |
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.
There it is! 🙈 I've looked for the source of the openai-agent recently in our cluster...
Please do not include invalid agents in the sample directory. It should only include working examples.
basePath := agentCardEndpoint | ||
if protocol != nil && protocol.Path != "" { | ||
// If path is explicitly specified, use it | ||
// Special case: "/" means root path (no prefix) |
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.
I don't see a need for a special case here. The default is an empty path. If a user explicitly configures /
, it should be used as-is.
|
||
// getA2AHealthPath returns the A2A health check path based on protocol configuration | ||
func (r *AgentReconciler) getA2AHealthPath(protocol *runtimev1alpha1.AgentProtocol) string { | ||
basePath := agentCardEndpoint |
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.
basePath
is usually referred to as the prefix, not the suffix. The variable indirection is not really needed here anyways.
@claude review this |
Claude finished @g3force's task —— View job Claude finished @g3force's task —— View job Conducting comprehensive PR review Todo List
Comprehensive Code ReviewOverall Assessment: Strong Implementation with Critical IssuesThis PR implements protocol-aware health checking for Agent deployments with comprehensive test coverage (649+ new lines of tests). The architecture is sound and follows Kubernetes best practices, but there are critical issues that must be addressed before merge. 🔧 Code Quality & Architecture✅ Strengths:
|
Implement Protocol-Aware Health Checking for Agent Deployments
Replaces generic health checking with intelligent, protocol-aware readiness probes that validate actual agent functionality rather than just HTTP server availability.
Key Changes
Related PR
Impact