fix(trace-viewer): Keep network entry selected during test run#39076
fix(trace-viewer): Keep network entry selected during test run#39076cpAdm wants to merge 3 commits intomicrosoft:mainfrom
Conversation
|
Ouch, sorry I didn't catch this in my earlier review. Calling JSON.stringify on each entry seems a little expensive for large traces.
Agreed. Looking through |
Seems good. Added the |
If this is a good |
Test results for "tests 1"2 failed 3 flaky34277 passed, 662 skipped Merge workflow run. |
|
@cpAdm the failing test seems very much related. Looks like we need to somehow incorporate the trace identity into the key. For example via |
Test results for "MCP"33 failed 1 flaky4576 passed, 135 skipped Merge workflow run. |
It's interesting that it only fails on macOS. Is the contexid not unique there? |
|
I'd guess the test is flaky, and macOS is just the flakiest of our CI runners. |
The polling every 500s causes the
networkModelto reset, causing thenetworkModel.resourcesto be a new array (with (partially) same values), so===-comparison will not work. Ideally theEntrywould have a unique id-property, thisJSON.stringifysolution is not ideal.Closes: #39050