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
chore: files changed scripts/__tests__/domain-e2e-coverage-gate.test.mjs,scripts/generate-test-inven
Steven Enamakel8f7aec06cb72
diff --git a/scripts/__tests__/domain-e2e-coverage-gate.test.mjs b/scripts/__tests__/domain-e2e-coverage-gate.test.mjsindex 0ce1e75e1a..107e9bc409 100644--- a/scripts/__tests__/domain-e2e-coverage-gate.test.mjs+++ b/scripts/__tests__/domain-e2e-coverage-gate.test.mjs@@ -58,7 +58,8 @@ function cargoToml(defaultFeatures, extraFeatures) {* A fixture world.** Two things every fixture needs that a bare temp dir does not have. The gate- * hard-requires `Cargo.toml` and `scripts/ci/product-features.txt`, because+ * hard-requires `crates/openhuman-core/Cargo.toml` and+ * `scripts/ci/product-features.txt`, because* that pair is what `scripts/test-rust-e2e.sh` builds its `--features` string* from and therefore the only honest answer to "which configuration is being* measured". And — unless a test is proving the stale-entry guard — it needs a@@ -80,7 +81,7 @@ function fixture(t, options = {}) {// it — an undeclared gate is a rename the table missed, not a disabled one,// and the gate refuses it.const features = declareExcludedFeatures ? { 'e2e-test-support': [], ...featureGraph } : featureGraph;- write(root, 'Cargo.toml', cargoToml(defaultFeatures, features));+ write(root, 'crates/openhuman-core/Cargo.toml', cargoToml(defaultFeatures, features));write(root, 'scripts/ci/product-features.txt', `${productFeatures.join('\n')}\n`);if (withExcludedNamespaces) {write(@@ -336,7 +337,7 @@ test('refuses to run without the files the measured feature set comes from', (t)test('refuses to run when the feature table cannot be parsed', (t) => {const root = fixture(t);write(root, 'src/openhuman/widgets/schemas_part_01.rs', controller('widgets', 'list'));- write(root, 'Cargo.toml', '[package]\nname = "openhuman"\n');+ write(root, 'crates/openhuman-core/Cargo.toml', '[package]\nname = "openhuman"\n');const result = runGate(root);@@ -381,7 +382,11 @@ test('fails when an excluded namespace names a gate the manifest does not declar// for controllers the measured build actually compiles in.test('reads a single-quoted TOML feature array', (t) => {const root = fixture(t);- write(root, 'Cargo.toml', "[features]\ndefault = ['e2e-test-support']\ne2e-test-support = []\n");+ write(+ root,+ 'crates/openhuman-core/Cargo.toml',+ "[features]\ndefault = ['e2e-test-support']\ne2e-test-support = []\n",+ );write(root, 'src/openhuman/widgets/schemas_part_01.rs', controller('widgets', 'list'));write(root, 'tests/widgets_e2e.rs', 'let m = "openhuman.widgets_list";');diff --git a/scripts/generate-test-inventory.mjs b/scripts/generate-test-inventory.mjsindex 6f06764401..258c8089ef 100644--- a/scripts/generate-test-inventory.mjs+++ b/scripts/generate-test-inventory.mjs@@ -180,7 +180,7 @@ function computeOrphans(scriptTests) {// ─────────────────────────────────────────────────────────────────────────────function discoverControllerDomains() {- const allRs = read(path.join(ROOT, 'src', 'core', 'all.rs'));+ const allRs = read(path.join(ROOT, 'crates', 'openhuman-core', 'src', 'core', 'all.rs'));const domains = new Set();// crate::openhuman::<domain>[::<sub>...]::all_<name>_(registered|internal)_controllersconst re =