Skip to content

Reapply "fix(har timing): record connect timing for proxied connections" (#32855)#33003

Merged
Skn0tt merged 2 commits into
microsoft:mainfrom
Skn0tt:proxy-update-2nd-try
Oct 8, 2024
Merged

Reapply "fix(har timing): record connect timing for proxied connections" (#32855)#33003
Skn0tt merged 2 commits into
microsoft:mainfrom
Skn0tt:proxy-update-2nd-try

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Oct 8, 2024

Copy link
Copy Markdown
Member

This reapplies what we reverted in #32989.

Max and me debugged this, and found that the test failures come from SOCKS proxy now preferring IPv6 over IPv4. We've updated the tests and made sure that this doesn't mask any breaking change.

I'm enabling CQ1 to make sure we don't oversee any other CI failures.

@Skn0tt Skn0tt added the CQ1 label Oct 8, 2024
@Skn0tt Skn0tt self-assigned this Oct 8, 2024
@Skn0tt Skn0tt requested a review from mxschmitt October 8, 2024 09:30
@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

Test results for "tests others"

20556 passed, 491 skipped
✔️✔️✔️

Merge workflow run.

@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 flaky ⚠️ [webkit-library] › library/video.spec.ts:797:5 › screencast › should work with video+trace @webkit-ubuntu-22.04-node18

35860 passed, 619 skipped
✔️✔️✔️

Merge workflow run.

);

// when using socks proxy, having the socket means the connection got established
if (agent instanceof SocksProxyAgent)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this should be also the case for HttpsProxyAgent? So maybe we should check for just agent thruthyness there?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@mxschmitt mxschmitt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM % comment.

@github-actions

github-actions Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

Test results for "tests 2"

2 fatal errors, not part of any test

56 flaky ⚠️ [chromium-library] › library/popup.spec.ts:264:3 › should not throw when click closes popup @chromium-headed-macos-14-xlarge
⚠️ [chromium-library] › library/inspector/cli-codegen-1.spec.ts:117:7 › cli codegen › should click after same-document navigation @chromium-headed-windows-latest
⚠️ [chromium-library] › library/inspector/cli-codegen-2.spec.ts:381:7 › cli codegen › click should emit events in order @chromium-headed-windows-latest
⚠️ [chromium-library] › library/inspector/cli-codegen-3.spec.ts:469:7 › cli codegen › should generate getByPlaceholder @chromium-headed-windows-latest
⚠️ [chromium-library] › library/selector-generator.spec.ts:443:5 › selector generator › should ignore empty role for candidate consideration @chromium-headed-windows-latest
⚠️ [chromium-page] › page/page-wait-for-selector-2.spec.ts:351:3 › should succeed if element handle was detached while waiting for detached @chromium-tip-of-tree-macos-13
⚠️ [chromium-library] › library/inspector/pause.spec.ts:112:5 › pause › should pause on next pause @chromium-tip-of-tree-macos-13--headed
⚠️ [chromium-library] › library/inspector/pause.spec.ts:143:5 › pause › should step with keyboard shortcut @chromium-tip-of-tree-macos-13--headed
⚠️ [chromium-library] › library/video.spec.ts:381:5 › screencast › should capture navigation @chromium-tip-of-tree-macos-13--headed
⚠️ [chromium-library] › library/inspector/cli-codegen-1.spec.ts:200:7 › cli codegen › should work with TrustedTypes @chromium-tip-of-tree-ubuntu-20.04--headed
⚠️ [chromium-library] › library/popup.spec.ts:264:3 › should not throw when click closes popup @chromium-tip-of-tree-ubuntu-20.04--headed
⚠️ [chromium-library] › library/trace-viewer.spec.ts:1058:1 › should update highlight when typing @chromium-tip-of-tree-windows-latest--headed
⚠️ [firefox-library] › library/video.spec.ts:381:5 › screencast › should capture navigation @firefox-beta-ubuntu-20.04
⚠️ [firefox-library] › library/capabilities.spec.ts:254:3 › requestFullscreen @firefox-headed-macos-14-xlarge
⚠️ [firefox-library] › library/video.spec.ts:381:5 › screencast › should capture navigation @firefox-headed-macos-14-xlarge
⚠️ [firefox-library] › library/emulation-focus.spec.ts:188:12 › should not fire blur events when interacting with more than one page/context @firefox-headed-ubuntu-24.04
⚠️ [firefox-library] › library/inspector/cli-codegen-3.spec.ts:616:7 › cli codegen › should consume contextmenu events, despite a custom context menu @firefox-headed-ubuntu-24.04
⚠️ [firefox-page] › page/page-mouse.spec.ts:174:3 › should select the text with mouse @firefox-headed-ubuntu-24.04
⚠️ [firefox-library] › library/browsercontext-basic.spec.ts:34:3 › should be able to click across browser contexts @firefox-headed-windows-latest
⚠️ [firefox-library] › library/browsercontext-har.spec.ts:296:3 › should round-trip har with postData @firefox-headed-windows-latest
⚠️ [firefox-library] › library/browsercontext-reuse.spec.ts:239:1 › should reset tracing @firefox-headed-windows-latest
⚠️ [firefox-library] › library/inspector/cli-codegen-2.spec.ts:467:7 › cli codegen › should --save-trace @firefox-headed-windows-latest
⚠️ [firefox-page] › page/page-click.spec.ts:105:3 › should click the button after navigation @firefox-headed-windows-latest
⚠️ [chromium-library] › library/emulation-focus.spec.ts:104:3 › should not affect screenshots @headless-new
⚠️ [chromium-library] › library/popup.spec.ts:264:3 › should not throw when click closes popup @msedge-dev-ubuntu-20.04
⚠️ [chromium-page] › page/page-set-input-files.spec.ts:147:3 › should upload large file @msedge-dev-windows-latest
⚠️ [chromium-library] › library/browsercontext-events.spec.ts:77:5 › dialog event should work @smoke @service @smoke
⚠️ [chromium-page] › page/page-event-request.spec.ts:138:3 › should report navigation requests and responses handled by service worker with routing @service
⚠️ [webkit-library] › library/inspector/cli-codegen-1.spec.ts:611:7 › cli codegen › should select @webkit-headed-macos-14-xlarge
⚠️ [webkit-library] › library/inspector/cli-codegen-3.spec.ts:585:7 › cli codegen › should consume pointer events @webkit-headed-ubuntu-20.04
⚠️ [webkit-library] › library/popup.spec.ts:115:3 › should inherit viewport size from browser context @webkit-headed-ubuntu-20.04
⚠️ [webkit-page] › page/page-mouse.spec.ts:244:3 › should tween mouse movement @webkit-headed-ubuntu-20.04
⚠️ [webkit-library] › library/trace-viewer.spec.ts:867:1 › should show action source @webkit-headed-ubuntu-22.04
⚠️ [webkit-library] › library/inspector/cli-codegen-1.spec.ts:238:7 › cli codegen › should not target selector preview by text regexp @webkit-headed-windows-latest
⚠️ [webkit-library] › library/inspector/cli-codegen-1.spec.ts:727:7 › cli codegen › should attribute navigation to click @webkit-headed-windows-latest
⚠️ [webkit-library] › library/inspector/cli-codegen-2.spec.ts:313:7 › cli codegen › should record open in a new tab with url @webkit-headed-windows-latest
⚠️ [webkit-library] › library/inspector/cli-codegen-2.spec.ts:405:7 › cli codegen › should update hover model on action @webkit-headed-windows-latest
⚠️ [webkit-library] › library/inspector/cli-codegen-2.spec.ts:494:7 › cli codegen › should fill tricky characters @webkit-headed-windows-latest
⚠️ [webkit-library] › library/tap.spec.ts:22:3 › should send all of the correct events @smoke @webkit-headed-windows-latest @smoke
⚠️ [webkit-library] › library/trace-viewer.spec.ts:386:1 › should capture iframe with sandbox attribute @webkit-headed-windows-latest
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames fit @webkit-macos-13-xlarge
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames crop @webkit-macos-13-xlarge
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames scale @webkit-macos-13-xlarge
⚠️ [webkit-page] › page/page-request-continue.spec.ts:254:5 › post data › should amend binary post data @webkit-macos-13-xlarge
⚠️ [webkit-page] › page/page-request-continue.spec.ts:197:5 › post data › should compute content-length from post data @webkit-macos-14-large
⚠️ [webkit-page] › page/page-request-continue.spec.ts:228:5 › post data › should amend utf8 post data @webkit-macos-14-large
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames crop @webkit-macos-14-xlarge
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames scale @webkit-macos-14-xlarge
⚠️ [webkit-page] › page/page-request-continue.spec.ts:228:5 › post data › should amend utf8 post data @webkit-macos-14-xlarge
⚠️ [webkit-page] › page/page-request-fallback.spec.ts:239:5 › post data › should amend binary post data @webkit-macos-15-large
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames crop @webkit-macos-15-xlarge
⚠️ [webkit-library] › library/tracing.spec.ts:410:14 › should produce screencast frames scale @webkit-macos-15-xlarge
⚠️ [webkit-page] › page/page-request-continue.spec.ts:241:5 › post data › should amend longer post data @webkit-macos-15-xlarge
⚠️ [webkit-library] › library/video.spec.ts:797:5 › screencast › should work with video+trace @webkit-ubuntu-20.04
⚠️ [webkit-library] › library/video.spec.ts:797:5 › screencast › should work with video+trace @webkit-ubuntu-24.04
⚠️ [webkit-page] › page/workers.spec.ts:245:3 › should support offline @webkit-windows-latest

238809 passed, 9422 skipped, 13 did not run
✔️✔️✔️

Merge workflow run.

@Skn0tt Skn0tt merged commit 042161e into microsoft:main Oct 8, 2024
dgozman added a commit to dgozman/playwright that referenced this pull request Jan 29, 2025
dgozman added a commit that referenced this pull request Jan 29, 2025
dgozman added a commit to dgozman/playwright that referenced this pull request Jan 29, 2025
dgozman added a commit that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants