Skip to content

test(memory): add unit tests for SqliteStore tier DB methods #2094

@bug-ops

Description

@bug-ops

Following #1839, the SqliteStore tier methods have no unit tests:\n- promote_to_semantic\n- find_promotion_candidates\n- mark_promoted\n- count_messages_by_tier\n- fetch_tiers\n\nAdd inline #[cfg(test)] tests covering happy path and edge cases (empty result, already-promoted rows).

Metadata

Metadata

Assignees

No one assigned

    Labels

    memoryzeph-memory crate (SQLite)testingTests and quality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions