Skip to content

test(ai-autopilot): headed demo mode for the WebContainer harness#228

Merged
suleimansh merged 1 commit into
mainfrom
suleimansh/test/webcontainer-harness-headed
Jul 4, 2026
Merged

test(ai-autopilot): headed demo mode for the WebContainer harness#228
suleimansh merged 1 commit into
mainfrom
suleimansh/test/webcontainer-harness-headed

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Follow-up to #223 (the WebContainer runner harness).

HEADED=1 node harness/webcontainer/drive.mjs opens a real Chrome window, runs the same checks, and renders the live app served by the WebContainer (frames the preview URL on the booting page, which owns the service worker), then stays open until Ctrl-C. Nice for demoing the runner actually booting + serving in-browser.

  • Default headless run is unchanged and still exits 0/1 for CI — re-verified 15/15.
  • Harness-only (not in the published files), so no changeset.

Part of #109.

HEADED=1 opens a real Chrome window, runs the checks, and renders the live app
served by the WebContainer (loads the preview URL in an iframe on the booting
page, which owns the service worker), then stays open until Ctrl-C. The default
headless verification path is unchanged (still 15/15). Harness-only, not published.
@suleimansh suleimansh added the enhancement New feature or request label Jul 4, 2026
@suleimansh suleimansh self-assigned this Jul 4, 2026
@suleimansh suleimansh merged commit 7a51fe5 into main Jul 4, 2026
2 checks passed
@suleimansh suleimansh deleted the suleimansh/test/webcontainer-harness-headed branch July 4, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant