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(ci): supply runner temp to MCP workflow fixtures (#11402)

efeire0818de9f9f6a
diff --git a/packages/app-tests/mcpReleaseSigning.test.ts b/packages/app-tests/mcpReleaseSigning.test.ts
index aac99dedec..8f042974f5 100644
--- a/packages/app-tests/mcpReleaseSigning.test.ts
+++ b/packages/app-tests/mcpReleaseSigning.test.ts
@@ -272,7 +272,7 @@ with zipfile.ZipFile(sys.argv[2], 'w') as archive:
const mockPath = `${mocks}:/usr/bin:/bin`;
const isolatedScript = `export PATH=${JSON.stringify(mockPath)}\n[[ "$(command -v npm)" == ${JSON.stringify(join(mocks, "npm"))} ]]\n[[ "$(command -v node)" == ${JSON.stringify(join(mocks, "node"))} ]]\n${expanded}`;
return spawnSync("/bin/bash", ["--noprofile", "--norc", "-e", "-o", "pipefail", "-c", isolatedScript], {
- cwd: scenario.root, encoding: "utf8", env: { PATH: mockPath, HOME: scenario.root, TMPDIR: scenario.root, VERSION: "0.4.104" },
+ cwd: scenario.root, encoding: "utf8", env: { PATH: mockPath, HOME: scenario.root, TMPDIR: scenario.root, RUNNER_TEMP: scenario.root, VERSION: "0.4.104" },
});
},
npmCommands: () => existsSync(npmLog) ? readFileSync(npmLog, "utf8").trim().split("\n").map((line) => JSON.parse(line)) : [],