Repository navigation
perf: reduce cloning and serialization in execution views - #943
Open
shayansadeghieh wants to merge 1 commit into
Open
shayansadeghieh wants to merge 1 commit into
shayansadeghieh wants to merge 1 commit into
Conversation
Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com> Signed-off-by: Shayan Sadeghieh <shayansadeghieh@stripe.com> Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com>
shayansadeghieh
force-pushed
the
fix/execution-view-performance
branch
from
October 10, 2026 20:06
85c1e1b to
1eec390
Compare
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.
TL;DR
Reduce repeated cloning and JSON serialization in execution views for large, nested workflows. Polling and expansion now reuse unchanged execution records, compiled graph data, and derived table rows.
For example, when one task changes from RUNNING to SUCCEEDED, the current implementation clones and compares the whole known execution map. Expanding a nested node also rebuilds the graph and serializes derived structures to decide whether to update state. With large literal input bindings, those operations repeatedly traverse the same payloads and can make the UI unresponsive.
Type
Complete description
Newly loaded dynamic workflow definitions still rebuild the base graph, partial execution responses retain existing fields, and the polling interval is unchanged.
Validation
WorkflowNodeExecutionsProvider,NodeExecutionsTable,WorkflowGraph, andTimelineCharton the current upstream base.git diff --checkpassed.Are all requirements met?
Tracking Issue
None.