Skip to content

Add TTL cleanup for expired AI sessions on startup#8936

Open
begelundmuller wants to merge 1 commit intomainfrom
begelundmuller/ai-session-ttl
Open

Add TTL cleanup for expired AI sessions on startup#8936
begelundmuller wants to merge 1 commit intomainfrom
begelundmuller/ai-session-ttl

Conversation

@begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Feb 26, 2026

On runtime start, deletes AI sessions (and their messages) whose newest message is older than 90 days.

Contributes to https://linear.app/rilldata/issue/PLAT-412/handle-issues-with-large-ai-message-contents

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@begelundmuller begelundmuller self-assigned this Feb 26, 2026
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