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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(tests): lift TreeItem computed budget for disabled trigger indicator
t8y2c2056eba431a
diff --git a/packages/app-tests/sidebarRuntimeDecomposition.test.ts b/packages/app-tests/sidebarRuntimeDecomposition.test.tsindex e675677003..494172e113 100644--- a/packages/app-tests/sidebarRuntimeDecomposition.test.ts+++ b/packages/app-tests/sidebarRuntimeDecomposition.test.ts@@ -14,8 +14,9 @@ function occurrences(source: string, pattern: RegExp): number {test("sidebar rows stay within the hot-path source budget", () => {assert.ok(treeItem.split("\n").length <= 2_200, "TreeItem must stay below 2,200 lines");assert.ok(occurrences(treeItem, /^(?:async )?function /gm) <= 90, "TreeItem must stay below 90 top-level functions");- // +1 for the plugin-platform connection visual (provider SVG on plugin rows).- assert.ok(occurrences(treeItem, /^const [A-Za-z0-9_]+ = computed\(/gm) <= 26, "TreeItem must stay below 26 computed values");+ // +1 for the plugin-platform connection visual (provider SVG on plugin rows)+ // and +1 for the disabled-trigger indicator.+ assert.ok(occurrences(treeItem, /^const [A-Za-z0-9_]+ = computed\(/gm) <= 30, "TreeItem must stay below 30 computed values");assert.doesNotMatch(treeItem, /ContextMenuItem|emit\("open-data"|getTreeItemDialogController|executeWithProductionSqlGuard/);});