Skip to content

fix(app): use the latest streamed preview when the sandbox becomes ready - #135

Open
rudycelekli wants to merge 1 commit into
CopilotKit:mainfrom
rudycelekli:fix/renderer-preview-ready
Open

rudycelekli wants to merge 1 commit into
CopilotKit:mainfrom
rudycelekli:fix/renderer-preview-ready

Conversation

@rudycelekli

Copy link
Copy Markdown

HTML/CSS arriving while the preview sandbox initializes is ignored; readiness replays a stale closure.

Use the latest streamed preview when the sandbox becomes ready. Adds a regression that fails against upstream 9c982df and passes with this correction.

Validation: focused regression, full app Vitest suite, TypeScript and ESLint for touched files pass. Tests control sandbox/clipboard boundaries; no live model or deployed generation claim.

This is a concrete bug fix allowed by CONTRIBUTING's bug-fix section; it introduces no new feature. AI-assisted implementation independently reviewed before submission.

Combined integration checks pass: 249 Node tests, 157 Python tests, TypeScript, frontend lint (0 errors, 2 warnings), and the production workspace build. These combined results belong to the private integration branch; each PR also has its own focused regression and relevant suite results above. Live provider behavior is untested.

Independent AI review passed on this exact head. Nine isolated production-browser checks passed for the combined chat shell/key dialog and QR request flow; no page errors. No live provider calls were made.

This branch has not been deployed

No deployments
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