Document Fix with AI for failed workflow steps - #39218
Draft
nhrsh wants to merge 2 commits into
Draft
Conversation
Add a section to the Test and debug page describing how to use the Fix with AI action to resolve a failed workflow step.
Contributor
Preview links (active after the
|
GabeWM
reviewed
Aug 16, 2026
|
|
||
| ## Fix a failed step with AI | ||
|
|
||
| From a failed step's error message in {{< ui >}}Run History{{< /ui >}}, click {{< ui >}}Fix with AI{{< /ui >}} to get help resolving the failure. |
Contributor
There was a problem hiding this comment.
Your image doesn't actually use a failed steps view, it uses workflow output view.
|
|
||
| {{< img src="actions/workflows/test_and_debug/fix-with-ai.png" alt="Bits Chat diagnosing and proposing a fix for a failed workflow step." >}} | ||
|
|
||
| The assistant opens in [Bits Chat][7], diagnoses the failure using the step's inputs, outputs, execution context, and error message, and can search external documentation for errors returned by third-party APIs. It explains the issue and proposes a fix. Unless you turn on {{< ui >}}Auto-approve{{< /ui >}}, the assistant waits for your confirmation before applying any change. After you confirm, the assistant updates the step's configuration and reruns validation. |
Contributor
There was a problem hiding this comment.
This is not true, very silly and I have shared the feedback with Bits Chat, but auto approve has no effect on MCP tools. Only UI tools.
|
|
||
| The assistant opens in [Bits Chat][7], diagnoses the failure using the step's inputs, outputs, execution context, and error message, and can search external documentation for errors returned by third-party APIs. It explains the issue and proposes a fix. Unless you turn on {{< ui >}}Auto-approve{{< /ui >}}, the assistant waits for your confirmation before applying any change. After you confirm, the assistant updates the step's configuration and reruns validation. | ||
|
|
||
| Fixes with AI apply to problems in the workflow's configuration, such as incorrect inputs or an outdated action setup. The assistant can't fix failures caused by external factors, such as invalid credentials, rate limits, or outages in a connected service. Investigate those with the owner of the connected service. |
Contributor
There was a problem hiding this comment.
I don't know if I would phrase it as this, it can tell you what you need to fix on those sites. It kinda feels like this discourages the user of the feature.
|
|
||
| Fixes with AI apply to problems in the workflow's configuration, such as incorrect inputs or an outdated action setup. The assistant can't fix failures caused by external factors, such as invalid credentials, rate limits, or outages in a connected service. Investigate those with the owner of the connected service. | ||
|
|
||
| If the failed step triggers another workflow, debug the triggered workflow's own run history to find the underlying failure. |
Contributor
There was a problem hiding this comment.
I'd be curious if you tested this. I think it may just work now with the toolset.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a section to the Test and debug page describing how to use the Fix with AI action to resolve a failed workflow step.
What does this PR do? What is the motivation?
Merge readiness
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.AI assistance
Additional notes