Return retryable event response when Gitea request fails #67

Closed
opened 2026-08-06 03:16:42 +00:00 by rockachopa · 0 comments
Member

Evidence: src/main.py:event_stream catches TimeoutError only. A connection failure or upstream HTTP error from activity_events() escapes the route, producing FastAPI's generic 500 instead of the event API's structured retryable response. Add a behavioral regression test and return a 503 with retry guidance while preserving the existing timeout behavior.

Evidence: `src/main.py:event_stream` catches `TimeoutError` only. A connection failure or upstream HTTP error from `activity_events()` escapes the route, producing FastAPI's generic 500 instead of the event API's structured retryable response. Add a behavioral regression test and return a 503 with retry guidance while preserving the existing timeout behavior.
timmy was assigned by rockachopa 2026-08-06 03:16:42 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#67
No description provided.