Skip to content

feat: implement telegram eviction and retention logic#8

Merged
martinhoefling merged 1 commit intomainfrom
feat-time-based-eviction
May 3, 2026
Merged

feat: implement telegram eviction and retention logic#8
martinhoefling merged 1 commit intomainfrom
feat-time-based-eviction

Conversation

@martinhoefling
Copy link
Copy Markdown
Collaborator

  • Add evict_older_than and evict_expired to TelegramStore and all backends.
  • Support dry_run for eviction to count telegrams before deletion.
  • Add retention_days configuration to SQL-based backends.
  • Increase test coverage to 97% with new cases for filtering and eviction.
  • Fix mypy type mismatch in BaseSQLStore.
  • Apply ruff formatting across the codebase.

- Add `evict_older_than` and `evict_expired` to `TelegramStore` and all backends.
- Support `dry_run` for eviction to count telegrams before deletion.
- Add `retention_days` configuration to SQL-based backends.
- Increase test coverage to 97% with new cases for filtering and eviction.
- Fix mypy type mismatch in `BaseSQLStore`.
- Apply ruff formatting across the codebase.
@martinhoefling martinhoefling merged commit 2e48a6f into main May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant