Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unflake 'should record' #32880

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Sep 30, 2024

Its caused by a change made here. With that we call this._fireChange() twice for the same set of actions. This ends up in two sourceChanged events in the debug controller. We should not fire the same 'change' event if its not enabled.

Why was it racy? Because its fired in a microtask, depending on the load, it might or might not happen - turns out it only happened on busy systems.

This comment has been minimized.

Copy link
Contributor

Test results for "tests 1"

3 flaky ⚠️ [chromium-library] › library/trace-viewer.spec.ts:256:1 › should have network requests
⚠️ [playwright-test] › ui-mode-test-update.spec.ts:83:5 › should pick new / deleted tests
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all

36412 passed, 758 skipped
✔️✔️✔️

Merge workflow run.

@mxschmitt mxschmitt merged commit 6f16b6c into microsoft:main Sep 30, 2024
30 checks passed
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