fix(duckdb): statically link Windows worker runtime

Closes #5313
This commit is contained in:
t8y2
2026-08-04 15:08:04 +08:00
parent 947cc16d92
commit cd5c222f95
7 changed files with 289 additions and 4 deletions
@@ -84,6 +84,18 @@ test("builds a manually versioned module even without runtime file changes", ()
assert.equal(result.versions.duckdb, "0.1.1");
});
test("bumps DuckDB when its Cargo target configuration changes", () => {
const result = evaluateAgentVersionBump({
versions: { duckdb: "0.1.2" },
changedFiles: ["agents/drivers/duckdb/.cargo/config.toml"],
moduleExists: (path) => path === "agents/drivers/duckdb",
readModuleFile: () => "",
});
assert.equal(result.versions.duckdb, "0.1.3");
assert.deepEqual(result.nativeModules, ["duckdb"]);
});
test("builds only common-dependent Java modules for a shared runtime change", () => {
const existing = new Set([
"agents/drivers/access",