This commit is contained in:
Vladislav Kunetskiy
2026-11-06 17:30:30 +03:00
parent 470d9d6f1e
commit 5fda36b723
481 changed files with 84873 additions and 57 deletions
@@ -0,0 +1,12 @@
-- +goose Up
-- Preserve the originating request trace context on the durable job. The
-- lease reaper and reconciliation path need an original parent even after the
-- API span and the relay process have ended.
ALTER TABLE attachment_jobs
ADD COLUMN traceparent text NOT NULL DEFAULT '',
ADD COLUMN tracestate text NOT NULL DEFAULT '';
-- +goose Down
ALTER TABLE attachment_jobs
DROP COLUMN IF EXISTS tracestate,
DROP COLUMN IF EXISTS traceparent;