type

TaskReconciler

Bounded recovery scan for a durable task admission gap.

Arguments

ArgumentTypeDescription
contextcontext.ContextWorker-cycle cancellation context.
application*AppThe fully initialized application used to inspect durable state and enqueue repairs.

Returns

A surfaced recovery failure.

error

How 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, ) error

Source core/task.go:56

Related types

  • App

    A resolved application bound to operation services.