feat(worker): prepare replay queries and audit schema

This commit is contained in:
kk10
2026-11-16 16:18:54 +03:00
parent 97b43a9c98
commit f2000a7883
7 changed files with 239 additions and 10 deletions
+10
View File
@@ -158,11 +158,21 @@ type Attachment struct {
JobID *uuid.UUID
PipelineVersion int
Attempts int
RetryBase int
Width *int32
Height *int32
LeaseUntil *time.Time
}
type AttachmentReplay struct {
AttachmentID uuid.UUID
Attempt int
PreviousErrorCode *string
Operator string
Reason string
CreatedAt time.Time
}
type AttachmentVariant struct {
AttachmentID uuid.UUID
PipelineVersion int