Графік комітів
2 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai e9d442b520 fix(database): keep expanded nodes loaded after editing a data source
Saving a data source forgets its cached metadata before writing the new
settings, so the refresh that followed found nothing loaded and reloaded only
the source's first level; expanded schemas and tables stayed on Loading.
saveSource now takes what the tree had loaded before forgetting it and hands
that to refresh.
2026-11-14 03:15:59 +08:00
LunarFellerтаLunarFeller c09fb7191a fix(database): ignore stale metadata after deactivation (#3237)
A metadata reply that arrived after its data source was deactivated, deleted, edited or after a project switch could bring back the Connected indicator and the cleared schemas, tables, columns or completion, and an obsolete chain could issue further requests. Requests now carry project / source / target lifetimes (requests.ts); forget() starts a new lifetime, and late replies, introspection steps and follow-up requests of an ended lifetime are dropped. Completed writes keep their result but no longer revive an old connection.

Co-authored-by: LunarFeller <[email protected]>
2026-11-14 03:11:39 +08:00