Skip to content

feat(platform): show each run's version and compare runs across versions - #4801

Merged
yannickmonney merged 5 commits into
mainfrom
feat/automation-run-versions
Oct 11, 2026
Merged

yannickmonney merged 5 commits into
mainfrom
feat/automation-run-versions

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

Every run names the version it ran as a link to it. Two runs of different versions compare on both versions' steps, and a package the checks refuse lists its problems.

  • Version pill: a run's version reads as a small link, such as v3, with a green dot when it is the live version. Its tooltip names the version's message, who saved it and when, and it opens that version in the editor (in the project's shell for a project's runs). It appears:
    • in the Runs table's Version column (its click stays out of the row's);
    • on the run compare cards;
    • in a task's run dialog, for those who may use Automations.
  • Run page: the pill opens a menu with Open v3 in the editor, Compare v3 with live v5 (only while another version is live; the newer is compared with the older) and Version history.
  • Runs of two versions:
    • Both runs on the chart draws the union of both versions' steps (mergeFlowGraphs). Each run sits on its own version's steps, and a step one version lacks is dashed for that run (Not in B's version). Before, a step only A's version had was not drawn at all.
    • Under What differs, See what changed between v3 and v4 opens the versions' comparison.
    • AutomationCanvas takes a prebuilt graph (paths left out then) and CanvasCompare.absentInB. WorkflowCanvas takes either a version diff or a run comparison, so the union is drawn with the run comparison only.
  • Upload refusals: the upload door now sends a refused document's problems beside its sentence (data.errors/data.warnings, the shape a refused save already has). The dialog lists them with the editor's issue words under "This package doesn't pass the checks." A Deploy now the checks refuse does the same.

Also, from the live check of #4798

  • The version picker keeps its rows two lines tall: Restores vN / Based on vN sit at the end of the title line.
  • The newer-version notice labels its change chips (Changes). A version that only changed its description read as a lone "Description".

Docs and manual

  • platform/automations/execution-logs EN/DE/FR covers the version pill and its menu, and runs of two versions on one chart with the link to the version comparison. platform/automations/catalog EN/DE/FR covers the upload refusal's list.
  • Manual boxes: AUTO-F159–F163 and A24 are new; F119 and F158 are updated; there is a new reference row.

Verification (local)

  • Platform tsc, oxlint (changed files and the automations feature + dashboard routes), i18n guards, server tests of the touched areas (incl. backend/core/automations), UI suites (incl. tasks), automations + tasks browser tests, docs tests, format check, lint:links, lint:manual, knip.
  • Unit tests:
    • the pill (name, live mark, org/project link, click kept from the row, tooltip);
    • the run menu (compare as newer-vs-older; none for a run of the live version);
    • the Runs table pills;
    • the run page menu;
    • the run compare union (both versions' steps, absent per run, the versions link, the live pill);
    • the task dialog pill for Developers and not for Members;
    • the upload refusal list;
    • the upload door's data.
  • Live on a local stack:
    • the Runs table pills (tooltip, click opens editor?version=4);
    • a run page's menu (compare opened versions/4?from=3);
    • a run of v3 compared with a run of v4 (union chart with Summarize dashed, "Not in B's version", the versions link, at 1440 and 390 px without sideways scroll);
    • an upload reading a missing node (listed as "Reference to an unknown node · REF_UNKNOWN_NODE · How to fix…").
  • The feat(platform): let the editor know its versions #4798 editor work was also checked live here:
    • the old-version band;
    • picker author lines;
    • saving an edit of v5 as v8 based on v5 with no stale dialog;
    • the newer-version notice;
    • the stale dialog in words;
    • Roll back to v3 with Undo.

A restored or branched version's chip took a line of its own between the
message and the author line. It now ends the title line, where a long
message gives way to it.
A package whose workflow fails the checks was refused with one English
sentence. The refusal now carries the validator's errors and warnings
beside it, under data, the shape a refused save already has, so the
upload dialog can list each problem in words.
A run's version reads as a link to it in the editor, marked when it is
the live one and naming its message, author and date on hover: in the
Runs table, on the run compare cards and in a task's run dialog. On a
run's page it opens a menu to open the version, compare it with the
live one or read the version history.

Two runs of different versions compare on the steps of both versions,
each run on its own version's, a step one lacks dashed for that run,
with a link to the comparison of the two versions. The upload dialog
lists the problems of a refused package, and the newer-version notice
labels its change chips.
Covers the version on every run and its menu, runs of two versions on
one chart with the link to the versions' comparison, and the problems a
refused upload lists, in English, German and French.
AUTO-F159 to F163 and A24 cover the run version pill and its menu, runs
of two versions compared, the task dialog's pill and a refused upload's
problems; F119 and F158 follow the new behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant