mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 02:11:12 +00:00
* fix(video-generation): bound stalled DashScope download body reads * test(video-generation): narrow DashScope download asset for tsgo * test(video-generation): narrow optional DashScope video buffer for tsgo * test(video-generation): bind DashScope buffer before tsgo asserts * fix(video-generation): fail closed on exhausted DashScope download budget When the operation deadline passes a function that returns 0, the previous resolver gate (resolved > 0) dropped the exhausted budget and fell back to the 120s default. Also, readResponseWithLimit skips chunk idle timeout when chunkTimeoutMs is 0/falsy, so a zero budget would read the body unbounded instead of failing fast. Now the resolver preserves zero/negative values and the body stage throws immediately when the remaining budget is exhausted. Co-Authored-By: nebulacoder-v8.0 <noreply@zte.com.cn> * fix(video-generation): reject exhausted download deadline before fetch Check the resolved download timeout before fetchWithTimeoutGuarded so an already-exhausted operation does not initiate network I/O. Previously the deadline guard ran after headers, which still sent bytes over the wire. Co-Authored-By: nebulacoder-v8.0 <noreply@zte.com.cn> * fix(video-generation): release failed DashScope downloads --------- Co-authored-by: nebulacoder-v8.0 <noreply@zte.com.cn> Co-authored-by: Peter Steinberger <steipete@gmail.com>