0
votes

I am running VSTS/TFS extension developed by me and trying to display summary with data generated with extension once the Build/release completes, in build/release summary tabs .I am getting below message while trying to display my report in VSTS/TFS , Build/release summary tab

error message

"****Extension Name Here**** is taking longer than expected to load. Learn More about this extension, including available support options. "

At times when I refresh my page this message get disappear and load expected data on summary tab

I have tried to find reason for this message with aid on online content but no clue found. Please be kind enough to provide some tips to get rid of this message and display data.

1
How many time it takes to retrieve the data?starian chen-MSFT
@starain-MSFT , its just one/two second or less than it. Does it affect the obtaining data?. We are retrieving data in two methods in build summary tab from attach method and in release summary tab by reading logLalindu
What's the detail code of your extension? I just test with build-results-enhancer extensionstarian chen-MSFT
this is how I have done it for release summary tab : stackoverflow.com/questions/44451462/…Lalindu
What's the console logs in browser?Eddie Chen - MSFT

1 Answers

1
votes

This happened in some of my extensions, too.

I solved it by loading the contents of the page asynchronously. The initial page should load very fast. The processing of the data and following display of the results is only started when the page is loaded. When the processing is done, the contents of the page get updated. I did this by using an MVVM-like behavior with knockout.