From 021df875abae0576cec02376c7a610b4400d8062 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 fd5fc81398..1a3e09758d 100644 --- a/backend/deps.edn +++ b/backend/deps.edn @@ -69,7 +69,11 @@ com.ladybugdb/lbug {:mvn/version "0.20.4"} ;; Required by Arrow RootAllocator (lbug only pulls arrow-memory-core). - org.apache.arrow/arrow-memory-netty {:mvn/version "19.0.0"}} + org.apache.arrow/arrow-memory-netty {:mvn/version "19.0.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 b1293a652c..b63c95a2f1 100644 --- a/frontend/deps.edn +++ b/frontend/deps.edn @@ -9,6 +9,9 @@ metosin/reitit-core {:mvn/version "0.11.0"} 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"