This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new a3a4f4f168e Stop bundling the ELK worker twice in the UI (#75864)
a3a4f4f168e is described below
commit a3a4f4f168e07e7a3c56dc25b2a6b756cfe40772
Author: Guan-Ming Chiu <[email protected]>
AuthorDate: Fri Oct 30 14:10:20 2026 +0000
Stop bundling the ELK worker twice in the UI (#75864)
---
airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts
b/airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts
index 6d989e4f606..b04622e8635 100644
--- a/airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts
+++ b/airflow-core/src/airflow/ui/src/components/Graph/useGraphLayout.ts
@@ -17,7 +17,8 @@
* under the License.
*/
import { useQuery } from "@tanstack/react-query";
-import ELK, { type ElkNode } from "elkjs";
+import type { ElkNode } from "elkjs";
+import ELK from "elkjs/lib/elk-api.js";
// ?raw imports the file content as a plain string without any transformation.
// We create a blob: URL from it so the Worker is always same-origin to the
// page — avoiding the cross-origin SecurityError that occurs in Airflow's dev