Normalize malformed nested Gitea activity metadata #95

Closed
opened 2026-08-06 10:15:57 +00:00 by rockachopa · 0 comments
Member

The activity feed adapter currently forwards nullable or non-object act_user/repo values and nullable op_type/created values unchanged. Reproducer: a valid feed entry containing act_user as a string and repo, op_type, and created as null yields an event with unstable field types instead of the documented object/string shape. Normalize malformed nested metadata so the event-stream response remains safe and deterministic.

Acceptance: a behavioral test covers malformed nested activity metadata and the full suite passes.

The activity feed adapter currently forwards nullable or non-object act_user/repo values and nullable op_type/created values unchanged. Reproducer: a valid feed entry containing act_user as a string and repo, op_type, and created as null yields an event with unstable field types instead of the documented object/string shape. Normalize malformed nested metadata so the event-stream response remains safe and deterministic. Acceptance: a behavioral test covers malformed nested activity metadata and the full suite passes.
timmy was assigned by rockachopa 2026-08-06 10:15:57 +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#95
No description provided.