type
TaskReconciler
Bounded recovery scan for a durable task admission gap.
Arguments
| Argument | Type | Description |
|---|---|---|
context | context.Context | Worker-cycle cancellation context. |
application | *App | The fully initialized application used to inspect durable state and enqueue repairs. |
Returns
A surfaced recovery failure.
errorHow it works
Reconcilers run before every selected task claim cycle, including startup, and must be bounded, idempotent, and safe across concurrent instances.
Full signature
type TaskReconciler func(
context.Context,
*App,
) errorRelated types
AppA resolved application bound to operation services.