Skip to main content

rollback_skills

Function rollback_skills 

Source
fn rollback_skills(state: &AppState, ids: &[String]) -> Vec<String>
Expand description

codex P2, PR #2379 round 4: rollback previously discarded every skill_delete error via let _ = ..., so if the SAME failing store also rejects the cleanup deletes, previously- inserted global skills could silently survive an RPC that reports failure. No transaction primitive exists on Store today, so full atomicity is out of scope here; surfacing the rollback failure instead of swallowing it is the fix that fits — the caller at least learns cleanup itself may not have fully succeeded.