Skip to content

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

test(memory): register the migration RPCs and its gated test

M3gA-Mindf5e287c04d98
diff --git a/scripts/ci/check-gated-test-allowlist.sh b/scripts/ci/check-gated-test-allowlist.sh
index 893023d1c6..591e80a52b 100755
--- a/scripts/ci/check-gated-test-allowlist.sh
+++ b/scripts/ci/check-gated-test-allowlist.sh
@@ -34,6 +34,7 @@ core/invoke_tests.rs
core/legacy_aliases_tests.rs
core/runtime/services.rs
core/runtime/subscribers.rs
+memory/layout_migration/map_tests.rs
mcp/server/resources.rs
mcp/server/mod.rs
mcp/server/tools/mod.rs
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 59f275fccf..ee9db6883b 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -380,6 +380,7 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
"cargo test --manifest-path Cargo.toml -p openhuman --no-default-features --lib --" +
" core::all:: core::cli:: core::invoke:: core::session_expiry:: core::legacy_aliases:: core::runtime::" +
" agent::registry::agents::loader:: commands::ops::tests:: memory::people::contacts_gate_tests::" +
+ " memory::layout_migration::" +
" openhuman::config:: openhuman::platform::socket::event_handlers:: tools::schemas:: tools::ops::tests::",
},
{
diff --git a/tests/in_process/config_auth_app_state_connectivity_e2e.rs b/tests/in_process/config_auth_app_state_connectivity_e2e.rs
index 634731b42f..9a4e8c3c32 100644
--- a/tests/in_process/config_auth_app_state_connectivity_e2e.rs
+++ b/tests/in_process/config_auth_app_state_connectivity_e2e.rs
@@ -1892,6 +1892,10 @@ async fn worker_a_controller_schemas_are_fully_exposed() {
"openhuman.memory_jobs_list",
"openhuman.memory_jobs_run",
"openhuman.memory_learn",
+ "openhuman.memory_migration_retry",
+ "openhuman.memory_migration_scan",
+ "openhuman.memory_migration_start",
+ "openhuman.memory_migration_status",
"openhuman.memory_pack_preview",
"openhuman.memory_policy_get",
"openhuman.memory_policy_set",
diff --git a/tests/memory_v2_e2e.rs b/tests/memory_v2_e2e.rs
index a80e32dd53..037e715eb6 100644
--- a/tests/memory_v2_e2e.rs
+++ b/tests/memory_v2_e2e.rs
@@ -1937,6 +1937,10 @@ async fn memory_v2_registers_exactly_the_documented_methods() {
"import_start",
"import_status",
"import_retry_failed",
+ "migration_scan",
+ "migration_start",
+ "migration_status",
+ "migration_retry",
]
.iter()
.map(|m| format!("openhuman.memory_{m}"))