The GitHub Actions job "Backport Approval Check" on texera.git/fix/gateway-download-timeout has failed. Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run: ceaf66c23b29dfc59b58d5b0c3a371641ec1aa47 / ali <[email protected]> fix(frontend): fail a download whose body is shorter than Content-Length A proxy that gives up mid-stream closes the connection cleanly, so a truncated download is indistinguishable from a complete one: the blob resolves, the file is saved, and the success notification fires. The user only finds out when the file fails to open. Compare the bytes received against the Content-Length the response declared and raise TruncatedDownloadError when the body is short, on both the presigned-URL file downloads and the version-zip downloads for datasets and models. DownloadService names the shortfall in the error notification instead of the generic message. Content-Length is CORS-safelisted, so the check also works on the cross-origin presigned responses; a chunked response declares no length and still passes through unverified. This is a second line of defense — the gateway route timeout that caused the truncation is fixed separately — so that the next proxy or network fault to cut a stream short surfaces as an error rather than as corrupt data. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_016wpLu1zHRyP3aLsvCnoPH8 Report URL: https://github.com/apache/texera/actions/runs/34272363374 With regards, GitHub Actions via GitBox
