Skip to content

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

fix(scripts): correct module path references in e2e coverage script

Steven Enamakel0199447ca774
diff --git a/scripts/check-domain-e2e-coverage.mjs b/scripts/check-domain-e2e-coverage.mjs
index 0861749704..0468c84068 100644
--- a/scripts/check-domain-e2e-coverage.mjs
+++ b/scripts/check-domain-e2e-coverage.mjs
@@ -84,7 +84,7 @@ const MODULES = [
// the report.
//
// This has to live HERE and not in Rust. The schemas are already `#[cfg]`-
-// correct — `crates/openhuman-core/src/mod.rs` gates the whole `test_support` module — but
+// correct — `crates/openhuman-core/src/lib.rs` gates the whole `test_support` module — but
// discovery reads source text off disk and would find these literals even if
// every line were `#[cfg(never)]`. There is no Rust-side edit that changes what
// a text scan sees.
@@ -104,7 +104,7 @@ const UNREACHABLE_NAMESPACES = {
test_support: {
feature: 'e2e-test-support',
reason:
- 'Same gate as `test`: crates/openhuman-core/src/mod.rs declares the whole `test_support` module behind ' +
+ 'Same gate as `test`: crates/openhuman-core/src/lib.rs declares the whole `test_support` module behind ' +
'`#[cfg(feature = "e2e-test-support")]`, so these workspace- and chat-introspection helpers exist only in ' +
'the E2E build produced by app/scripts/e2e-build.sh.',
},
@@ -373,7 +373,7 @@ function attributesBefore(text, index) {
* `#[cfg]` sits on the `mod` declaration in the PARENT, never in the file
* itself, so this walks upward: `crates/openhuman-core/src/test_support/schemas.rs` is
* reached through `mod schemas;` in `test_support/mod.rs` and then through
- * `pub mod test_support;` in `openhuman/mod.rs` — and only the second carries
+ * `pub mod test_support;` in `crates/openhuman-core/src/lib.rs` — and only the second carries
* the gate. A file pulled in by `include!` has no `mod` of its own and simply
* contributes nothing at its own level, which is why a missing declaration is
* not an error here; one gated ancestor anywhere on the chain is enough.