Files
PaperClipAI/packages/db/src/migrations/0251_narrow_mastermind.sql
T
DottaandPaperclip 35fdc0c66b fix: make task recovery durable and preserve current requests (#13075)
Make task recovery durable and preserve the latest user request across native and legacy continuations. Keep routine recovery quiet and prevent replay when action outcomes are uncertain.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-09 09:14:25 -05:00

1 line
226 B
SQL

CREATE UNIQUE INDEX IF NOT EXISTS "heartbeat_runs_native_replacement_predecessor_uq" ON "heartbeat_runs" USING btree ("company_id","retry_of_run_id") WHERE "heartbeat_runs"."scheduled_retry_reason" = 'native_safe_replacement';