保存任务终态事务与取消一致性整改基线,生产复审待完成

This commit is contained in:
xuans committed 2026-10-02 17:19:51 +08:00
1 parent 9e666be522
commit 8a8b1a5e0e
12 files changed
+464 -18

No files matched your search

@@ -68,6 +68,7 @@ type TaskRepository interface {
FindTaskByIdempotencyKey(context.Context, string, string) (Task, error)
CreateAttempt(context.Context, TaskAttempt) error
FinishAttempt(context.Context, string, string, string, *time.Time) error
FinishTaskAttempt(context.Context, TaskCompletion) error
ListAttempts(context.Context, string) ([]TaskAttempt, error)
RecordTaskDeploymentResults(context.Context, string, string, int, []TaskDeploymentResult) error
ListTaskDeploymentResults(context.Context, string) ([]TaskDeploymentResult, error)