Skip to content

fix(chat): render replaced content during gradual stage playback - #1077

Merged
blove merged 1 commit into
mainfrom
blove/stage-production-verification
Sep 9, 2026
Merged

fix(chat): render replaced content during gradual stage playback#1077
blove merged 1 commit into
mainfrom
blove/stage-production-verification

Conversation

@blove

@blove blove commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Gradual homepage playback showed raw A2UI JSON in the final beat: the render tool replaces an introductory assistant message with a longer payload under the same ID, while the content classifier only reset for shorter replacements. Detect non-append replacements so the message is classified and parsed again.

Adds regressions for longer A2UI and equal-length JSON replacements, plus a homepage browser test that advances through the render beat in small steps and edits the resulting form.

Validation: both new unit regressions failed before the fix; 51 classifier tests, 59 chat component tests, and all 10 homepage browser tests pass afterward. Website production build passes. Reproduced the original failure with Chrome DevTools MCP on production; production re-verification follows deployment.

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadplane Ready Ready Preview Sep 9, 2026 1:16am UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove enabled auto-merge (squash) September 9, 2026 01:13
@blove
blove merged commit 0af6967 into main Sep 9, 2026
78 checks passed
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