You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm from the Visual Studio performance team and our telemetry is showing that that SpecFlow VS integration is hanging Visual Studio while it sends and flushes telemetry. This is preventing users from interacting with VS while this code is running.
Over the past 21 days, it has had the following impact on Visual Studio:
Expressed delays are situations where the UI hung while within this method and it interrupted/prevented users mouse or keyboard input. Total hits are all the times the UI hung while within this method, regardless of whether input was interrupted.
There are many call stacks that trigger this failure however, they all contain the the following frames:
To fix this issue, please avoid Flushing the AppInsights channel on the UI thread and/or blocking on it, for example:
Task.Run(()=> channel.Flush()).Forget();
Steps to Reproduce
This data comes our telemetry system, so we do not have any information on the versions of SpecFlow or any dlls involved in this problem. We also have no understanding of the steps involved to reproduce the above situation other than the fact this data was just captured from real world usage.
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered:
@SabotageAndi We found a bunch more stacks and they all in AppInsightsAnalyticsTransmitterSink.TransmitEvent, so be sure to find all direct and indirect callers of it.
SpecFlow Version
Unknown
Test Runner Version Number
Unknown
Issue Description
I'm from the Visual Studio performance team and our telemetry is showing that that SpecFlow VS integration is hanging Visual Studio while it sends and flushes telemetry. This is preventing users from interacting with VS while this code is running.
Over the past 21 days, it has had the following impact on Visual Studio:
Expressed delays are situations where the UI hung while within this method and it interrupted/prevented users mouse or keyboard input. Total hits are all the times the UI hung while within this method, regardless of whether input was interrupted.
There are many call stacks that trigger this failure however, they all contain the the following frames:
To fix this issue, please avoid Flushing the AppInsights channel on the UI thread and/or blocking on it, for example:
Steps to Reproduce
This data comes our telemetry system, so we do not have any information on the versions of SpecFlow or any dlls involved in this problem. We also have no understanding of the steps involved to reproduce the above situation other than the fact this data was just captured from real world usage.
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: