mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 18:19:05 +02:00
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>
1 line
226 B
SQL
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'; |