Andrey Antukh ec0d692856
🐛 Fix maximum call stack size exceeded in SSE read-stream (#9484)
The recursive `read-items` function in `app.util.sse/read-stream`
caused a synchronous stack overflow when reading buffered stream
data. Each `rx/mapcat` call chained another recursive invocation
on the same call stack without yielding to the event loop.

Replace the recursive pattern with an `rx/create`-based async pump
that uses Promise `.then()` chaining, keeping the call stack depth
constant regardless of stream size.

Also add progress reporting with names and IDs during binfile
export and import, and bump `eventsource-parser` dependency.

Closes #9470

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-05-11 10:59:35 +02:00
..
2026-01-27 15:07:18 +01:00
2025-05-06 13:39:15 +02:00
2023-12-28 09:49:47 +01:00
2025-08-01 11:20:01 +02:00
2024-01-08 09:32:50 +01:00
2026-04-20 19:37:02 +02:00
2025-11-05 17:16:06 +01:00
2022-09-20 23:23:22 +02:00
2022-09-20 23:23:22 +02:00
2025-12-01 09:30:21 +01:00
2025-12-01 09:30:21 +01:00
2026-05-04 17:57:00 +02:00
2023-07-13 17:05:25 +02:00
2022-09-20 23:23:22 +02:00
2021-11-15 09:51:34 -05:00
2025-08-01 11:20:01 +02:00
2022-09-20 23:23:22 +02:00
2024-03-14 09:53:07 +01:00
2025-09-05 13:54:19 +02:00
2023-01-13 16:55:00 +01:00
2025-06-06 15:25:49 +02:00
2024-01-08 09:32:50 +01:00
2026-03-17 10:58:43 +01:00