Skip to main content

handle_work_release

Function handle_work_release 

Source
pub(super) async fn handle_work_release(
    __arg0: State<AppState>,
    __arg1: Path<String>,
    caller: Option<Extension<Caller>>,
    __arg3: Json<HolderRequest>,
) -> (StatusCode, Json<Value>)
Expand description

Returns the item’s RESULTING state alongside ok (Codex P2 on PR #2902). A release on the item’s final allowed attempt parks it as failed rather than reopening it, so a bare {ok:true} would let the caller report “handed back to the queue” for an item nobody can ever claim again.