d09392572e
The TemporaryDirectory was closed right after adapter construction, but _persist_seen_message_ids mkdirs the store's parent back on the first write, so every run left an empty scratch dir behind in the system temp dir. Holding the context around the whole test body lets it clean up. Review finding: test_concurrent_dedup_persists_land_in_order leaks an empty tmp dir per run.