updated_at is the retention clock used by DeleteOldChatDebugRuns. Set it on every write to keep retention semantics correct.
(ctx context.Context, arg InsertChatDebugRunParams)
| 937 | // updated_at is the retention clock used by DeleteOldChatDebugRuns. |
| 938 | // Set it on every write to keep retention semantics correct. |
| 939 | InsertChatDebugRun(ctx context.Context, arg InsertChatDebugRunParams) (ChatDebugRun, error) |
| 940 | // The CTE atomically locks the parent run via UPDATE, bumps its |
| 941 | // updated_at (eliminating a separate TouchChatDebugRunUpdatedAt |
| 942 | // call), and enforces the finalization guard: if the run is already |
no outgoing calls