From e00a6e92b2217c745034c070c8f0d7d3d30c9ba1 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 7 May 2026 11:14:31 -0700 Subject: [PATCH] =?UTF-8?q?test(v2=20managed=20agents):=20drop=20python=20?= =?UTF-8?q?smoke=20from=20QA=20script=20=E2=80=94=20http-only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test_litellm/managed_agents/qa_happy_path.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/tests/test_litellm/managed_agents/qa_happy_path.sh b/tests/test_litellm/managed_agents/qa_happy_path.sh index 411d98e3db3..f94fe49d9b6 100755 --- a/tests/test_litellm/managed_agents/qa_happy_path.sh +++ b/tests/test_litellm/managed_agents/qa_happy_path.sh @@ -173,19 +173,7 @@ echo "$DEATH_BODY" | jq . [[ "$DEATH_CODE" == "504" ]] || fail "expected 504, got $DEATH_CODE" ok "sandbox-unreachable correctly returns 504" -# Validator smoke: prove the SandboxSpec validator catches bad inputs (this is -# a Pydantic validation, surfaces as 422 if Krrish's POST /v2/sessions ever -# tries to validate manually — but our POST /v2/agents does NOT take sandbox, -# so we exercise it via Python rather than HTTP). -log "smoke: SandboxSpec validator rejects idle > timeout" -python3 -c " -from litellm.managed_agents.types import SandboxSpec -try: - SandboxSpec(type='opencode', timeout_minutes=10, idle_timeout_minutes=120) - raise SystemExit('FAIL: validator did not catch idle > timeout') -except Exception as e: - print(f' caught: {type(e).__name__}') -" 2>&1 | tail -5 -ok "validator works" +# Validator behavior is covered by Pydantic unit tests in tests/test_litellm/managed_agents/test_types.py. +# Keeping this script HTTP-only so it doesn't need the PR's Python env. printf "\n\033[1;32mALL CHECKS PASSED\033[0m (run id: %s)\n" "$RUN_ID"