[Agent Builder] Persist read and status for conversations#271415
Open
petrkrejcik wants to merge 7 commits into
Open
[Agent Builder] Persist read and status for conversations#271415petrkrejcik wants to merge 7 commits into
read and status for conversations#271415petrkrejcik wants to merge 7 commits into
Conversation
read propertyread flag in ES for the conversation
f57e7d8 to
bff36c5
Compare
read flag in ES for the conversationread and status for conversations
read and status for conversationsread and status for conversations
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
cc @petrkrejcik |
18a4fd1 to
daa5aa3
Compare
chrisbmar
approved these changes
Jun 1, 2026
Contributor
chrisbmar
left a comment
There was a problem hiding this comment.
LGTM 🚀 let's wait for @pgayvallet review before merging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://github.com/elastic/search-team/issues/14515
Summary
Backend foundation for the Chat status epic (#14513). Adds two new conversation-level fields the frontend needs to render sidebar status chat icons:
read: booleanfalseon each round write to a conversation (e.g. renaming doesn't affectread)status: ConversationRoundStatusDecisions
status(new) vsstate(existing). I considered different name likelast_round_statusbut that reveals an implementation details that might change in the future, so I decided to keep the same existing name (even though a bit confusing because of the existence ofstate)statusintostatebut asstateis not indexed, it's a no goChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*labels.Identify risks
dynamic: strictmapping update..chat-conversationsisdynamic: strict; new fields must be added to the mapping before any write succeeds. Severity: Low. Mitigation: Check with peers how this work.