Skip malformed nested Gitea issue metadata entries #85

Closed
opened 2026-08-06 07:47:04 +00:00 by timmy · 0 comments
Owner

The context endpoint assumes every element in an issue labels/assignees array is an object and calls .get() unconditionally. A Gitea payload containing labels: [None] or assignees: [None] raises AttributeError and turns the entire context request into a server error. Preserve valid nested entries while skipping malformed ones.

Acceptance: a behavioral regression test covers malformed nested metadata and the full suite remains green.

The context endpoint assumes every element in an issue labels/assignees array is an object and calls `.get()` unconditionally. A Gitea payload containing `labels: [None]` or `assignees: [None]` raises AttributeError and turns the entire context request into a server error. Preserve valid nested entries while skipping malformed ones. Acceptance: a behavioral regression test covers malformed nested metadata and the full suite remains green.
timmy self-assigned this 2026-08-06 07:47:04 +00:00
timmy closed this issue 2026-08-06 07:48:49 +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#85
No description provided.