Implement durable image processing pipeline with outbox and recovery

This commit is contained in:
Polusikkkk
2026-11-17 18:48:50 +03:00
parent 276dbdad8a
commit be223efc8b
84 changed files with 8982 additions and 18 deletions
+8
View File
@@ -0,0 +1,8 @@
CREATE TABLE pipeline_fault_injections (
job_id UUID NOT NULL REFERENCES attachment_jobs(id),
stage TEXT NOT NULL CHECK (stage IN ('before_ack')),
created_at TIMESTAMPTZ NOT NULL DEFAULT clock_timestamp(),
consumed_at TIMESTAMPTZ,
PRIMARY KEY (job_id, stage)
);