Hrmm, that’s a bit concerning. What version of rubygem-foreman-tasks and rubygem-dynflow do you have?
foreman-rake foreman_tasks:cleanup TASK_SEARCH="id = uuid" STATES=\, VERBOSE=y NOOP=y
When you run it like this, it will just print what it would do. When you’re satisfied with what you see, drop the NOOP=y
part to perform the cleanup.