From 372fcac95768fee498bea20ce8850739a9df3d77 Mon Sep 17 00:00:00 2001 From: Ghost Scripter Date: Sat, 14 Nov 2026 01:30:37 +0530 Subject: [PATCH] chore(config): declare the migrate test module at the bottom of the file AGENTS.md requires sibling test modules to be declared at the end of their module; migrate.rs declared it before four production migration helpers. Raised by Codex on #8694 after it merged. Pure move. Co-Authored-By: Claude Opus 5.5 --- crates/openhuman-core/src/config/schema/load/migrate.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/openhuman-core/src/config/schema/load/migrate.rs b/crates/openhuman-core/src/config/schema/load/migrate.rs index f9ac16f68d6..fd961fb1f25 100644 --- a/crates/openhuman-core/src/config/schema/load/migrate.rs +++ b/crates/openhuman-core/src/config/schema/load/migrate.rs @@ -245,10 +245,6 @@ pub(crate) fn migrate_cloud_provider_slugs(config: &mut Config) { } } -#[cfg(test)] -#[path = "migrate_tests.rs"] -mod tests; - /// Convert the single-engine `[search]` format into providers, routes and /// roles. In-memory and idempotent like the other load migrations: the legacy /// fields are never serialized, so the next save writes the new format. @@ -450,3 +446,7 @@ pub(crate) fn migrate_components(config: &mut Config, raw: &str) { ); } } + +#[cfg(test)] +#[path = "migrate_tests.rs"] +mod tests;