Skip to content

Feat/deprecate platform version#95

Open
msherman64 wants to merge 6 commits intomasterfrom
feat/deprecate_platform_version
Open

Feat/deprecate platform version#95
msherman64 wants to merge 6 commits intomasterfrom
feat/deprecate_platform_version

Conversation

@msherman64
Copy link
Contributor

This PR makes some backwards incompatible changes, namely removing "start", "start_timeout", and "platform_version" kwargs.

As all devices are now on platform version 2, they all start automatically. (We create a k8s deployment with scale=1, which creates a pod asynchronously)

Additionally, since "create_container" is deprecated as a user facing API, we remove "wait_for_status" from it. This removes duplicate wait logic between submit and create, and removes the need for an extra exception class to pass the original container.

Review request: For each of the places kwargs are removed, should we fail explicitly, or just ignore them if set? Explicit removal for eg container.init() may break existing artifacts.

@msherman64
Copy link
Contributor Author

With only the timer from submit, we get a nicer output and can default to the submit timeout.

image

@msherman64 msherman64 force-pushed the feat/deprecate_platform_version branch from d6b5877 to c41e7cc Compare February 18, 2026 18:36
Copy link
Contributor

@Mark-Powers Mark-Powers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine overall. I think we should err on the side of avoiding breaking existing notebooks.

all hosts are now on "version 2", and we can remove this logic.
with this change, create_container becomes a very simple wrapper
to translate parameters into what zun expects.

This removes the need for complex logic to pass the zun container
to callers via error handling.
@msherman64 msherman64 force-pushed the feat/deprecate_platform_version branch from c41e7cc to ace8737 Compare February 18, 2026 20:26
@msherman64 msherman64 changed the base branch from bugs/container_submit_409 to master February 18, 2026 20:26
@msherman64
Copy link
Contributor Author

Now warns using warnings.warn on deprecated args.
image

@msherman64 msherman64 force-pushed the feat/deprecate_platform_version branch from ace8737 to 77a67ad Compare February 18, 2026 20:28
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

Comments