Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

Error when trying to read dotnet --info

Open phmonte opened this issue 2 years ago • 2 comments

I'm getting an error when reading the dotnet --info command, at certain times my cluster takes more than 4000ms to return the dotnet --info which causes Buildalyzer to fail.

Does it make sense to implement an environment variable for custom timeout values or wait for the console to respond to some value? I can open this PR, but I would like to know if it makes sense and if there is any preference for waiting for the console or reading the timeout of some environment variable.

Just for context, I'm using dotnet stryker which has a dependency on Buildalyzer.

Code

Stryker Issue

phmonte avatar May 16 '23 21:05 phmonte

#236 was merged recently, which includes your environment variable to extend the dotnet --info timeout. I also extended the default wait time in version 6.0.2 to 10 seconds (rolling out now). Can you try the latest 6.0.2 version and let me know if this issue is now resolved? Thanks!

daveaglick avatar Dec 20 '23 16:12 daveaglick

I'll test it and let you know, thanks.

phmonte avatar Jan 19 '24 14:01 phmonte

Worked perfectly.

phmonte avatar Feb 16 '24 19:02 phmonte