Files
romm/backend/endpoints
zurdi 8b70e31828 refactor: address Copilot review on logs feature
- main.py: await the cancelled log-forwarder task (suppressing
  CancelledError) so its pubsub/lock cleanup finishes before shutdown.
- forwarder: only heartbeat the Redis lock while we still own it; if a
  stall let another worker take it, relinquish forwarding to avoid
  duplicate lines (the outer loop re-contends).
- endpoints/logs.py: derive MAX_LOG_LIMIT from LOG_BUFFER_SIZE so the
  REST backfill never drifts from the producer's ring buffer.
- Logs.vue: append the download <a> to the DOM before click() (matches
  the Patcher pattern) for cross-browser reliability.
- Add tests/endpoints/test_logs.py: non-admin 403, limit clamping to
  [1, MAX_LOG_LIMIT], oldest-first ordering, and malformed-entry skip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 20:53:58 +00:00
..
2026-03-08 14:51:28 -04:00
2026-03-15 11:25:39 -04:00
2026-04-05 22:35:37 -04:00
2026-01-18 23:35:03 -05:00
2025-12-07 16:34:22 -05:00
2026-01-18 22:27:46 -05:00
2026-03-07 09:56:17 -05:00
2026-04-01 19:27:34 -04:00