Repository navigation
feat(platform): give each automation a Versions tab - #4795
Merged
Merged
Conversation
The app reads a door from a refusal too (who put another version live, through what), so the guard that tells a known door from an unknown one lives beside the six doors in the shared schema, and the backend's parseWriteVia reads through it instead of a second set.
useTestStatusLabel answered a new function every render. A table whose columns depend on it rebuilt them on every render, and TanStack renders a function cell as a component, so every row remounted: a row menu lost the button a dialog returns focus to. The function now holds while the language does.
An automation's history gets a fourth tab beside Editor, General and Runs: - A card says which version is live, since when, who put it live and through which door and client, and how many of its runs are still going; it rolls back to the version that one replaced in one click, or offers the latest while nothing is live. - Versions lists every version, newest first, a page at a time: live or when it last was, its message and lineage, who saved it and through what, what it changed against the one before, and its tests. A row opens it in the editor; its menu deploys it or rolls back to it, restores it as the newest version, or downloads its YAML. - Deployments (`?tab=deployments`) lists every time a version went live. - Every deploy names the live version on screen, so a deploy made meanwhile is refused and named rather than undone; a success offers Undo; a version that no longer passes the checks or whose tests fail is refused in a dialog with its problems; a trigger left off is said. - Restore saves a copy of an older version on top of the latest, asks again on top of a version saved meanwhile, and can put it live at once. Who acted reads through one useActorLabel, which the run starter label now wraps. The list's version count and a row-menu item open the tab; the version picker stays on every other tab. The version history pages through the infinite-query lane; the deployments table gets a paged twin.
The workflow editor page in English, German and French gains "Versions and deployments": the live card, the two lists and their columns, deploy or roll back in one click with Undo, what a raced or refused deploy says, and restoring an older version. Rolling back points there; the list page names the version count and Version history. The automations suite's tab-strip box names the new tab; AUTO-F139–F147, AUTO-B24 and AUTO-A21 cover the live card, one-click deploy and Undo, the race between two sessions, the refusal dialog, restore, the Deployments view, the download, the list's links, read failures, and keyboard and phone use. The automation reference names what unit 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
An automation's history gets its own tab, Versions: what is live, every version saved, every time one went live — and deploying, rolling back and restoring in one click each.
?tab=deployments): when, which version, deploy or rollback, what it replaced, who — and a version found live before the history began, marked as such.expectedDeployedVersion); a success toast says runs already started keep their version and offers Undo; a raced deploy changes nothing and says who put which version live and when, with Show deployments; a version whose tests fail or that fails today's checks is refused in a dialog listing the problems, with Open vN in the editor. A trigger left off is said under the card, with Turn on the trigger.useActorLabel(you, a member, a former member once the directory answered, Tale, not recorded);useRunStarterLabelis a thin wrapper of it now./versionslink now opens the tab instead of redirecting.Also
useTestStatusLabel(@tale/ui/test-results) returns the same function across renders — a fresh one rebuilt a table's columns every render, remounting every row (and dropping a row menu's button ref).downloadYamland aneditorVersionLinkhelper are shared instead of copied; the door guardisAutomationWriteVialives with the vocabulary.Divergences from the design
Verification (local)
tsc, oxlint on the changed files, platform i18n guards, server tests of the touched areas, UI suites (automations, settings, notifications, projects, components, hooks), the automations browser tests;@tale/uitsc + unit; docs tests (EN/DE/FR parity); format check,lint:links,lint:manual,knip.ops__weekly-digest-v3.yml), and the trigger-off notice after a deploy from the Versions tab and from the editor (the feat(platform): answer version and deployment history in the app #4790 fix, now seen working).