fix(appraiser-facts): valid Paperclip priority enum (normal→medium) #37

Merged
chaim merged 1 commits from fix/appraiser-facts-priority-enum into main 2026-06-02 11:49:24 +00:00
Showing only changes of commit 5d63a903ce - Show all commits

View File

@@ -1083,7 +1083,10 @@ async def wake_analyst_for_appraiser_facts(
"title": f"[ערר {case_number}] חילוץ עובדות שמאיות", "title": f"[ערר {case_number}] חילוץ עובדות שמאיות",
"description": description, "description": description,
"status": "in_progress", "status": "in_progress",
"priority": "normal", # Paperclip ISSUE_PRIORITIES = critical|high|medium|low — "normal"
# is NOT a valid enum value and the createChildIssueSchema (Zod)
# rejects it with 400, which surfaces to the chair as a 500.
"priority": "medium",
"assigneeAgentId": analyst_id, "assigneeAgentId": analyst_id,
}, },
raise_on_error=True, raise_on_error=True,