PipedreamHQ / PipedreamHQ/pipedream

[FEATURE] Replay all failed steps in Inspect UI

Open
#8,307 3 comments 0 reactions 0 assignees View on GitHub
enhancement tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Is your feature request related to a problem? Please describe.**
Sometimes, a workflow might fail on a certain step because of a transient issue (API limit reached, etc.), and it requires a simple retry to succeed. But sometimes, those retries must be triggered manually rather than automatically (once the transient issue has been resolved by a human).

Replaying the entire event often does not work, because many workflows shouldn't replay earlier steps if they have already completed successfully. Simple example: let's say step 1 is "Add Row to Google Sheet" and step 2 is "Send Slack Message". If the workflow fails on step 2 because of a transient issue with the Slack API, we don't want to replay the entire event and add another (duplicated) row to the Google Sheet. This gets even worse for longer workflows. And if the first step was to send a "Workflow starting" message to Slack, that message would be sent again on the replay (which looks like a bug in Slack).

**Describe the solution you'd like**
What's needed is a "replay failed steps" option here:
![image](https://github.com/PipedreamHQ/pipedream/assets/18277920/5b6b3d90-dec1-485f-bf3b-957d49994df7)

**Do you have a workaround?**
No

**Comparable features in other tools?**
Zapier has this feature

**Additional context**
Reported by a Business User here: https://pipedream-users.slack.com/archives/CN1BUB92B/p1696207325577809

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.