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

ignoreFailures doesn't work when using gradle workers #7280

Open
AlexanderGH opened this issue May 9, 2024 · 0 comments
Open

ignoreFailures doesn't work when using gradle workers #7280

AlexanderGH opened this issue May 9, 2024 · 0 comments

Comments

@AlexanderGH
Copy link

Expected Behavior

Enabling gradle workers in the Detekt Gradle should be a functional no-op. ignoreFailures = true should result in no failures even when there are violations.

Observed Behavior

All tasks with violations fail, even with ignoreFailures = true.

Steps to Reproduce

Enable detekt.use.worker.api = true, parallel = true, ignoreFailures = true.
Add some violating code.
Run ./gradlew detektDebug

Your Environment

  • Version of detekt used: 1.23.6 (latest)
  • Version of Gradle used (if applicable): 8.7
  • Gradle scan link (add --scan option when running the gradle task): Not Public
  • Operating System and version: Mac OSX (Latest Stable)
  • Link to your project (if it's a public repository): Not Public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants