feat: Posted-Anniversary Dedup Store

This commit is contained in:
OpenVelo Agent
2026-08-04 18:35:23 +00:00
parent dd4536a48a
commit 2adedaae2f
5 changed files with 357 additions and 44 deletions
+2 -3
View File
@@ -30,10 +30,9 @@ def _run_lines(buf: io.StringIO) -> list[dict]:
def _seed_state(data_dir: Path, ids: list[str]) -> None:
from tenbackward.state import save_posted
from tenbackward.state import mark_posted_many
state = {pid: {"posted_at": "2024-01-01T00:00:00+00:00"} for pid in ids}
save_posted(data_dir, state)
mark_posted_many(list(ids), data_dir)
def test_run_emits_one_info_summary_on_success(env_setup, data_dir, capture_logger, monkeypatch) -> None: