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): update embed example expectations for mcp feature and env sourcing
Steven Enamakela7891620181a
diff --git a/scripts/__tests__/run-embed-examples.test.mjs b/scripts/__tests__/run-embed-examples.test.mjsindex bac3405924..81fbca25ab 100644--- a/scripts/__tests__/run-embed-examples.test.mjs+++ b/scripts/__tests__/run-embed-examples.test.mjs@@ -57,7 +57,7 @@ test("fleet measurements retain their declared release and minimal-feature invoc}});assert.ok(calls.get("linux_fleet").includes("--release"));assert.ok(calls.get("linux_fleet").includes("--no-default-features"));- assert.equal(featureArgument(calls.get("linux_fleet")), "storage-sqlite");+ assert.equal(featureArgument(calls.get("linux_fleet")), "mcp,storage-sqlite");assert.equal(calls.get("mcp").includes("--release"), false);assert.equal(calls.get("mcp").includes("--no-default-features"), false);assert.ok(featureArgument(calls.get("mcp")).split(",").includes("mcp"));@@ -76,6 +76,6 @@ test("a forced dev profile builds release-declared measurements in the dev profiassert.equal(args.includes("--profile"), false);}assert.ok(calls.get("linux_fleet").includes("--no-default-features"));- assert.equal(featureArgument(calls.get("linux_fleet")), "storage-sqlite");+ assert.equal(featureArgument(calls.get("linux_fleet")), "mcp,storage-sqlite");assert.ok(featureArgument(calls.get("mcp")).split(",").includes("mcp"));});diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 7fcb5d88c8..643d3a1268 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -1091,7 +1091,10 @@ test("offline examples build in the dev profile so no release artifacts need clefor (const plan of plans()) {const lint = plan.lanes.find((lane) => lane.name === "rust-lint");const examples = lint.checks.find((c) => c.name === "embed-offline-examples");- assert.equal(examples.run, "node scripts/run-embed-examples.mjs --profile dev");+ assert.equal(+ examples.run,+ "set -a && . ci-out/test-modules.env && set +a && node scripts/run-embed-examples.mjs --profile dev",+ );assert.equal(lint.checks.some((c) => c.name === "release-example-cleanup"),false,