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(ci): drop stale module pin exemptions and split route compat tests
Steven Enamakela4b3937c3c65
diff --git a/app/scripts/e2e-run-all-flows.sh b/app/scripts/e2e-run-all-flows.shindex 7958c9734b..b1ace367ea 100755--- a/app/scripts/e2e-run-all-flows.sh+++ b/app/scripts/e2e-run-all-flows.sh@@ -357,10 +357,6 @@ if should_run_suite "settings"; thenecho "## Running suite: settings"run "test/e2e/specs/settings-data-management.spec.ts" "settings-data" "settings"run "test/e2e/specs/memory-plan-required.spec.ts" "memory-plan-required" "settings"- run "test/e2e/specs/settings-ai-skills.spec.ts" "settings-ai-skills" "settings"- run "test/e2e/specs/settings-account-preferences.spec.ts" "settings-account" "settings"- run "test/e2e/specs/settings-advanced-config.spec.ts" "settings-advanced" "settings"- run "test/e2e/specs/settings-feature-preferences.spec.ts" "settings-features" "settings"run "test/e2e/specs/settings-search.spec.ts" "settings-search" "settings"_mini_summary "settings"fidiff --git a/crates/openhuman-core/src/channels/routes_compat_tests.rs b/crates/openhuman-core/src/channels/routes_compat_tests.rsnew file mode 100644index 0000000000..b8846ac03d--- /dev/null+++ b/crates/openhuman-core/src/channels/routes_compat_tests.rs@@ -0,0 +1,33 @@+use super::*;++#[test]+#[allow(+ deprecated,+ reason = "The route contract still requires the v21 ChannelMessage projection"+)]+fn route_compat_message_preserves_legacy_addressing_and_sender_metadata() {+ let mut message = inbound(+ "message-1".to_string(),+ "sender-1".to_string(),+ "conversation-1".to_string(),+ "/status".to_string(),+ "telegram".to_string(),+ Some("thread-1".into()),+ );+ message.timestamp_unix_ms = Some(123);+ message.reply_to_id = Some("reply-1".into());+ message.conversation.topic_id = Some("topic-1".into());+ message.sender.name = Some("Alice".into());++ let legacy = super::super::route_compat_message(&message);+ assert_eq!(legacy.id, "message-1");+ assert_eq!(legacy.sender, "sender-1");+ assert_eq!(legacy.reply_target, "conversation-1");+ assert_eq!(legacy.content, "/status");+ assert_eq!(legacy.channel, "telegram");+ assert_eq!(legacy.timestamp, 123);+ assert_eq!(legacy.thread_ts.as_deref(), Some("thread-1"));+ assert_eq!(legacy.reply_to_id.as_deref(), Some("reply-1"));+ assert_eq!(legacy.topic_id.as_deref(), Some("topic-1"));+ assert_eq!(legacy.sender_name.as_deref(), Some("Alice"));+}diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rsindex 74009d9586..ba3f5868b8 100644--- a/crates/openhuman-core/src/channels/routes_tests.rs+++ b/crates/openhuman-core/src/channels/routes_tests.rs@@ -46,37 +46,8 @@ fn inbound(}}-#[test]-#[allow(- deprecated,- reason = "The route contract still requires the v21 ChannelMessage projection"-)]-fn route_compat_message_preserves_legacy_addressing_and_sender_metadata() {- let mut message = inbound(- "message-1".to_string(),- "sender-1".to_string(),- "conversation-1".to_string(),- "/status".to_string(),- "telegram".to_string(),- Some("thread-1".into()),- );- message.timestamp_unix_ms = Some(123);- message.reply_to_id = Some("reply-1".into());- message.conversation.topic_id = Some("topic-1".into());- message.sender.name = Some("Alice".into());-- let legacy = super::route_compat_message(&message);- assert_eq!(legacy.id, "message-1");- assert_eq!(legacy.sender, "sender-1");- assert_eq!(legacy.reply_target, "conversation-1");- assert_eq!(legacy.content, "/status");- assert_eq!(legacy.channel, "telegram");- assert_eq!(legacy.timestamp, 123);- assert_eq!(legacy.thread_ts.as_deref(), Some("thread-1"));- assert_eq!(legacy.reply_to_id.as_deref(), Some("reply-1"));- assert_eq!(legacy.topic_id.as_deref(), Some("topic-1"));- assert_eq!(legacy.sender_name.as_deref(), Some("Alice"));-}+#[path = "routes_compat_tests.rs"]+mod compat;struct DummyTool;diff --git a/scripts/__tests__/check-storage-owner.test.mjs b/scripts/__tests__/check-storage-owner.test.mjsindex 44e5d8c951..10ca02ac7a 100644--- a/scripts/__tests__/check-storage-owner.test.mjs+++ b/scripts/__tests__/check-storage-owner.test.mjs@@ -19,7 +19,7 @@ const pkg = (name, deps = [], source = null, manifest_path) => ({: `/repo/vendor/${name}/Cargo.toml`),dependencies: deps.map(d => ({ name: d, kind: null, optional: false })),});-const checkMetadata = (m, root = '/repo') => checkMetadataAt(m, ALLOWLIST, root);+const checkMetadata = (m, root = '/repo') => checkMetadataAt(m, root);const registry = 'registry+https://github.com/rust-lang/crates.io-index';test('a clean workspace passes', () => {diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjsindex fe973c6eb7..f848149291 100644--- a/scripts/__tests__/module-pins.test.mjs+++ b/scripts/__tests__/module-pins.test.mjs@@ -695,62 +695,6 @@ test("the existing exact-drift exemption is proof-checked and keeps ahead visibl}});-test("TinyJuice's canonical owner merge matches its recorded release-tree attestation", () => {- const exemption = JSON.parse(- readFileSync(- join(REPO_ROOT, "scripts/ci/module-pin-exemptions.json"),- "utf8",- ),- ).exemptions.find((entry) => entry.id === "tinyjuice");- const assets = [...parseRecords(readRegistry()).values()].find(- (record) => record.id === "tinyjuice",- ).assets;- const candidateCommit = exemption.sourceParity.candidateCommit;- const result = validateTestOnlySourceParity({- repoPath: join(REPO_ROOT, "vendor/tinyjuice"),- version: "0.10.8",- assets,- actualHead: candidateCommit,- proof: exemption.sourceParity,- runGit: (args) =>- args[0] === "rev-parse" && args[1] === "HEAD"- ? candidateCommit- : execFileSync("git", args, {- cwd: join(REPO_ROOT, "vendor/tinyjuice"),- encoding: "utf8",- }).trim(),- });- assert.equal(result.ok, true, result.message);-});--test("TinyChannels' merged owner commit matches its exact test-set attestation", () => {- const exemption = JSON.parse(- readFileSync(- join(REPO_ROOT, "scripts/ci/module-pin-exemptions.json"),- "utf8",- ),- ).exemptions.find((entry) => entry.id === "tinychannels");- const assets = [...parseRecords(readRegistry()).values()].find(- (record) => record.id === "tinychannels",- ).assets;- const candidateCommit = exemption.sourceParity.candidateCommit;- const result = validateTestOnlySourceParity({- repoPath: join(REPO_ROOT, "vendor/tinychannels"),- version: "0.1.38",- assets,- actualHead: candidateCommit,- proof: exemption.sourceParity,- runGit: (args) =>- args[0] === "rev-parse" && args[1] === "HEAD"- ? candidateCommit- : execFileSync("git", args, {- cwd: join(REPO_ROOT, "vendor/tinychannels"),- encoding: "utf8",- }).trim(),- });- assert.equal(result.ok, true, result.message);-});-test("source parity proof rejects production, manifest, build, lock, and unknown changes", () => {for (const changedFile of ["src/lib.rs",diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjsindex 846ba9838f..fadfc93a92 100644--- a/scripts/ci/check-openhuman-rust-layout.mjs+++ b/scripts/ci/check-openhuman-rust-layout.mjs@@ -36,7 +36,7 @@ const LEGACY_LIMIT_ENTRIES = [// their current sizes while follow-up work separates their test concerns.// `core/` was pruned from the line limit by name until these pins; its// oversized files are pinned at the size they had when enforcement began.- ["crates/openhuman-core/src/core/all.rs", 1113],+ ["crates/openhuman-core/src/core/all.rs", 1080],["crates/openhuman-core/src/core/all_tests.rs", 1465],["crates/openhuman-core/src/core/events.rs", 1649],["crates/openhuman-core/src/core/events_tests.rs", 988],diff --git a/scripts/ci/module-boundaries.json b/scripts/ci/module-boundaries.jsonindex ffa99d151d..c1dbbcdc49 100644--- a/scripts/ci/module-boundaries.json+++ b/scripts/ci/module-boundaries.json@@ -164,11 +164,6 @@"package": "chrono","reason": "tinyflows-bus schedule contract v3 carries the job, run and schedule records (CronJob, CronRun, Schedule, DeliveryConfig, ...) with their DateTime<Utc> fields so hosts redeclare none of them. chrono is time arithmetic and RFC3339 serde only, with no I/O or runtime; the schedule maths themselves (cron expressions, time zones) run in the module. Recorded for contract-boundary review (tinyflows#143, openhuman cron cutover #7397)."},- {- "scope": "tinyjuice-bus",- "package": "tinystoragedrivers-types",- "reason": "The TinyJuice bus storage schema uses tinystoragedrivers-types for data-only schema records; this crate has no I/O or runtime behavior. The bus no longer depends on tinystoragedrivers-core."- },{"scope": "tinyconnectors-bus","package": "tinystoragedrivers-types",diff --git a/scripts/ci/module-pin-exemptions.json b/scripts/ci/module-pin-exemptions.jsonindex 70b540b716..fbe41b573b 100644--- a/scripts/ci/module-pin-exemptions.json+++ b/scripts/ci/module-pin-exemptions.json@@ -13,30 +13,5 @@"Delete an entry the moment the pins are reconciled. An exemption that has","stopped being true fails the gate too — `expect` must still match."],- "exemptions": [- {- "id": "tinyjuice",- "expect": "v0.10.8-13-g598b7d17",- "reason": "TinyJuice PR #102 is merged upstream at 598b7d171f4abc721b2045fbcd454974dd2bc9d0. Its only source change is the compress unit-test file; this exact attestation retains the v0.10.8 registry artifact and rejects any other tree or head.",- "sourceParity": {- "tag": "v0.10.8",- "releaseCommit": "7c43eedd7d7917fa41ea1bd488649fe233d00531",- "candidateCommit": "598b7d171f4abc721b2045fbcd454974dd2bc9d0",- "assetsSha256": "502797c2eccf693e5aa024afc9908b6b3cc2e94c0cacbe1ecaf498bc9c59738c",- "testFile": {- "path": "src/compress_tests.rs",- "releaseMode": "100644",- "releaseBlob": "3ea48874bb6c8af4a0573fc12cee693454ca5ce0",- "candidateMode": "100644",- "candidateBlob": "bbb10c8aa18c9c1e61a7e4f11f40159b1495e0d3"- },- "unchangedTreeSha256": "08611ddb48d72b70476230462b1853856d5af5f0af507094406faa7786feb784",- "binding": {- "modulePath": "src/compress.rs",- "moduleBlob": "6e9c47e86d26f299b0e8fb959839a598619ff82b",- "testPath": "src/compress_tests.rs"- }- }- }- ]+ "exemptions": []}diff --git a/scripts/mock-api/routes/__tests__/stateful.test.mjs b/scripts/mock-api/routes/__tests__/stateful.test.mjsindex dfcf60e95f..08e9175301 100644--- a/scripts/mock-api/routes/__tests__/stateful.test.mjs+++ b/scripts/mock-api/routes/__tests__/stateful.test.mjs@@ -67,7 +67,7 @@ test("does not reseed conversations after deleting everything until reset", asynassert.deepEqual(afterDeleteBody?.data, []);});-test("keeps server-controlled ids on create and patch routes", async () => {+test("keeps server-controlled ids on conversation create and channel patch routes", async () => {const started = await startMockServer(0);const baseUrl = `http://127.0.0.1:${started.port}`;@@ -78,26 +78,13 @@ test("keeps server-controlled ids on create and patch routes", async () => {}).then((response) => response.json());assert.notEqual(createdConversation?.data?.id, "client-conv");- const createdCron = await fetch(`${baseUrl}/settings/cron-jobs`, {- method: "POST",- headers: { "Content-Type": "application/json" },- body: JSON.stringify({ id: "client-cron", name: "Client cron" }),- }).then((response) => response.json());- const cronId = createdCron?.data?.id;- assert.notEqual(cronId, "client-cron");-- await fetch(`${baseUrl}/settings/cron-jobs/${cronId}`, {+ const patchedChannel = await fetch(`${baseUrl}/channels/channel-1`, {method: "PATCH",headers: { "Content-Type": "application/json" },- body: JSON.stringify({ id: "mutated-cron", enabled: false }),- });-- const cronList = await fetch(`${baseUrl}/settings/cron-jobs`).then(- (response) => response.json(),- );- const patchedCron = cronList.data.find((entry) => entry.id === cronId);- assert.equal(patchedCron.id, cronId);- assert.equal(patchedCron.enabled, false);+ body: JSON.stringify({ id: "client-channel", name: "Patched channel" }),+ }).then((response) => response.json());+ assert.equal(patchedChannel?.data?.id, "channel-1");+ assert.equal(patchedChannel?.data?.name, "Patched channel");});test("serves deterministic Parallel search proxy results", async () => {