Files
new-api/common
CaIon 5238f279db feat: record stream interruption reasons via StreamStatus
- Add StreamStatus type (relay/common) to track stream end reason
  (done/timeout/client_gone/scanner_error/eof/panic/ping_fail) and
  accumulate soft errors during streaming via sync.Once + sync.Mutex.
- Add StreamResult (relay/helper) as the callback interface: adapters
  call sr.Error() for soft errors, sr.Stop() for fatal, sr.Done() for
  normal completion. No early-return problem — multiple errors per chunk
  are naturally supported.
- Refactor StreamScannerHandler callback from func(string) bool to
  func(string, *StreamResult). All 9 channel adapters updated.
- Write stream_status into log other JSON field (admin-only) with
  status ok/error, end_reason, error_count, and error messages.
- Frontend: display stream status in log detail expansion for admins.
2026-03-31 16:54:39 +08:00
..
2026-01-14 22:29:43 +08:00
2025-07-30 20:31:51 +08:00
2025-12-12 16:19:14 +08:00
2025-10-30 14:21:46 +08:00
2024-07-07 02:24:51 +08:00
2025-07-10 20:55:43 +08:00
2025-12-03 00:41:47 +08:00
2025-12-02 21:34:39 +08:00
2025-07-21 15:39:16 +08:00
2025-12-19 23:16:56 +08:00
2023-04-22 20:39:27 +08:00
2025-08-03 10:41:00 +08:00
2023-04-22 20:39:27 +08:00