feat(gateway): stream release progress logs

This commit is contained in:
2026-08-09 09:50:06 +00:00
parent 73edd0230f
commit d01be27828
15 changed files with 619 additions and 31 deletions
@@ -0,0 +1,16 @@
CREATE TABLE "gateway_release_log" (
"id" BIGSERIAL NOT NULL,
"operation_id" TEXT NOT NULL,
"level" TEXT NOT NULL,
"phase" TEXT NOT NULL,
"message" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "gateway_release_log_pkey" PRIMARY KEY ("id"),
CONSTRAINT "gateway_release_log_operation_id_fkey"
FOREIGN KEY ("operation_id") REFERENCES "gateway_release_operation"("id")
ON DELETE CASCADE ON UPDATE CASCADE
);
CREATE INDEX "gateway_release_log_operation_id_id_idx"
ON "gateway_release_log" ("operation_id", "id");