Files
buzz/crates
Fizz 367a62e4c2 fix(relay): report workflow deletions that match nothing
A kind 5 deletion addressing a 30620 workflow coordinate is accepted and
stored per NIP-09 even when no workflow or definition exists under that
owner (or the live definition is newer). The OK response was an empty
message either way, so clients such as `buzz workflows delete` reported
success for deletions that did nothing.

`insert_workflow_deletion` now returns its `WorkflowDeletionOutcome`
alongside the dispatch flag, and ingest keeps `accepted: true` but sets
the message to `info: no matching workflow found for deletion` when
nothing was removed. Real removals and legacy repairs still return an
empty message; repeated identical requests still return `duplicate:`.

The approach and message wording come from Orland00's #2242, which
predates the atomic deletion path from #7735.

Signed-off-by: Fizz <6be7be23ec5bba868f3e1db5ec86013d76bd1a293dce5b435a192158fec13641@buzz.block.builderlab.xyz>
2026-10-13 17:31:14 -07:00
..