vscode-docker icon indicating copy to clipboard operation
vscode-docker copied to clipboard

Logged errors are duplicated in the OUTPUT window

Open charris-msft opened this issue 2 years ago • 2 comments

Issue

I've run through the "Build Image in Azure..." process a number of times and I've been tripped up by seeing errors logged multiple times. At first, I thought there was some kind of automatic retry happening.

I finally realized after seeing this a few times that the timestamps were identical and the output was just being duplicated.

Here are some examples: image

Expected behavior

I expect to see each line of output exactly once in the OUTPUT window.

Video Repros

https://microsoft.sharepoint.com/:f:/t/JEM/EklDiahGaQtDigc5E2SlrYAB3YU7H2NvdoiyIo1AkQUZ-A?e=eCGRIh

charris-msft avatar Sep 16 '22 20:09 charris-msft

These logs are being streamed from Azure. Need to investigate whether the duplication is happening on service-side (in which case we can't do anything about it) or if it's happening on the client.

Related to #3616

bwateratmsft avatar Sep 19 '22 13:09 bwateratmsft

This is the only extension where I have seen this kind of behavior. I've used App Service and Container Apps quite a bit and I've never seen the duplicate lines.

If it is on the server side, it would be great to open an issue against that team.

charris-msft avatar Sep 19 '22 15:09 charris-msft

I'm going to resolve this as a dupe of #3616, it appears to ultimately be the same issue, just manifesting differently.

bwateratmsft avatar Mar 09 '23 16:03 bwateratmsft