Skip to content

Fix browser preview startup readiness - #2219

Merged
chubes4 merged 1 commit into
mainfrom
fix/2215-browser-preview-startup-readiness
Aug 4, 2026
Merged

Fix browser preview startup readiness#2219
chubes4 merged 1 commit into
mainfrom
fix/2215-browser-preview-startup-readiness

Conversation

@chubes4

@chubes4 chubes4 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • bound browser preview startup with an owned 30-second default deadline
  • dispose iframe, callbacks, scope ownership, and late clients after timeout or replacement
  • expose structured timeout and cleanup evidence with documented overrides

Verification

  • npm run test:browser-sdk-facade
  • node ./node_modules/typescript/bin/tsc -b packages/runtime-core packages/runtime-playground packages/cli --pretty false
  • git diff --check

Closes #2215.

AI assistance

OpenAI GPT-5.6 Sol via OpenCode implemented, tested, and reviewed the lifecycle repair. Chris Huber reviewed and is responsible for the change.

Add Codebox-owned startup deadlines, deterministic cleanup, replacement cancellation, and late-result suppression for browser previews.

AI assistance: OpenAI GPT-5.6 Sol via OpenCode implemented and tested the lifecycle repair under Chris Huber's review.
@chubes4
chubes4 merged commit 115b447 into main Aug 4, 2026
4 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.

Own browser preview startup timeout and readiness failure

1 participant