Files
DocsGPT/frontend
arc53-machine 2acfa34bc5 Fail stalled attachment uploads and say why an upload failed
Uploads had no timeout, so a stalled XHR could leave a chip on
"uploading" forever, and a queued send waited with it. Network failures
also set no errorMessage, so the failed chip showed no reason.

guardUploadStall aborts an upload once it goes 120 s without progress.
It restarts on every upload progress event and again when the body
finishes sending. A large file on a slow link keeps going; only a silent
stall is cut off. That is why it is not xhr.timeout, which caps the whole
request against a 100 MB file limit. onerror, onabort and ontimeout now
mark the chip failed with "Upload failed. The file couldn't be read or
the connection dropped." (single and multi-file paths). A failed chip is
dropped at send, so a queued question always goes out in the end. The
5-minute processing cap is unchanged.
2026-09-28 10:06:21 +01:00
..
2023-02-09 10:03:56 +05:30
2026-09-21 19:45:09 +04:00
2026-09-24 21:05:39 +04:00
2023-03-27 21:44:22 +01:00
2023-02-09 08:01:22 +05:30
2026-09-27 13:00:11 +04:00
2026-09-27 13:00:11 +04:00
2026-09-21 19:45:09 +04:00
2026-09-26 12:18:05 +04:00
2026-09-26 12:18:05 +04:00
2026-09-26 12:18:05 +04:00
2026-05-15 12:23:31 +01:00