-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize CodeQL analysis step in CI builds #3368
Comments
I would like to work on this issue can you guide me on how to get started with this to solve the issue |
Hi @Bharadwajshivam28 . Yes, you can take over. You need to take a look at the CodeQL workflow, in the file |
I went through the file and understood the workflows. our end goal is to optimize the analysis for Go code which currently takes upto 5 minutes. Can you share some more details how can i tackle it? @pavlovic-ivan |
The idea is to replace the autobuild step, with another that will execute the build natively as it is done in other workflows, and leave other steps in the analyse job as is. Please take a look at how conditional expressions are added to steps, so that |
I have implemented condition expressions before but I am confused about what type of conditions we need to apply in the workflows.... And I understood that we need a step which will run only when go comes out of the Matrix. Ya we can improve it... Let me work and give the updates.. |
Hey @pavlovic-ivan we need to add some condition that when matrix language is csharp or javascript and for go we will have a seperate step which ensures that it will run only when the matrix language is go. Is it what we need right? This will overall improve the performance i guess... and we can make more changes if needed. correct me please if i missed something |
Hi @Bharadwajshivam28 let me take over, as i was already assigned to the issue, and afterwards we can sync on the work i would do, and that will give you some insights for the future. How does that sound? |
okay works for me .... |
Optimize the CodeQL processing in the CI checks for Armada - currently, the CodeQL analysis for Go code can take up to 5 minutes.
The text was updated successfully, but these errors were encountered: