Fix routine coalescing for idle execution issues

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-03-20 07:21:38 -05:00
parent 616a2bc8f9
commit 5fee484e85
6 changed files with 11788 additions and 14 deletions

View file

@ -82,6 +82,7 @@ export const issues = pgTable(
sql`${table.originKind} = 'routine_execution'
and ${table.originId} is not null
and ${table.hiddenAt} is null
and ${table.executionRunId} is not null
and ${table.status} in ('backlog', 'todo', 'in_progress', 'in_review', 'blocked')`,
),
}),