Skip to content

SDK 0.4.25: reduce exec polling round trips

Choose a tag to compare

@rlrs rlrs released this 23 Sep 06:00
1adf5d5

Exec waits now finish at the server-proven final output sequence, avoiding a redundant confirmation poll while preserving complete stdout/stderr. Short noninteractive execs can consume initial output in the start response; partial output continues through the existing event endpoint. Sync and async clients behave alike.

The initial-output optimization requires server 0.5.111 or newer. Older servers retain the existing polling behavior. This release includes the unpublished 0.4.24 final-sequence improvement.

Validation: Linux CI passed on Python 3.10 and 3.13 for the runtime code. The published wheel has byte-identical runtime files to the SDK used in production qualification: 2,048 successful cycles at 256 agents, plus 256 forced park/restore cycles. These are correctness results, not a guarantee of subsecond latency at every load.

Install the async client:

uv add "ucloud-sandboxes-sdk[async] @ https://github.com/rlrs/ucloud-sandboxes-sdk/releases/download/v0.4.25/ucloud_sandboxes_sdk-0.4.25-py3-none-any.whl"

The wheel, source distribution, and SHA256SUMS are attached. The SDK is distributed through GitHub releases, not PyPI.