Skip to main content

status_with

Function status_with 

Source
pub fn status_with(
    _input: &StatusInput,
    feedback_config: &FeedbackConfig,
) -> StatusOutput
Expand description

Pure core of status, testable without depending on the ambient process environment. status resolves feedback config via feedback_config() (which consults FEEDBACK_WEBHOOK_*); this variant takes the resolved [FeedbackConfig] explicitly so callers and tests are deterministic. Mirrors the updater_config / updater_config_with split, which exists for the same reason (env mutation is unsafe under this crate’s unsafe_code = forbid).