Skip to content

feat(dashboard): unify sessions into a single WebSocket channel#40235

Merged
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:one_ws
Apr 15, 2026
Merged

feat(dashboard): unify sessions into a single WebSocket channel#40235
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:one_ws

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

Summary

  • Collapses per-browser dashboard WebSockets into one multiplexing channel per page load; every method/event carries a { browser, context?, page? } target.
  • Drops the polled /api/sessions/list; session state is now pushed over the same channel, including closeSession / deleteSessionData.
  • Pauses screencasts server-side when the dashboard window is hidden (document.visibilitychangesetVisible).

@github-actions

This comment has been minimized.

Comment thread packages/playwright-core/src/tools/dashboard/dashboardController.ts
Comment thread packages/playwright-core/src/tools/dashboard/dashboardApp.ts
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@pavelfeldman pavelfeldman merged commit ff3852f into microsoft:main Apr 15, 2026
36 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

6044 passed, 976 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

2 flaky ⚠️ [chromium-library] › library/video.spec.ts:719 › screencast › should work with video+trace `@chromium-ubuntu-22.04-node20`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1080 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`

39190 passed, 847 skipped


Merge workflow run.

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.

2 participants