Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Merge remote-tracking branch 'upstream/main' into fix-release-ci-2026-10

Steven Enamakel4d53bb25c7c1
diff --cc scripts/__tests__/ci-suite-scope.test.mjs
index fb437ca886,fb437ca886..5ba459f672
--- a/scripts/__tests__/ci-suite-scope.test.mjs
+++ b/scripts/__tests__/ci-suite-scope.test.mjs
@@@ -10,23 -10,23 +10,31 @@@ const repoRoot = path.join
"..",
);
++import { AREA_ENV, buildPlan } from "../ci/self-hosted/lanes-plan.mjs";
const workflow = fs.readFileSync(
-- path.join(repoRoot, ".github", "workflows", "ci-lite.yml"),
++ path.join(repoRoot, "scripts", "ci", "self-hosted", "lanes-plan.mjs"),
"utf8",
);
++const plan = buildPlan({
++ profile: "ex63",
++ areas: Object.fromEntries(Object.keys(AREA_ENV).map((key) => [key, true])),
++ env: { CI_SCRATCH_DIR: "/scratch" },
++});
++const commands = plan.lanes.flatMap((lane) => lane.checks.map((check) => check.run)).join("\n");
const rustCoverage = fs.readFileSync(
path.join(repoRoot, "scripts", "ci", "rust-coverage.sh"),
"utf8",
);
--test("CI Lite runs the complete frontend suite for frontend changes", () => {
-- assert.match(workflow, /pnpm --filter openhuman-app test:coverage/);
-- assert.doesNotMatch(workflow, /vitest related|CHANGED_FILES|frontend-src/);
++test("CI lanes run the complete frontend suite", () => {
++ assert.match(commands, /pnpm --filter openhuman-app test:coverage/);
++ assert.doesNotMatch(commands, /vitest related|CHANGED_FILES|frontend-src/);
++ assert.match(workflow, /test:coverage/);
});
--test("CI Lite runs the complete Rust suite for Rust-core changes", () => {
-- assert.match(workflow, /bash scripts\/ci\/rust-coverage\.sh/);
-- assert.doesNotMatch(workflow, /rust-core-src|rust-core-full/);
++test("CI lanes run the complete Rust suite", () => {
++ assert.match(commands, /bash scripts\/ci\/rust-coverage\.sh/);
++ assert.doesNotMatch(commands, /rust-core-src|rust-core-full/);
assert.doesNotMatch(rustCoverage, /CHANGED_FILES|MAX_CHANGED_FILES/);
for (const crate of [
diff --cc scripts/__tests__/module-pins.test.mjs
index 6c79988d15,af4d1358c4..3284d9bc85
--- a/scripts/__tests__/module-pins.test.mjs
+++ b/scripts/__tests__/module-pins.test.mjs
@@@ -355,8 -415,8 +415,7 @@@ test("an unparseable registry fails th
"crates/openhuman-core/src/modules/memory.rs":
'pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "9.9.9";\n',
".github/workflows/ci-full.yml": MINIMAL_WORKFLOW,
- ".github/workflows/ci-lite.yml": MINIMAL_WORKFLOW,
".github/workflows/e2e-reusable.yml": MINIMAL_WORKFLOW,
- ".github/workflows/e2e-reusable.yml": MINIMAL_WORKFLOW,
});
try {
const r = run(PINS_CLI, [root]);
@@@ -411,8 -471,8 +470,7 @@@ test("records with no checked-out submo
"crates/openhuman-core/src/modules/memory.rs":
'pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "1.12.0";\n',
".github/workflows/ci-full.yml": MINIMAL_WORKFLOW,
- ".github/workflows/ci-lite.yml": MINIMAL_WORKFLOW,
".github/workflows/e2e-reusable.yml": MINIMAL_WORKFLOW,
- ".github/workflows/e2e-reusable.yml": MINIMAL_WORKFLOW,
});
try {
const r = run(PINS_CLI, [root]);
diff --cc scripts/__tests__/self-hosted-lanes.test.mjs
index d9f52506af,d9f52506af..6a5afc2115
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@@ -36,8 -36,8 +36,8 @@@ const repoRoot = path.join
"..",
"..",
);
--const ciLite = fs.readFileSync(
-- path.join(repoRoot, ".github", "workflows", "ci-lite.yml"),
++const ciLanes = fs.readFileSync(
++ path.join(repoRoot, ".github", "workflows", "ci-lanes.yml"),
"utf8",
);
@@@ -97,7 -97,7 +97,7 @@@ test("ex63 runs the core's unit tests u
);
});
--test("doctests, tui coverage and module-gated tests are left to pushes to main", () => {
++test("doctests, tui coverage and module-gated tests are outside the PR lane", () => {
for (const plan of plans()) {
const cov = plan.lanes
.find((l) => l.name === "rust-cov")
@@@ -110,20 -110,20 +110,7 @@@
assert.doesNotMatch(runs, /-p openhuman --no-default-features$/m);
assert.doesNotMatch(runs, /tool_output_tabulates_a_large_graph/);
}
-- // ...where CI Lite still runs them.
-- const lite = fs.readFileSync(
-- path.join(repoRoot, ".github/workflows/ci-lite.yml"),
-- "utf8",
-- );
-- assert.match(lite, /on:\s*\n\s*push:\s*\n\s*branches: \[main\]/);
-- assert.match(lite, /run: bash scripts\/ci\/run-module-gated-tests\.sh/);
-- assert.match(lite, /run: bash scripts\/ci\/rust-coverage\.sh/);
-- for (const cmd of [
-- "cargo test -p openhuman-embed",
-- "cargo test -p openhuman-tinyhumans",
-- "cargo check --manifest-path Cargo.toml -p openhuman --no-default-features",
-- ])
-- assert.ok(lite.includes(cmd), `CI Lite no longer runs: ${cmd}`);
++ assert.match(ciLanes, /scripts\/ci\/self-hosted\/lanes\.mjs/);
});
test("the complete suites run, not subsets", () => {
@@@ -136,9 -136,9 +123,7 @@@
);
});
--test("every ci-lite check the lanes claim to carry is still a ci-lite check", () => {
-- // Commands shared verbatim with ci-lite.yml. If ci-lite changes one of these
-- // the lane plan must move with it (and vice versa).
++test("the lane plan retains the shared CI checks", () => {
const shared = [
"cargo fmt --all -- --check",
"node scripts/ci/check-openhuman-rust-layout.mjs",
@@@ -170,7 -170,7 +155,6 @@@
const runs = allRuns(plans()[0]).join("\n");
for (const cmd of shared) {
assert.ok(runs.includes(cmd), `lane plan lost: ${cmd}`);
-- assert.ok(ciLite.includes(cmd), `ci-lite.yml no longer runs: ${cmd}`);
}
});
diff --cc scripts/ci/agent-runtime-boundary-baseline.json
index 93a6aefd15,a724910a04..024ce6406e
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@@ -479,7 -479,7 +479,7 @@@
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/subagent_host/ops/runner.rs",
"line": 633,
-- "text": "let run_result = with_spawn_depth(attempted_depth, async {",
++ "text": "let run_result = Box::pin(with_spawn_depth(attempted_depth, async {",
"occurrence": 1
},
{
@@@ -765,9 -765,9 +765,9 @@@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/inference/provider/openhuman_backend_model.rs",
- "line": 536,
- "line": 627,
- "text": "with_thread_id(apply_reasoning_hint(request), self.thread_id.as_deref()),",
- "occurrence": 2
++ "line": 466,
+ "text": "fn with_thread_id(request: ModelRequest, thread_id: Option<&str>) -> ModelRequest {",
+ "occurrence": 1
},
{
"rule": "openhuman-task-local",