Skip to content

[pull] develop from baserow:develop#268

Merged
pull[bot] merged 2 commits into
code:developfrom
baserow:develop
Apr 27, 2026
Merged

[pull] develop from baserow:develop#268
pull[bot] merged 2 commits into
code:developfrom
baserow:develop

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 27, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

paljort and others added 2 commits April 27, 2026 11:41
* WIP - node history

* Add migrations

* Fix test

* Re-generate migrations

* Node history should show result, not payload.

* Ensure nested node history scrolls

* get_previous_positions() may return None

* Fix get_iteration() to use the new iteration_path

* The scrollbar should be lighter, hide the background container.

* Only show expandable if the node history is completed

* Optimize node history endpoint

* Return the node type and label from the backend, so that we don't have to lookup published node which the frontend doesn't know about

* Use history status icons from design spec

* Remove debugging code

* Display workflow run error

* Don't expand history if workflow is in progress

* Find the most specific error

* Remove old HistorySection and unused translations

* Remove old _NodeHistory.vue, replaced by NodeHistory.vue

* Ensure node type label is truncated

* Align node type header icon

* Ensure Node Explorer's content name is truncated

* Add router label to node type, ensure max-width for label

* Make sure header expand icon is centered

* Truncate error preview

* Ensure node result is created when there is an error. This is needed to show the error in the node history.

* Lint fix

* Ensure parent nodes show error indicator (red text) if child has error.

* Clean up styles

* Clean up

* Handle case when router node has error

* Don't render Context or Modal if not final node

* Document success_count and fail_count in the API response

* When workflow times out, ensure child node histories are also updated.

* Remove unused css definitions

* Use computed props

* Add test to check query count for workflow history

* Update test to ensure node history is updated when workflow times out

* use a single timezone.now() instance

* getNodeType should be a computed prop

* getHistoryIconPath should be a computed prop

* Add test for node history in api response

* Add test for success/fail counts

* Add assertion to existing tests to ensure node result is created on workflow error

* Update the workflow when a node is modified

* Add original_workflow to AutomationWorkflowHistory model, migration, and backfill original_workflow

* Delete any published automations that don't have history.

* Create a snapshot of the history via publish flow.

* Add id to automationnodehistory ordering. Update migrations.

* Fix tests

* Ensure sample data is saved from snapshot to the draft workflow.

* Fix test

* Add tests for snapshots

* Remove unnecessary guard.

* Handle list vs flat result data.

* Ensure workflow is updated for snapshot when we CRUD a node.

* Make the edge detection more generic.

* Add new history_clone workflow state choice

* Refactor common logic to new _clone_workflow().

* Simplify async_start_workflow()

* Exclude history clones from being deleted during publishing.

* Ensure active_published only filters for live workflows

* Refactor existing tests + write new ones

* Fix test

* Add real-time for dispatch start/end, and update history in frontend.

* Increase size of the triple-dot link that reveals the Show result button.

* Ensure original_workflow is ZDM compatible

* Squash local migrations

* Simplify

* Add spinner when history is loading.

* Improve clean_up_previously_published_automations() logic

* Use global cache instead of relying on updated_on for cloned workflow.

* Rename history clone to test clone.

* Create clone only for test, not for simulation.

* Update docstring/comments.

* Move clone creation to toggle_test_run()

* Post-migration fixes

* Ensure async_start_workflow() always receives a draf or live workflow. For tests, it should get/create a clone.

* Fix state confusion

* Add filter to prevent deleting newly created test clone.

* Fix test

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Apr 27, 2026
@pull pull Bot added the ⤵️ pull label Apr 27, 2026
@pull pull Bot merged commit 9ff4063 into code:develop Apr 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants