The fix was successful, and the prompts endpoint latency is back to normal. We’re no longer seeing issues and will continue to monitor.
Issue resolved.
Context: We experienced 5xx errors on POST /api/public/dataset-items due to a migration sequencing failure.
Root Cause: A column was dropped before the code deploy finished, while the Prisma ORM was still attempting to write to that deprecated field.
Status: Resolved; all containers are now running the updated code.
Prevention: We will strictly enforce "Expand and Contract" patterns for all future schema deletions.