refactor: analysis workflow architecture

fix: NEXTAUTH_URL

fix: prevent project model edits from affecting default model
This commit is contained in:
saturn
2026-03-16 21:48:57 +08:00
parent ecbd183a77
commit 9aff44e37a
58 changed files with 2753 additions and 7985 deletions

View File

@@ -658,6 +658,10 @@ model GraphRun {
errorCode String?
errorMessage String? @db.Text
cancelRequestedAt DateTime?
leaseOwner String?
leaseExpiresAt DateTime?
heartbeatAt DateTime?
workflowVersion Int @default(1)
queuedAt DateTime @default(now())
startedAt DateTime?
finishedAt DateTime?
@@ -675,6 +679,8 @@ model GraphRun {
@@index([userId, createdAt])
@@index([taskId])
@@index([targetType, targetId])
@@index([workflowType, targetType, targetId, status])
@@index([leaseExpiresAt])
@@map("graph_runs")
}