type

TaskRunSummary

Counters for one bounded worker claim cycle.

Properties

PropertyTypeDescription
ClaimedintTasks leased in this cycle.
SucceededintTasks completed successfully.
RetriedintTasks scheduled for another attempt.
FailedintTasks moved to terminal failure.
ReleasedintLeases released without executing.
PrunedintExpired terminal records removed.

How it works

Handler failures are persisted as retry or dead-letter state and do not become infrastructure errors.

Full signature

type TaskRunSummary struct { Claimed int Succeeded int Retried int Failed int Released int Pruned int }

Source core/task.go:383