The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(scripts): add test for real cargo tree failure reporting
Steven Enamakele9b7fc41bb20
diff --git a/scripts/__tests__/check-linux-tls-dependencies.test.mjs b/scripts/__tests__/check-linux-tls-dependencies.test.mjsindex 5cdceabf33..2976013ed8 100644--- a/scripts/__tests__/check-linux-tls-dependencies.test.mjs+++ b/scripts/__tests__/check-linux-tls-dependencies.test.mjs@@ -217,6 +217,31 @@ for (const interpreter of interpreters) {},);+ test(+ `[${interpreter} ${version}] a real cargo tree failure is reported as a check error`,+ {+ ...SKIP,+ skip:+ SKIP.skip ||+ (spawnSync("cargo", ["--version"], { encoding: "utf8" }).status !== 0+ ? "requires Cargo"+ : false),+ },+ () => {+ // Run the checker outside a Cargo workspace so the real Cargo command+ // fails to load Cargo.toml. This exercises the production command/error+ // boundary without building dependencies or accessing the network.+ const root = fs.mkdtempSync(path.join(os.tmpdir(), "check-linux-tls-real-cargo-"));+ const result = spawnSync(interpreter, [script], {+ cwd: root,+ encoding: "utf8",+ env: process.env,+ });+ assert.equal(result.status, 2);+ assert.match(result.stderr, /could not check core dependency tree/);+ },+ );+test(`[${interpreter} ${version}] a failed reqwest owner query is a check error`,SKIP,