pub async fn task_rekick(
__arg0: State<AppState>,
__arg1: Path<String>,
) -> Result<(StatusCode, Json<RunKickResponse>), ApiError>Expand description
POST /v1/tasks/:id/runs. Re-kicks an existing Task: reads its stored
blueprint_ref / input_ctx, mints a fresh RunId, dispatches through
TaskApplication::handle_with_run via TaskApplicationInput::automate
(the unadorned Operator-default path — no per-request Operator override
support here, unlike POST /v1/tasks; the stored Task carries no such
preferences) plus a freshly-built RunContext (issue #13 run_id
propagation, so this kick’s steps get their own step_entries trace),
and persists the outcome via [finalize_run].