Skip to content

Guest cleanup workflow now safely deletes associated drafts

← Back to all
  • AI
  • Inbox

The hourly guest cleanup workflow previously failed when users had drafts saved to completed tasks, because the task deletion violated a foreign key constraint on existing task drafts and AI summaries. The updated cleanup sequence now removes those records first, ensuring clean deletion of archived guest tasks. This change only affects the internal cleanup process and does not change the user-visible experience other than eliminating occasional failed cleanup runs.