lab5: очереди и асинхронная обработка изображений
Durable staging handoff, transactional outbox, at-least-once worker with lease fencing, idempotent versioned pipeline, three variants, operator tooling, contract tests and evidence. Includes the review fixes: reprocess source selection and failure settlement, replay guards, stale-job retirement, PNG structural/raster validation, migration rollback safety and audit events.
This commit is contained in:
@@ -56,7 +56,11 @@ type SessionService interface {
|
||||
type AttachmentService interface {
|
||||
Upload(ctx context.Context, input attachmentService.UploadInput) (domain.Attachment, error)
|
||||
Get(ctx context.Context, callerID, id uuid.UUID) (domain.Attachment, error)
|
||||
Open(ctx context.Context, callerID, id uuid.UUID) (domain.Attachment, io.ReadCloser, error)
|
||||
OpenVariant(
|
||||
ctx context.Context,
|
||||
callerID, id uuid.UUID,
|
||||
name domain.VariantName,
|
||||
) (domain.Attachment, domain.Variant, io.ReadCloser, error)
|
||||
Presign(ctx context.Context, request domain.PresignRequest) (domain.PresignResult, error)
|
||||
Complete(ctx context.Context, ownerID, id uuid.UUID, sha256 string) (domain.Attachment, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user