Skip to content

ucloud-sandboxes-sdk 0.4.17

Choose a tag to compare

@rlrs rlrs released this 11 Sep 08:17
· 27 commits to main since this release
v0.4.17
b432b24

Long model generations now use an explicit forwarding budget independent of gateway control-call timeouts and injected HTTP session defaults. Forwarding defaults to 7,200 seconds; configure forward_timeout_seconds or UCLOUD_RELAY_FORWARD_TIMEOUT_SECONDS to suit the workload. Upstream timeouts return a descriptive HTTP 504.

Async worker failures preserve their original exception while cancelling and draining sibling requests and lease-renewal tasks. The README includes rollout supervision that surfaces worker errors before cancellation cleanup.

Validation: 90 release tests passed, including 10 new regressions; relay tests and the installed minimal wheel also passed on Python 3.10. Artifacts were checked against the signed release source.

Client upgrade required: explicit forward_to(..., timeout_seconds=300) overrides must be increased for generations lasting longer than five minutes. Custom harnesses must also preserve the worker exception when cancelling rollouts.