Skip to content

Reject large AI message contents#8935

Open
begelundmuller wants to merge 4 commits intomainfrom
begelundmuller/truncate-ai-messages-in-backup
Open

Reject large AI message contents#8935
begelundmuller wants to merge 4 commits intomainfrom
begelundmuller/truncate-ai-messages-in-backup

Conversation

@begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Feb 26, 2026

  • Error on new messages that exceed 10 KB right when they are added
  • Truncate existing messages in the runtime metastore backups to prevent crashes

Closes 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
@begelundmuller begelundmuller changed the title Truncate large AI message contents in metastore backups Truncate large AI message contents Feb 26, 2026
@begelundmuller begelundmuller changed the title Truncate large AI message contents Reject large AI message contents 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