From f7efb646bf1f2e132d1e3ff031b142383ae01c5e Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 7 Jul 2026 22:00:39 +0200 Subject: [PATCH] =?UTF-8?q?fix(pipelines):=20live=20materialize/dataset=20?= =?UTF-8?q?editing=20=E2=80=94=20stale=20graph,=20phantom=20drafts,=20stal?= =?UTF-8?q?e=20Save-all=20deploys=20(#9990)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(pipelines): live materialize/dataset edits reflect on the graph; no phantom draft after deploy Co-Authored-By: Claude Fable 5 * fix(pipelines): Save all deploys the open pane's live buffer, not the stale draft snapshot Co-Authored-By: Claude Fable 5 * fix(pipelines): pin deployedFromPane to the shipped content so mid-deploy keystrokes still promote to a draft Co-Authored-By: Claude Fable 5 * fix(pipelines): draft rename ping-pong loop, stale rename deploys, inactive-draft input lineage Co-Authored-By: Claude Fable 5 * fix(pipelines): dedupe inferred-lineage overlay against accumulated edges; first draft teardown still captures reads Co-Authored-By: Claude Fable 5 * fix(pipelines): record an authoritative empty read capture on uncaptured draft entries Co-Authored-By: Claude Fable 5 * fix(pipelines): teardown skip compares lineage too, so access-only overrides still persist Co-Authored-By: Claude Fable 5 * style(pipelines): compress persist-back guard comments to the invariant Co-Authored-By: Claude Fable 5 --------- Co-authored-by: Claude Fable 5 --- .../AssetGraph/AssetGraphDetailsPane.svelte | 76 +++++- .../AssetGraph/PipelineGraphEditor.svelte | 15 +- .../assets/AssetGraph/pipelineAiHelpers.ts | 37 ++- .../AssetGraph/pipelineEditorState.svelte.ts | 35 ++- .../AssetGraph/pipelineEditorState.test.ts | 36 +++ .../assets/AssetGraph/resolveGraph.test.ts | 228 ++++++++++++++++ .../assets/AssetGraph/resolveGraph.ts | 256 +++++++++++------- .../(logged)/pipeline/[folder]/+page.svelte | 25 +- 8 files changed, 574 insertions(+), 134 deletions(-) diff --git a/frontend/src/lib/components/assets/AssetGraph/AssetGraphDetailsPane.svelte b/frontend/src/lib/components/assets/AssetGraph/AssetGraphDetailsPane.svelte index 4e5acaee08..425565353a 100644 --- a/frontend/src/lib/components/assets/AssetGraph/AssetGraphDetailsPane.svelte +++ b/frontend/src/lib/components/assets/AssetGraph/AssetGraphDetailsPane.svelte @@ -1,5 +1,6 @@