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(github): recognize full-width PR title colons
t8y2da53d207db0e
diff --git a/.github/scripts/label-pull-request.mjs b/.github/scripts/label-pull-request.mjsindex 22041164d3..64ffbddb92 100644--- a/.github/scripts/label-pull-request.mjs+++ b/.github/scripts/label-pull-request.mjs@@ -99,7 +99,7 @@ function normalizeChangedFiles(changedFiles) {function conventionalType(title) {const normalized = String(title || "").trim().replace(/^[^\p{L}\p{N}]+/u, "");- return /^([a-z]+)(?:\([^)]*\))?!?:/i.exec(normalized)?.[1]?.toLowerCase() || null;+ return /^([a-z]+)(?:\([^)]*\))?!?[::]/i.exec(normalized)?.[1]?.toLowerCase() || null;}export function isDocumentationFile(file) {diff --git a/.github/scripts/label-pull-request.test.mjs b/.github/scripts/label-pull-request.test.mjsindex da63ac3d07..eb40362d4d 100644--- a/.github/scripts/label-pull-request.test.mjs+++ b/.github/scripts/label-pull-request.test.mjs@@ -88,6 +88,16 @@ test("does not treat component tests or MCP server code as UI or deploy changes"assert.deepEqual(result.labels, ["area/desktop", "area/mcp", "bug"]);});+test("recognizes conventional titles with a full-width colon", () => {+ const result = evaluatePullRequestLabels({+ title: "Fix:补全 GaussDB M 模式 SQL 生成",+ changedFiles: ["crates/dbx-core/src/db/mod.rs"],+ knownDatabaseTypes,+ });++ assert.deepEqual(result.labels, ["area/core", "bug"]);+});+test("detects only newly added package dependencies", () => {const result = inferAddedDependencies(["package.json"],