Skip to content

fix(trace viewer): library-only trace should not merge actions#31768

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:tv-fix-library-only
Jul 19, 2024
Merged

fix(trace viewer): library-only trace should not merge actions#31768
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:tv-fix-library-only

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Jul 19, 2024

Without wallTime, actions are matched by actionName:undefined and all actions with the same are merged.

Fixes #31764.

Without `wallTime`, actions are matched by `actionName:undefined`
and all actions with the same are merged.
@dgozman dgozman requested a review from yury-s July 19, 2024 08:18
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

7 flaky ⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [firefox-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [webkit-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture

23939 passed, 616 skipped
✔️✔️✔️

Merge workflow run.

@yury-s
Copy link
Copy Markdown
Member

yury-s commented Jul 19, 2024

Without wallTime, actions are matched by actionName:undefined and all actions with the same are merged.

I understand that actions with same timestamp would be merged, but why do we have actions without wallTime ?

Update: I see, in the new traces there is no wallTime, only stepId!

@dgozman dgozman merged commit b535139 into microsoft:main Jul 19, 2024
yury-s pushed a commit to yury-s/playwright that referenced this pull request Jul 20, 2024
…hould not merge actions

Without `wallTime`, actions are matched by `actionName:undefined` and
all actions with the same are merged.

Fixes microsoft#31764.
yury-s pushed a commit to yury-s/playwright that referenced this pull request Jul 22, 2024
…hould not merge actions

Without `wallTime`, actions are matched by `actionName:undefined` and
all actions with the same are merged.

Fixes microsoft#31764.
yury-s added a commit that referenced this pull request Jul 22, 2024
… merge actions (#31780)

This PR cherry-picks two trace viewer fixes: 
cherry-pick(#31768): fix(trace viewer): library-only trace should not
merge actions
cherry-pick(#31564): fix(trace): do not corrupt test runner actions when
no library trace is present

Reference: microsoft/playwright-java#1617
whazor pushed a commit to whazor/playwright-trace-viewer-plus that referenced this pull request Jan 10, 2026
…soft#31768)

Without `wallTime`, actions are matched by `actionName:undefined` and
all actions with the same are merged.

Fixes microsoft#31764.
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]: some actions do not appear in the trace file

2 participants