Skip to content

activate failOnDryRunResults by default #385

@Pankraz76

Description

@Pankraz76

What problem are you trying to solve?

currently its disabled by default which makes sense for some users that want to display it once.

As this tool is ment to be automated this seems to be the higher priority.

Why should i ever run dryRun (in cloud or locally), assuming i dont care for the random impl. details, just wanting to check (dryRun) and the fix (run), not wasting time one anything else, as its about automation, without failing the build?

So all the usecases i ever faced integrating rewrite into potentially maven and junit, the switch was always active. Making the current default value the exception, imposing the assumed exception is the new default.

failOnDryRunResults = true

Describe the solution you'd like

Have you considered any alternatives or workarounds?

Additional context

Are you interested in contributing this feature to OpenRewrite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions