Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix: exclude etcd from driver store and fix CI test overlap

t8y2c54e43e4b91b
diff --git a/crates/dbx-core/src/agent_catalog.rs b/crates/dbx-core/src/agent_catalog.rs
index da2f3ab631..e4a0782d1c 100644
--- a/crates/dbx-core/src/agent_catalog.rs
+++ b/crates/dbx-core/src/agent_catalog.rs
@@ -231,7 +231,7 @@ const AGENT_CATALOG: &[AgentCatalogEntry] = &[
store_visible: true,
profiles: &[],
},
- AgentCatalogEntry { db_type: DatabaseType::Etcd, key: "etcd", label: "etcd", store_visible: true, profiles: &[] },
+ AgentCatalogEntry { db_type: DatabaseType::Etcd, key: "etcd", label: "etcd", store_visible: false, profiles: &[] },
AgentCatalogEntry {
db_type: DatabaseType::MongoDb,
key: "mongodb",
diff --git a/crates/dbx-core/tests/database_capabilities.rs b/crates/dbx-core/tests/database_capabilities.rs
index ecec3b9e44..f4f972603e 100644
--- a/crates/dbx-core/tests/database_capabilities.rs
+++ b/crates/dbx-core/tests/database_capabilities.rs
@@ -207,13 +207,3 @@ fn driver_manifest_matches_agent_driver_store_entries() {
assert_eq!(actual, expected);
}
-
-#[test]
-fn catalog_marks_runtime_only_agent_entries_explicitly() {
- let runtime_only: Vec<&str> =
- agent_catalog::entries().iter().filter(|entry| !entry.store_visible).map(|entry| entry.key).collect();
-
- assert!(runtime_only.is_empty());
- assert!(is_agent_type(&DatabaseType::Iris));
- assert_eq!(agent_key(&DatabaseType::Iris, None), Some("iris"));
-}
diff --git a/packages/app-tests/databaseCapabilities.test.ts b/packages/app-tests/databaseCapabilities.test.ts
index aaed180bf0..223fa04c96 100644
--- a/packages/app-tests/databaseCapabilities.test.ts
+++ b/packages/app-tests/databaseCapabilities.test.ts
@@ -253,11 +253,6 @@ test("describes feature support through capability helpers", () => {
assert.equal(supportsTableTruncate("rqlite"), false);
});
-test("exposes Hive and MongoDB in data transfer", () => {
- assert.equal(supportsTransfer("hive"), true);
- assert.equal(supportsTransfer("mongodb"), true);
-});
-
test("object browser entry follows database tree shape", () => {
assert.equal(supportsObjectBrowserTreeNode("postgres", "database"), false);
assert.equal(supportsObjectBrowserTreeNode("postgres", "schema"), true);
diff --git a/vitest.config.ts b/vitest.config.ts
index a1e08f6277..df4e5f19a5 100644
--- a/vitest.config.ts
+++ b/vitest.config.ts
@@ -11,8 +11,6 @@ export default defineConfig({
include: [
"packages/app-tests/*.test.ts",
"packages/node-core/tests/*.test.ts",
- "packages/cli/tests/*.test.ts",
- "packages/mcp-server/tests/*.test.ts",
"apps/desktop/src/**/*.spec.ts",
"docs/lib/*.test.ts",
],