Skip to main content

serve_rerun

Function serve_rerun 

Source
pub fn serve_rerun(
    connection: &mut PgConnection,
    _pool: &DbPool,
    corpus_name: String,
    service_name: String,
    severity: Option<String>,
    category: Option<String>,
    what: Option<String>,
    owner: &str,
    description: &str,
) -> Result<Accepted<String>, Status>
Expand description

Rerun a filtered subset of tasks for a <corpus,service> pair, over the caller-supplied (pooled) connection, attributed to the already-authenticated owner (the signed-in admin — the route gates on the crate::frontend::actor::AdminSession cookie, so there is no token here). 404 on an unknown corpus/service, 500 if the rerun marking fails.