pub fn trigger_slug(kind: TriggerKind, dedup_id: &str) -> StringExpand description
Deterministic ticket slug for a trigger: trigger-ci-<run id> /
trigger-pr-<number>. The dedup identity is numeric in both accepted
payloads; the filter keeps the slug valid even if a future payload shape
changes that.