Skip to content

fix(tracing): copy WebSocket message files before zipping#41382

Merged
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:fix-41200
Jun 19, 2026
Merged

fix(tracing): copy WebSocket message files before zipping#41382
dcrousso merged 1 commit into
microsoft:mainfrom
dcrousso:fix-41200

Conversation

@dcrousso

@dcrousso dcrousso commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

SerializedFS ensures that we won't ever perform multiple filesystem operations at the same time

unfortuntately, if the caller is doing their own zipping (i.e. mode: 'entries') there is no such guarantee

fixes #41351

@dcrousso dcrousso requested review from dgozman and yury-s June 19, 2026 18:10
onContentBlobAppend(sha1: string, text: string) {
if (!this._allResources.has(sha1))
this._allResources.add(sha1);
this._state!.appendableSha1s.add(sha1);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the entry be removed from the set at some point?

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

`SerializedFS` ensures that we won't ever perform multiple filesystem operations at the same time

unfortuntately, if the caller is doing their own zipping (i.e. `mode: 'entries'`) there is no such guarantee
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

7354 passed, 1122 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 failed
❌ [firefox-page] › page/workers.spec.ts:40 › should emit created and destroyed events @firefox-ubuntu-22.04-node20

4 flaky ⚠️ [chromium-library] › library/video.spec.ts:645 › screencast › should capture full viewport `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-page] › page/page-request-continue.spec.ts:756 › propagate headers cross origin redirect after interception `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-library] › library/chromium/chromium.spec.ts:211 › should intercept service worker requests (main and within) `@chromium-ubuntu-22.04-node22`
⚠️ [playwright-test] › ui-mode-test-filters.spec.ts:38 › should filter by title `@windows-latest-node22`

48907 passed, 1142 skipped


Merge workflow run.

@dcrousso dcrousso merged commit 3288351 into microsoft:main Jun 19, 2026
47 of 48 checks passed
@dcrousso dcrousso deleted the fix-41200 branch June 19, 2026 21:15
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.

[Bug]: Playwright UI mode: apiRequestContext._wrapApiCall reports unexpected number of bytes (same test passes in headed mode)

2 participants