feat(delivery): record shots delivered outside the render pipeline
Deploy / deploy (push) Successful in 3m34s

Shots delivered by hand before the pipeline have no Export, so they could
never appear in a DeliveryPackage and the dashboard countdown showed them
as not delivered. Add Shot.manualDeliveredAt/ById/Note, a "Delivered
Outside Pipeline" bulk action on Shot Status (mark with the real date, or
clear), a badge on marked shots, and count them in the countdown alongside
DELIVERED EXR packages. The real date keeps the weekly rate honest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-09-25 04:03:56 +02:00
parent 27f9f7ac64
commit c2509512ff
6 changed files with 253 additions and 3 deletions
@@ -0,0 +1,6 @@
-- Shots delivered by hand before the render pipeline existed have no Export,
-- so they can never appear in a DeliveryPackage. Record the delivery on the
-- shot itself so the delivery countdown can count it.
ALTER TABLE "shots" ADD COLUMN "manualDeliveredAt" TIMESTAMP(3);
ALTER TABLE "shots" ADD COLUMN "manualDeliveredById" TEXT;
ALTER TABLE "shots" ADD COLUMN "manualDeliveryNote" TEXT;
+8
View File
@@ -455,6 +455,14 @@ model Shot {
/// standing property of the shot rather than a note, and it is flagged on
/// the shot-status board the way a key shot is.
isScaled Boolean @default(false)
/// Delivered outside the render pipeline — by hand, before packages
/// existed. There is no Export to put in a DeliveryPackage, so the fact is
/// recorded here instead and counted alongside DELIVERED EXR packages. The
/// date is when the frames actually went out, not when it was recorded, so
/// a backfill does not inflate the weekly delivery rate.
manualDeliveredAt DateTime?
manualDeliveredById String?
manualDeliveryNote String? @db.Text
// Netflix slate fields — managed via the Slate tab, used by the preview pipeline
slateType String?
slateDescription String? @db.Text