Skip to content

fix(python): add opt-in sandbox delete timeout - #27

Merged
pimlock merged 1 commit into
mainfrom
port/4697
Nov 10, 2026
Merged

pimlock merged 1 commit into
mainfrom
port/4697

Conversation

@pimlock

@pimlock pimlock commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Ported from NVIDIA/OpenShell#4697 (NVIDIA/OpenShell#4697) by ericcurtin, after the Python SDK moved out of NVIDIA/OpenShell at 5d25211b25a8fc887e8d5c606d57d6ab22f1d76c.

The commits are the original ones from core at 00222c281f809f7460594cec2956daef91f3d8a2, with the same authors and sign-offs. The change is the paths, which follow this repository's layout (python/openshell/ is now src/openshell/, SDK tests are in tests/), plus one hand-resolved conflict in tests/e2e/conftest.py, where this repository's copy differs from core's (cluster_name: str here). The delete_timeout_seconds=120.0 and timeout=120.0 lines are the same as in core.

  • 0516162 fix(python): add opt-in sandbox delete timeout (#4697) (Eric Curtin)

These files are outside the SDK paths and stay in core:

  • docs/sdk/python.mdx

The documentation change stays in core (docs/sdk/python.mdx).

Merge with "Create a merge commit" or "Rebase and merge", not squash, so Eric Curtin stays the author.

* fix(python): add opt-in sandbox delete timeout

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

* fix(python): omit delete timeout unless set

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

* fix(python): fix delete test typing

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

* test(python): tighten delete timeout coverage

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

* fix(python): rename delete timeout to timeout_seconds

Signed-off-by: Eric Curtin <eric.curtin@docker.com>

---------

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Co-authored-by: Taylor Mutch <taylormutch@gmail.com>
@pimlock
pimlock requested review from a team as code owners November 9, 2026 23:15
@pimlock
pimlock requested a review from TaylorMutch November 9, 2026 23:16
@pimlock
pimlock merged commit 9406c1e into main Nov 10, 2026
11 checks passed
@pimlock
pimlock deleted the port/4697 branch November 10, 2026 00:48
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.

3 participants