Skip to content

Split archive/mod.rs tests into mod_tests.rs; retire check-file-sizes override #1559

Description

@wpfleger96

Follow-up from #1555 (Wes review note 3).

desktop/scripts/check-file-sizes.mjs carries a growing per-file override for desktop/src-tauri/src/archive/mod.rs — now 1700, its second bump, with a "split queued into archive/mod_tests.rs in a follow-up" comment both times. The justifications are honest but the override comment block becomes permanent debt if the split doesn't land.

Fix: extract the #[cfg(test)] module from archive/mod.rs (and archive/store.rs if it's similarly oversized) into a sibling mod_tests.rs file via the #[path = "mod_tests.rs"] mod mod_tests; pattern already used by mesh_llm/mod.rs, then drop or reduce the check-file-sizes.mjs override back toward the 1000-line default.

Related: #1555

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions