RenderPipeline2
Deploy / deploy (push) Failing after 1m52s

This commit is contained in:
twotalesanimation
2026-08-01 15:44:26 +02:00
parent 0d0f3e1a33
commit 9a49cdc6a3
11 changed files with 2626 additions and 1 deletions
+126
View File
@@ -144,6 +144,40 @@ enum AttachmentCategory {
MISCELLANEOUS
}
enum ExportStatus {
QUEUED
RENDERING
RENDER_FAILED
VALIDATING
VALIDATION_FAILED
GENERATING_PREVIEW
PREVIEW_FAILED
READY_FOR_QC
QC_FAILED
READY_FOR_DELIVERY
PACKAGED
DELIVERED
SUPERSEDED
ARCHIVED
CANCELLED
}
enum RenderJobStatus {
QUEUED
CLAIMED
RUNNING
COMPLETED
FAILED
CANCELLED
EXPIRED
}
enum RenderJobType {
AE_RENDER
PREVIEW_ONLY
DELIVERY_BUILD
}
// ─────────────────────────────────────────────
// AUTH MODELS (NextAuth v5 compatible)
// ─────────────────────────────────────────────
@@ -271,6 +305,7 @@ model Project {
projectType ProjectType @default(STANDARD)
description String? @db.Text
status ProjectStatus @default(ACTIVE)
deliveryConfig Json?
dueDate DateTime?
startDate DateTime?
clientId String?
@@ -356,6 +391,7 @@ model Shot {
shotGroup ShotGroup? @relation(fields: [shotGroupId], references: [id])
versions Version[]
tasks Task[]
exports Export[]
footagePlates FootagePlate[]
references ShotReference[]
loggedTakes Take[] @relation("TakeToShot")
@@ -410,6 +446,96 @@ model ShotGroup {
@@map("shot_groups")
}
model Export {
id String @id @default(cuid())
shotId String
shot Shot @relation(fields: [shotId], references: [id], onDelete: Cascade)
projectId String
taskId String?
versionId String?
versionNumber Int
versionString String
status ExportStatus @default(QUEUED)
statusChangedAt DateTime @default(now())
aepPath String
compName String
rendererType String
outputDir String
outputPattern String
frameStart Int
frameEnd Int
fps Float
width Int
height Int
colorspace String?
deliveryMovPath String?
previewMovKey String?
thumbnailKey String?
metadataKey String?
exrFileCount Int?
exrTotalBytes BigInt?
checksum String?
submittedById String?
submittedByName String?
supersededById String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
renderJobs RenderJob[]
events ExportEvent[]
@@unique([shotId, versionNumber])
@@index([status])
@@index([projectId, status])
@@map("exports")
}
model RenderJob {
id String @id @default(cuid())
type RenderJobType @default(AE_RENDER)
exportId String?
export Export? @relation(fields: [exportId], references: [id], onDelete: Cascade)
deliveryId String?
attempt Int @default(1)
maxAttempts Int @default(3)
status RenderJobStatus @default(QUEUED)
priority Int @default(50)
manifest Json
machineId String?
claimedAt DateTime?
leaseExpiresAt DateTime?
startedAt DateTime?
finishedAt DateTime?
progress Float @default(0)
currentFrame Int?
totalFrames Int?
etaSeconds Int?
exitCode Int?
errorMessage String?
logTail String?
logFileKey String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([status, priority, createdAt])
@@map("render_jobs")
}
model ExportEvent {
id String @id @default(cuid())
exportId String
export Export @relation(fields: [exportId], references: [id], onDelete: Cascade)
fromStatus String?
toStatus String
actorType String
actorId String?
note String?
createdAt DateTime @default(now())
@@index([exportId, createdAt])
@@map("export_events")
}
model Version {
id String @id @default(cuid())
versionNumber Int