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
fix(hosted): install SDK backend transport in test support
Steven Enamakeld12fe84460e4
diff --git a/crates/openhuman-tinyhumans/src/hosted/test_support.rs b/crates/openhuman-tinyhumans/src/hosted/test_support.rsindex 8842de72b1..c3af46dc2e 100644--- a/crates/openhuman-tinyhumans/src/hosted/test_support.rs+++ b/crates/openhuman-tinyhumans/src/hosted/test_support.rs@@ -30,6 +30,8 @@ pub fn store_session(config: &Config, token: &str) {/// A signed-in config against `api_url` (session token `jwt.test`).pub fn signed_in(tmp: &TempDir, api_url: &str) -> Config {+ crate::install(crate::InstallOptions::default().hosted_controllers(false))+ .expect("install SDK backend transport for hosted mock");let config = config(tmp, api_url);store_session(&config, "jwt.test");configdiff --git a/scripts/__tests__/check-linux-tls-dependencies.test.mjs b/scripts/__tests__/check-linux-tls-dependencies.test.mjsindex d5f818ad97..d6c773c2c2 100644--- a/scripts/__tests__/check-linux-tls-dependencies.test.mjs+++ b/scripts/__tests__/check-linux-tls-dependencies.test.mjs@@ -147,9 +147,7 @@ for (const interpreter of interpreters) {});test(`[${interpreter} ${version}] a Sentry-owned reqwest 0.13 fails the policy`, SKIP, () => {- // The owners fixture is in the shape the script greps for (`^sentry v`),- // not the indented shape `cargo tree --invert` really prints; that- // mismatch is #6602 and is out of scope here.+ // `--prefix none` makes the real inverted tree emit dependents at column 0.const tree = makeTree({tauri: "reqwest v0.13.2\nsentry v0.36.0",owners: { "[email protected]": "reqwest v0.13.2\nsentry v0.36.0" },@@ -157,6 +155,7 @@ for (const interpreter of interpreters) {const result = run(interpreter, tree);assert.equal(result.status, 1);assert.match(result.stderr, /Sentry owns reqwest 0\.13\.2 in tauri/);+ assert.match(tree.calls(), /--prefix none --invert reqwest@0\.13\.2/);});test(`[${interpreter} ${version}] an aws-lc dependency fails the policy`, SKIP, () => {diff --git a/scripts/check-linux-tls-dependencies.sh b/scripts/check-linux-tls-dependencies.shindex 0997174ed8..17067265e7 100755--- a/scripts/check-linux-tls-dependencies.sh+++ b/scripts/check-linux-tls-dependencies.sh@@ -44,7 +44,7 @@ check_world() {for version in ${reqwest_013_versions[@]+"${reqwest_013_versions[@]}"}; doowners="$(cargo tree --locked --manifest-path "$manifest" --target "$target" \- --invert "reqwest@$version" 2>/dev/null || true+ --prefix none --invert "reqwest@$version" 2>/dev/null || true)"if printf '%s\n' "$owners" | grep -Eq '^sentry v'; thenprintf 'error: Sentry owns reqwest %s in %s\n%s\n' \@@ -56,7 +56,7 @@ check_world() {for package in native-tls openssl openssl-sys; doowners="$(cargo tree --locked --manifest-path "$manifest" --target "$target" \- --invert "$package" 2>/dev/null || true+ --prefix none --invert "$package" 2>/dev/null || true)"if printf '%s\n' "$owners" | grep -Eq '^sentry v'; thenprintf 'error: Sentry owns %s in %s\n%s\n' \