Repository navigation
feat(platform): offer a failed run to a coding agent - #4965
Merged
Merged
Conversation
A failed run's card gains Fix with your coding agent for the people who may change the automation. It opens the guided setup the editor's button opens, with a prompt that names the run and its automation: the agent reads the run's record, explains why it failed, reproduces it on the mocks and proposes the smallest fix, asking before it saves or deploys. The dialog takes the automation or the run as its context; where agents may not sign in it shows the name and the run's id to hand an agent that holds a key. The prompt holds no bracketed part, so the dialog neither marks one nor asks to replace it. The card takes a slot for the host's buttons. AUTO-F182 and its reference row.
The failure card's new button, in the guide to a failed run, in the assistant guide and in the Connected agents steps, in all three languages.
The failure card now carries Fix with your coding agent beside Show step and Retry from this step.
This was referenced Oct 13, 2026
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.
What
A failed run's card on the run page gains Fix with your coding agent, beside Show step and Retry from this step, for the people who may change the automation (Owner, Admin, Developer — the editor's own gate). It opens the guided setup that the editor's Edit with your coding agent button opens (client tabs, the verified commands, the live "Connected" line), with a prompt that names this run and its automation:
It follows the MCP server's own
debug_failed_runprompt — the same steps and tool names, without its lists of connectors, secrets and models — and a test holds every tool a prompt names to the endpoint's inventory, in English, German and French.CodingAgentDialogtakes the automation to change or the run to look into; the editor's button is unchanged. Where operators turned agent sign-in off, the dialog keeps its old body: the automation's name and now the run's ID to copy, Set up MCP and the guide.actions) for a host's buttons, the wayIssueDetaildoes.AUTO-F182and its reference row. Docs in English, German and French: the failures section of the run guide, the assistant guide, and the Connected agents steps.The failed-run screenshot of the docs (
automation-run-failed) is retaken through the capture pipeline and shows the new button. Not in this PR: an entry for the Problems list (its rows have no per-row action slot).Proof
run-failure-card.browser.test.tsx, 15 tests): the card's three buttons stay inside it at 320/390/768/1280 px in English, German and French; the dialog passes an axe audit in both themes (after its fade-in); closing it with Escape returns focus to the button.41027bd5-…) andinvoice-digest, with no replace hint; at 390 px the dialog is a bottom sheet and the prompt wraps at the id's dashes. The id on the page is the primary key ofapp.automation_runs, the tableget_runreads through the same store.consistent-returnon a switch) were fixed in the feature commit and re-run green.