From 50587fc954c37c2a71a4a9447ea02ed7e4196fa2 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Wed, 18 Mar 2026 13:02:49 +0100 Subject: [PATCH] fix: make datatable and ducklake diffs visible in workspace comparison Co-Authored-By: Claude Opus 4.5 --- backend/windmill-api-workspaces/src/workspaces.rs | 2 ++ backend/windmill-api/openapi.yaml | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/backend/windmill-api-workspaces/src/workspaces.rs b/backend/windmill-api-workspaces/src/workspaces.rs index 8a75d437b6..53ac0bf082 100644 --- a/backend/windmill-api-workspaces/src/workspaces.rs +++ b/backend/windmill-api-workspaces/src/workspaces.rs @@ -5532,6 +5532,8 @@ async fn query_visible_items<'c>( .fetch_all(&mut **tx) .await? } + // Datatables and ducklakes are workspace settings, always visible + "datatable" | "ducklake" => paths_vec, _ => vec![], // Unknown kind }; diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index cd32c4b3b0..959446b778 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -24090,7 +24090,7 @@ components: kind: type: string enum: - ["script", "flow", "app", "resource", "variable", "resource_type"] + ["script", "flow", "app", "resource", "variable", "resource_type", "folder", "datatable", "ducklake"] description: Type of the item path: type: string @@ -24124,6 +24124,8 @@ components: - variables_changed - resource_types_changed - folders_changed + - datatables_changed + - ducklakes_changed - conflicts properties: total_diffs: @@ -24156,6 +24158,12 @@ components: folders_changed: type: integer description: Number of folders with differences + datatables_changed: + type: integer + description: Number of datatables with differences + ducklakes_changed: + type: integer + description: Number of ducklakes with differences conflicts: type: integer description: Number of items that are both ahead and behind (conflicts)