Normalize null Gitea activity feed payloads #93

Closed
opened 2026-08-06 09:45:45 +00:00 by timmy · 0 comments
Owner

The Gitea activity feed can return JSON null. activity_events() currently iterates that value and raises TypeError, causing /api/v1/events to return 503 instead of a valid empty activity list. Reproduction: stub fetch() to return None; expected result is []. Add a behavioral regression test and normalize the nullable feed payload.

The Gitea activity feed can return JSON null. `activity_events()` currently iterates that value and raises TypeError, causing `/api/v1/events` to return 503 instead of a valid empty activity list. Reproduction: stub `fetch()` to return `None`; expected result is `[]`. Add a behavioral regression test and normalize the nullable feed payload.
timmy closed this issue 2026-08-06 09:47:07 +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#93
No description provided.