Fix backend chat recovery version domain - #3070
Closed
AbigailDeng wants to merge 2 commits into
Closed
Conversation
8 tasks
AbigailDeng
force-pushed
the
fix/2026-07-30_chat-history-recovery-backend-version-domain
branch
from
July 30, 2026 09:34
e78289b to
82cecbe
Compare
4 tasks
|
Closing per scope decision: the user-facing |
1 similar comment
Contributor
Author
|
Closing per scope decision: the user-facing |
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.
Problem
Create recovery reads
stateVersionfrom theChatTurnHistoryDeliveryGAgentrecovery resource. The Workflow Application copied that delivery-resource version intoWorkflowChatContext.StateVersion, whose SSE contract represents aChatConversationGAgentwatermark. Distinct actor version domains could therefore be conflated.Backend solution
WorkflowChatContext; recovered creates use the context default0until Conversation detail exposes its authoritative watermark.4and expected Conversation context version0.Scope
This PR contains only backend implementation, backend tests, and canonical contract documentation. It has no frontend files. The independently effective frontend hardening is tracked in #3067.
Validation
/Users/abigaildeng/.dotnet/dotnet test test/Aevatar.Workflow.Application.Tests/Aevatar.Workflow.Application.Tests.csproj --nologo --no-restore(457 passed)bash tools/ci/test_stability_guards.shbash tools/ci/projection_state_version_guard.shbash tools/docs/lint.sh(83 files, 0 errors)