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

break the build if there is a Sonar violation that Sorald can fix #3788

Closed
monperrus opened this issue Feb 9, 2021 · 3 comments · Fixed by #3912
Closed

break the build if there is a Sonar violation that Sorald can fix #3788

monperrus opened this issue Feb 9, 2021 · 3 comments · Fixed by #3912
Labels

Comments

@monperrus
Copy link
Collaborator

See https://github.com/SpoonLabs/sorald/

Plus, we could have a Github PR suggestion with the Sorald fix.

@slarse
Copy link
Collaborator

slarse commented Feb 9, 2021

I will have a look at this by the end of this week/start of next.

@slarse
Copy link
Collaborator

slarse commented Feb 18, 2021

I'm putting this on hold until we've got a 1.1 release of Sorald. I expect that we'll have that within the next few weeks, we just need to verify that the new Spoon element/Sonar violation matching heuristic is actually doing what it should.

@slarse slarse added the chore label Mar 24, 2021
@slarse
Copy link
Collaborator

slarse commented Apr 19, 2021

We're making progress on this! There's a new GitHub Action (https://github.com/SpoonLabs/sorald-buildbreaker) that simply runs Sorald on a project and breaks the build if it finds a repairable violation.

Before we can adopt this in Spoon, we need ratcheting (see SpoonLabs/sorald-buildbreaker#8)

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

Successfully merging a pull request may close this issue.

2 participants