pub async fn apply_attach(
t: &Transport,
plan: &AttachPlan,
) -> Result<CaseEditReport>Expand description
One comments POST per rule group (the API takes one rule per comment).
A failed group must not discard the groups that already attached: a ?
on the first error would report only the raw error while leaving earlier
groups attached, and a retry would then double-attach them. Accumulate
per-group outcomes instead, so a partial failure renders as counts plus
per-group detail rather than an opaque error.