Skip to content

fix(seer-explorer): Prevent optimistic state clearing on rethink with ame message#111721

Merged
Mihir-Mavalankar merged 1 commit intomasterfrom
mihir-mavalankar/fix/seer-explorer-rethink-same-message
Mar 27, 2026
Merged

fix(seer-explorer): Prevent optimistic state clearing on rethink with ame message#111721
Mihir-Mavalankar merged 1 commit intomasterfrom
mihir-mavalankar/fix/seer-explorer-rethink-same-message

Conversation

@Mihir-Mavalankar
Copy link
Copy Markdown
Contributor

  • When a user rethinks and re-sends the same message, the clearing effect was matching stale pre-truncation server blocks, causing deleted blocks to briefly reappear and the thinking indicator to vanish. Store the session updated_at as a baseline when setting optimistic state and skip the clearing effect until the server has actually processed the request.
  • Was introduced when fixing another bug in this PR: fix(seer-explorer): Keep optimistic thinking block until assistant responds #111685

… same message

When a user rethinks and re-sends the same message, the clearing effect
was matching stale pre-truncation server blocks, causing deleted blocks
to briefly reappear and the thinking indicator to vanish. Store the
session updated_at as a baseline when setting optimistic state and skip
the clearing effect until the server has actually processed the request.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@Mihir-Mavalankar Mihir-Mavalankar self-assigned this Mar 27, 2026
@Mihir-Mavalankar Mihir-Mavalankar requested a review from a team as a code owner March 27, 2026 17:03
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 27, 2026
@Mihir-Mavalankar Mihir-Mavalankar merged commit c57e28e into master Mar 27, 2026
71 checks passed
@Mihir-Mavalankar Mihir-Mavalankar deleted the mihir-mavalankar/fix/seer-explorer-rethink-same-message branch March 27, 2026 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants