Does $event->setResult(false) create a failure notification in the web interface?

Just to update, I track down the pending actions count to this query

SELECT
  o.event_id, count(o.lead_id) as lead_count, o.non_action_path_taken
FROM
  mautic_campaign_lead_event_log o
LEFT JOIN
  mautic_campaign_leads l ON l.campaign_id = 44 and
  l.manually_removed = 0 and
  o.lead_id = l.lead_id and
  l.rotation = o.rotation
WHERE
  (o.campaign_id = 44) AND
  (NOT EXISTS (
      SELECT null
      FROM mautic_campaign_lead_event_failed_log fe
      WHERE fe.log_id = o.id)
  ) GROUP BY o.event_id, o.non_action_path_taken

It seems that we need a long running task concept, for tasks that will take more than one action run to complete, that do not failed, or succeeded, yet. That would help for such cases. Anyway I’m not 100% sure that I got the entire picture here, so a word of the devs would be valuable, does $event->setResult(false) create an entry in campaign_lead_event_failed_log? Is there a way to retry an action without creating such entry (if it does create)?

From what I could grasp from that query, it doesn’t consider as completed an action that has entries in the campaign_lead_event_failed_log is that right?