Skip to content

fix(playwright-runner): goHeadless navigates to about:blank#107

Merged
tnunamak merged 1 commit intomainfrom
fix/goheadless-about-blank
Apr 20, 2026
Merged

fix(playwright-runner): goHeadless navigates to about:blank#107
tnunamak merged 1 commit intomainfrom
fix/goheadless-about-blank

Conversation

@tnunamak
Copy link
Copy Markdown
Member

@tnunamak tnunamak commented Apr 20, 2026

Summary

goHeadless() in playwright-runner/index.cjs navigated to https://chatgpt.com/ after reopening the headless context (line 739). Every connector using goHeadless() — oura, spotify, github, etc. — incurs an unnecessary network roundtrip to chatgpt.com and leaks ChatGPT-specific state into unrelated sessions. Change to about:blank.

Same copy-paste bug exists in vana-connect's in-process-run.ts; fixed in companion PR vana-com/vana-connect#111. The two runtimes don't share code, so the fix has to land in both.

Extracted from the interaction-API redesign work (vana-com/vana-connect#102) so it can ship independently.

Test plan

  • CI green
  • Run a non-ChatGPT connector in the desktop app (e.g. oura) through the headless-switch path, verify no stray chatgpt.com request

🤖 Generated with Claude Code

goHeadless() navigated to https://chatgpt.com/ after reopening the
headless context. This forced every connector using goHeadless() into
an unnecessary network roundtrip to chatgpt.com and leaked
ChatGPT-specific state into unrelated connectors (oura, github,
spotify, etc.). Use about:blank.

Same bug as vana-com/vana-connect#<TBD>; fixed separately here because
the two runtimes don't share code.
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