From e2ee01fc612d5c5cef1b24cfcd2b4da767dfabdb Mon Sep 17 00:00:00 2001 From: andersonid Date: Sat, 4 Oct 2025 10:11:00 -0300 Subject: [PATCH] Add debug logging for pod filtering --- app/core/kubernetes_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/core/kubernetes_client.py b/app/core/kubernetes_client.py index e080ef5..39eb111 100644 --- a/app/core/kubernetes_client.py +++ b/app/core/kubernetes_client.py @@ -148,10 +148,12 @@ class K8sClient: # Filter out non-running pods (build pods, completed pods, etc.) if pod.status.phase not in ["Running", "Pending"]: + logger.debug(f"Filtering out pod {pod.metadata.name} with phase {pod.status.phase}") continue # Filter out build pods (pods ending with -build) if pod.metadata.name.endswith('-build'): + logger.debug(f"Filtering out build pod {pod.metadata.name}") continue # Calculate total pod resources total_cpu_requests = 0.0