Repository navigation
feat(platform): try the draft and show test runs on the canvas - #4815
Merged
Merged
Conversation
A node's own span can say what stood in for its work; playback shows that chip on the node once the span starts, as the run overlay already did. The playback guide says so.
With unsaved changes, Test run asks what runs: the draft, tried once through /try and kept nowhere, or the saved version. The try lies over the canvas in place of the last run under an Unsaved test strip that says how it ended, notices a draft changed since, and offers Try again (also Mod-Shift-Enter) and Hide result; it plays back like a recorded run. A test's latest run can be laid over the canvas the same way from its row or its Result, with the test's verdict in the strip. Steps a test stands in for carry their chip, and a node's run tab says whose run it shows.
The editor page gains Try the draft, with a screenshot from the pipeline of a try on the order discounts; the testing page says how to lay a test's run over the canvas.
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
Try the draft before you save it, and lay a test's run over the canvas (P5 S10c1). Builds on the tests panel of #4811–#4813.
Try the draft
/trywith the draft as it is, in mock mode. It is kept nowhere and not listed under Runs.A test's run on the canvas
transientTrace). A test checks this against the engine's own trace.substituteon a node's own span in@tale/ui's flow playback.Docs and manual
automation-try-draft). The testing page gains "Show a test's run on the canvas". The ui-docs playback guide says a replayed run carries the chip.AUTO-F174,AUTO-F175,AUTO-A27, and a reference row for the automated coverage.Verification (local)
Platform
tsc; oxlint on the changed files and the automations, routes and engine trees.The whole server and PII projects: 87,724 of 87,724.
The whole platform UI suite: 7,542 of 7,542. Automations browser tests: 95 of 95.
@tale/uiunit (4,095) and browser (223, incl. the flow components),services/docs(709) andservices/ui-docs(106) tests, i18n (637 with the capture manifest),lint:links,lint:manual,knip.New tests:
transient-run.test.ts, engine-backed);derive-state.test.ts);Live in Chromium on a local stack (Order discounts, desktop and 390 px), no console errors:
The live check found one bug, fixed here with a regression test: the playback clock kept the previous run's position when another run took its place ("806ms of 86ms"). It now opens each run on its own end.
Noted for later polish: at 390 px the playback bar's speed control is cut at the right edge, on the run page too.