Visitar URL original
Init somehow interferes with .NET SDK · Issue #1312 · github/codeql-action · GitHub
The Wayback Machine - https://web.archive.org/web/20240114141210/https://github.com/github/codeql-action/issues/1312
Skip to content
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

Init somehow interferes with .NET SDK #1312

Closed
leastprivilege opened this issue Oct 18, 2022 · 4 comments
Closed

Init somehow interferes with .NET SDK #1312

leastprivilege opened this issue Oct 18, 2022 · 4 comments

Comments

@leastprivilege
Copy link

2 weeks ago all CodeQL actions in all our various repos started failing (also repos that haven't been updated and codeql was triggered via a cron)

https://github.com/duendesoftware
https://github.com/IdentityModel

Our build script suddenly always fails if run after codeql init.

I have finally narrowed it down in this action definition - we do

  1. install the .NET SDK
  2. run the build script (works)
  3. run codeql init
  4. run the same build script again (fails)

I also added some dotnet info in between.

https://github.com/DuendeSoftware/IdentityServer/actions/runs/3273133383/jobs/5384969932

Is this a known problem somehow? Because we really do not know what cause all those problems.

@tausbn
Copy link

tausbn commented Oct 18, 2022

Thank you for your report!

This is due to a bug in our build tracing that was recently introduced. Luckily, it was also fixed recently, but the fix has yet to land in the stable release of the CodeQL action.

In the short term, you should be able to add the option tools: latest for the github/codeql-action/init step, and that should make the problem go away.

@leastprivilege
Copy link
Author

sigh. thanks.

@leastprivilege
Copy link
Author

OK. I can confirm that the fixes the problem. thanks again.

@tausbn
Copy link

tausbn commented Oct 18, 2022

I'm glad it worked out, and I apologise for the disruption. 🙂

Hopefully the fix should get released officially in version 2.11.2 in a few weeks time. At that point you no longer need to use the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants