From 8809d9fdf874f147a041eb8bdbb89e7a1f0c093b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Thu, 20 Aug 2026 02:02:06 +0200 Subject: [PATCH] :sparkles: Add datascript dependency for graph-overlay First step of the graph-overlay port: index identity, type and topology in datascript over the document, instead of projecting every shape attribute into a Ladybug database. Backend and frontend both declare it, because the index is meant to end up in the derived-index worker. Measured motivation (devenv, JVM datascript 1.8.1): a 20k-shape file indexes in 1.1s and 5.7MB, against 33-43s and 144MB for the equivalent Ladybug session. --- backend/deps.edn | 6 +++++- frontend/deps.edn | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/deps.edn b/backend/deps.edn index f10437fb75..ab44d3501a 100644 --- a/backend/deps.edn +++ b/backend/deps.edn @@ -69,7 +69,11 @@ com.ladybugdb/lbug {:mvn/version "0.19.1"} ;; Required by Arrow RootAllocator (lbug only pulls arrow-memory-core). - org.apache.arrow/arrow-memory-netty {:mvn/version "18.2.0"}} + org.apache.arrow/arrow-memory-netty {:mvn/version "18.2.0"} + + ;; graph-overlay: datascript index over the document, replacing the Cypher + ;; projection for per-file queries. See docs.local/graph roadmap. + datascript/datascript {:mvn/version "1.8.1"}} :paths ["src" "resources" "target/classes"] :aliases diff --git a/frontend/deps.edn b/frontend/deps.edn index 789020ef56..3507c9049c 100644 --- a/frontend/deps.edn +++ b/frontend/deps.edn @@ -9,6 +9,9 @@ metosin/reitit-core {:mvn/version "0.10.1"} funcool/okulary {:mvn/version "2022.04.11-16"} + ;; graph-overlay: datascript index in the derived-index worker. + datascript/datascript {:mvn/version "1.8.1"} + funcool/tubax {:git/tag "v2025.11.28" :git/sha "2d9a986"