how it should look like? source code of these two projects?
Not necessarily, a mock project which reproduces the problem. It can have any code as long the problem is reproduced.
let me discuss it internally, I will get back to you tomorrow or day after
how can i send the source code to you? (just not to have it public)
I’ve sent you a PM.
Thanks a lot for the reproducer. I’ve had some time today to take a look and the problem is indeed reproducible. On my side, the build finishes in 1h 30m which, of course, is problematic and needs to be improved. So far I can tell that the problem seems to be in sonar-dotnet
(it reproduces without the security engine) and the errors similar to the one you posted (CompilerServer: server failed - server rejected the request...
) are not related to the actual problem.
I will continue to investigate this and keep you posted.
great, thx a lot for the update
It looks like the issue is in S1854. A quick workaround would be to disable this rule from the quality profile until we will provide a proper fix.
On my PC this decreased the build time from ~1h30m to 1m.
great, i will disable & let you know the result
i disabled the rule & the build passed!!! youhoooooo!!! thx a lot for help, please let me know when the fix pushed live, i will update an instance
Hello @Aleksandr_Kovalev
This will be fixed in Fix S1854 Performance: Rule can be very slow in some scenarios · Issue #5384 · SonarSource/sonar-dotnet · GitHub
great, thx a lot
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.