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): give GTK dependency installs bounded unpacking headroom

efeired07c8b5f7151
diff --git a/.github/scripts/ci-workflow.test.mjs b/.github/scripts/ci-workflow.test.mjs
index 3480047d16..59150b3051 100644
--- a/.github/scripts/ci-workflow.test.mjs
+++ b/.github/scripts/ci-workflow.test.mjs
@@ -282,7 +282,8 @@ test("Rust build timings remain available after failures without waiting for can
test("Linux Rust dependency installs bound apt mirror stalls", () => {
for (const name of ["packages", "rust-fmt-clippy", "rust-test", "agent-rust"]) {
const content = job(name);
- assert.equal((content.match(/sudo timeout --kill-after=30s 10m apt-get/g) ?? []).length, 2);
+ const deadlines = [...content.matchAll(/sudo timeout --kill-after=30s (\d+)m apt-get/g)].map((match) => Number(match[1]));
+ assert.deepEqual(deadlines, [10, name === "agent-rust" ? 10 : 20]);
for (const option of ["Acquire::Retries=3", "Acquire::http::Timeout=30", "Acquire::https::Timeout=30"]) {
assert.ok(content.includes(option));
}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 432caf6ea4..13293b5018 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -213,7 +213,7 @@ jobs:
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \
update
- sudo timeout --kill-after=30s 10m apt-get \
+ sudo timeout --kill-after=30s 20m apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \
@@ -912,7 +912,7 @@ jobs:
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \
update
- sudo timeout --kill-after=30s 10m apt-get \
+ sudo timeout --kill-after=30s 20m apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \
@@ -1023,7 +1023,7 @@ jobs:
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \
update
- sudo timeout --kill-after=30s 10m apt-get \
+ sudo timeout --kill-after=30s 20m apt-get \
-o Acquire::Retries=3 \
-o Acquire::http::Timeout=30 \
-o Acquire::https::Timeout=30 \