Skip to content

fix(k8s): Kubernetes executor pod cleanup#20

Merged
justin-tahara merged 2 commits intomainfrom
fix/k8s-executor-cleanup
Mar 20, 2026
Merged

fix(k8s): Kubernetes executor pod cleanup#20
justin-tahara merged 2 commits intomainfrom
fix/k8s-executor-cleanup

Conversation

@justin-tahara
Copy link
Copy Markdown
Contributor

Summary

  • isolate Kubernetes websocket exec calls from pod CRUD by using separate API clients
  • retry pod deletion, confirm the pod disappears, and log cleanup failures instead of swallowing them
  • add regression tests for cleanup retries and isolated stream client usage

Testing

  • uv run pytest code-interpreter/tests/integration_tests/test_kubernetes_streaming.py -q

@justin-tahara justin-tahara changed the title Fix Kubernetes executor pod cleanup fix(k8s): Kubernetes executor pod cleanup Mar 19, 2026
@justin-tahara justin-tahara merged commit 12b808a into main Mar 20, 2026
3 checks passed
@justin-tahara justin-tahara deleted the fix/k8s-executor-cleanup branch March 20, 2026 17:34
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.

2 participants