Repository navigation
feat(platform): compare two versions of an automation - #4797
Merged
Merged
Conversation
An item can say that what it changed has nowhere else to be shown (`activatable: false`), such as a test on a page whose graph shows only nodes: its open row offers no action, and a row without details is plain text rather than a control. The guide says when to set it.
Each version gets a page of its own (`…/versions/$version`, org and project routes) that says what it changed against another version, the one before it unless Compare with names another (`?from=`), offering the version before, the live one and the one it was based on first: - The header names the version, its message, who saved it and how, and offers Open in editor, its deploy or rollback button (the Versions tab's one-click deploy) and, in a menu, restore and the YAML download. - Graph draws both versions on one chart, every box marked added, removed, changed (with the fields that changed) or renamed (with its old name), the lines only one version draws signed; either version's own chart is a switch away, and a picked box opens its changes beside the chart, Start's being the inputs and End's the output. - Changes lists every change under Start, Nodes, End, Tests and Package data, code compared line by line in the editor's language and JSON value by value, each node, input and output one click from its box. - YAML compares the two versions' source. Identical versions, the first version and a version that is not there each say so. On the Versions tab a row opens its comparison, the menus add What changed and Compare with live, a deploy opens what it changed against the version it replaced, and the live card links its comparison.
The workflow editor page in English, German and French gains "Compare two versions" — the header and its actions, Compare with and the chips, the Graph, Changes and YAML views and the box panel, the phone default, identical versions and the first one — and says where a Versions row, a Deployments row and the live card lead now. AUTO-F148–F153 and AUTO-A22 cover the comparison by hand; the automation reference names what unit and browser tests own.
This was referenced Oct 11, 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
What changed between two versions of an automation, on a page of its own (
…/versions/$version, org and project routes) — the product side of the diff components that landed in #4704.?from=): the version before by default; the version before, the live one and the one it was based on come first, then every other, newest first. Chips count the nodes added, removed, changed and renamed and name the other parts that changed.?view=graph, the default on a wide screen): both versions on one chart throughmergeFlowGraphs— added, removed, changed (with the fields that changed at the box's foot) and renamed (its old name) boxes, and the lines only one version draws. The switch shows either version's own chart with the changes brought forward. Selecting a box (?node=) opens its changes beside the chart; Start shows the inputs that changed, End the output.Also
@tale/ui/change-list: an item can opt out of the row action (activatable: false) when what it changed has nowhere else to show — a test on a page whose graph shows only nodes. Guide and browser test updated.useAutomationAtVersion;useDeployedAutomationis its alias), one download hook shared by the Versions tab and the comparison,compareVersionLink/versionsTabLinkhelpers, and the change flags shared with the Versions table.Verification (local)
tsc, oxlint (changed files and the whole automations feature + dashboard routes), i18n guards, server tests of the touched areas, UI suites, the automations browser tests (incl. a new one drawing a comparison in Chromium: marks, summaries, the old name, picking a box, the side switch);@tale/uitsc + unit + the change-list and flow-diff browser tests; docs and ui-docs tests; format check,lint:links,lint:manual,knip.