Repository navigation
fix(python): add opt-in sandbox delete timeout - #4697
ericcurtin wants to merge 4 commits into
Conversation
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
|
@krishicks @matthewgrossman could you please triage #4685 so the issue check can pass? @drew @sjenning PTAL, and |
|
/ok to test 14c6a40 |
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. python-sdk — No explicit risk acceptance found
Review details
Advisory review; publication gates are unchanged. |
|
@ericcurtin please see the compatibility review and address the concern. Thanks! |
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
|
@TaylorMutch Fixed: |
|
/ok to test 42bcba0 |
@TaylorMutch, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/ |
|
/ok to test 42bcba0 |
Just FYI we can't use short sha's anymore on /ok to test. |
|
@ericcurtin please see the branch check failures |
…e-timeout/ericcurtin
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
|
@TaylorMutch Fixed the typecheck failure. |
JohnnyWilson16
left a comment
There was a problem hiding this comment.
Tested commit dd5dfad locally:
Backward compatibility verified: SandboxSession.delete() correctly omits the keyword when timeout=None, preserving compatibility with legacy client subclasses.
Defaults preserved: standard callers remain bound to 30s; delete_timeout_seconds=120.0 in e2e/python/conftest.py resolves the Kubernetes pod termination race.
Passing unit tests verified in python/openshell/sandbox_cleanup_test.py and python/openshell/sandbox_test.py.
Looks good to land.
|
/ok to test dd5dfad |
Summary
Python E2E cleanup no longer fails when Kubernetes pod termination outlasts the 30s delete deadline.
Related Issue
Closes #4685
Changes
delete_timeout_secondstoSandbox. The default is unchanged.Testing
Ran
pytest python/,ruffandty. Not run against a Kubernetes gateway.Checklist