test: rename legacy test.rs and *_test.rs files to *_tests.rs - #187
Conversation
Each module keeps its name; its declaration gains a #[path] to the renamed file. Only names change, no test code does. Drops the legacy-files note from the guidance. Co-authored-by: Medulla <medulla@tinyhumans.ai>
…o legacy-test-renames
|
Warning Review limit reached
This review includes 112 billable files and costs up to $28.00. Or wait 36 minutes for your next included review. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (112)
Comment |
Tiny Sweeper reviewTiny Sweeper reviewed this change across 6 lane(s) and found 0 active actionable finding(s). Detailed lane evidence and any incomplete work are listed below. State: Incomplete Review snapshot
Completeness: Incomplete What changedThe review could not produce a supported behavioral summary; inspect the cited changed surface and lane details below. FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred.
FindingsNo active actionable findings. Pending checks: AgentMemory E2E Could not review: crates/tinymemory-api/src/mandatory/mod.rs, crates/tinymemory-conformance/src/parity/mod.rs, crates/tinymemory-core/src/corruption/mod.rs, crates/tinymemory-core/src/store/mod.rs, crates/tinymemory-documents/src/convert/mod.rs, crates/tinymemory-documents/src/fetch/mod.rs, crates/tinymemory-documents/src/format/mod.rs, crates/tinymemory-documents/src/html/entity.rs, crates/tinymemory-documents/src/html/mod.rs, crates/tinymemory-documents/src/ingest/mod.rs, crates/tinymemory-module/src/chat.rs, crates/tinymemory-module/src/config.rs, crates/tinymemory-module/src/config_loader.rs, crates/tinymemory-module/src/embedding.rs, crates/tinymemory-module/src/host.rs, crates/tinymemory-module/src/provider.rs, crates/tinymemory-module/src/seam_lock.rs, crates/tinymemory-module/src/service/mod.rs, crates/tinymemory-remote/src/agentmemory.rs, crates/tinymemory-remote/src/cognee.rs, crates/tinymemory-remote/src/cortex.rs, crates/tinymemory-remote/src/cortex_labels.rs, crates/tinymemory-remote/src/cortex_provider/families/documents.rs, crates/tinymemory-remote/src/cortex_provider/families/episodic.rs, crates/tinymemory-remote/src/cortex_provider/families/episodic_portability.rs, crates/tinymemory-remote/src/cortex_provider/families/goals.rs, crates/tinymemory-remote/src/cortex_provider/families/ingest.rs, crates/tinymemory-remote/src/cortex_provider/families/maintenance.rs, crates/tinymemory-remote/src/cortex_provider/families/mod.rs, crates/tinymemory-remote/src/cortex_provider/families/profile.rs, crates/tinymemory-remote/src/cortex_provider/families/records.rs, crates/tinymemory-remote/src/cortex_provider/families/relevance.rs, crates/tinymemory-remote/src/cortex_provider/families/retrieval.rs, crates/tinymemory-remote/src/cortex_provider/families/scopes.rs, crates/tinymemory-remote/src/cortex_provider/families/scoring.rs, crates/tinymemory-remote/src/cortex_provider/families/sources.rs, crates/tinymemory-remote/src/cortex_provider/families/tool_rules.rs, crates/tinymemory-remote/src/cortex_provider/families/tree.rs, crates/tinymemory-remote/src/cortex_provider/families/understanding.rs, crates/tinymemory-remote/src/cortex_provider/mod.rs, crates/tinymemory-remote/src/lib.rs, crates/tinymemory-remote/src/livingbrain/mod.rs, crates/tinymemory-remote/src/mem0.rs, crates/tinymemory-remote/src/supermemory.rs, crates/tinymemory-sources/src/readers/github/api.rs, crates/tinymemory-testing-ui/src/main.rs, crates/tinymemory-tinycortex/src/engine/episodic_portability.rs, crates/tinymemory-tinycortex/src/engine/mod.rs, crates/tinymemory-tinycortex/src/lib.rs, crates/tinymemory-tinycortex/src/memory.rs, crates/tinymemory/src/factory/mod.rs, crates/tinymemory/src/migrate/mod.rs, tinysweeper/description, tinysweeper/e2e, tinysweeper/tests Before merge
Agent review detailscritique
security
tests
commits
description
e2e
Evidence and run details
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinymemory-api/src/mandatory/mod.rs, crates/tinymemory-conformance/src/parity/mod.rs, crates/tinymemory-core/src/corruption/mod.rs, crates/tinymemory-core/src/store/mod.rs, crates/tinymemory-documents/src/convert/mod.rs, crates/tinymemory-documents/src/fetch/mod.rs, crates/tinymemory-documents/src/format/mod.rs, crates/tinymemory-documents/src/html/entity.rs and 47 more.
$0.0000 · 0 in / 0 out · 962 embedded · ladder/vectors
Summary
Renames 57 legacy test files (
test.rsand<name>_test.rs) to<module>_tests.rs(test.rsbecomes<declaring file>_tests.rs,mod_tests.rsbeside amod.rs). Each module keeps its identifier, so references to it keep resolving; its declaration gains a#[path]to the renamed file. Only file names and those attributes change, no test code. Removes the now-stale "legacy files" note from the guidance. Done with OpenHuman'sscripts/externalize-inline-tests.mjs --rename-legacy.Related issue
None.
API or behavior changes
None. Test-only files renamed; no public API or runtime behavior changes.
Validation
Commands actually run, with their outcome:
cargo fmt --all -- --check(clean)cargo clippy --all-targets --all-features -- -D warnings(left to CI)cargo check --workspace --tests(passes;cargo build/cargo testleft to CI)cargo test --all-features(left to CI)Tests
No tests added or changed; 57 files renamed. Test bodies are untouched (git detects them as renames).
Documentation
CLAUDE.md/AGENTS.mdupdated.Checklist
#[allow(...)],#[ignore], or relaxed lints.envcontents in the diff or the description