Skip to content

Persist bot message cache in SQLite#4086

Open
wholton wants to merge 2 commits intomasterfrom
codex/add-message-deletion-listener
Open

Persist bot message cache in SQLite#4086
wholton wants to merge 2 commits intomasterfrom
codex/add-message-deletion-listener

Conversation

@wholton
Copy link
Collaborator

@wholton wholton commented Dec 3, 2025

Summary

  • store bot-authored message cache in SQLite via a repository-backed service
  • add a scheduled cleanup that removes cached messages older than 12 hours
  • enable scheduling and route deletion logging through the database-backed cache

Testing

  • mvn -q -DskipTests compile (fails: unable to download parent POM from Maven Central; 403 Forbidden)

Codex Task

Moved BotMessageCacheRepository, BotMessageCacheService, and BotMessageRecord to ti4.spring.service.messagecache package for better organization. Updated BotMessageCache and DeletionListener for improved code style and logic, including stricter message caching and cleaner deletion logging. Fixed typo in twilights_fall.json agenda text.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant