Skip to content

Add --fail-fast option to CLI #118

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add --fail-fast option to CLI #118

wants to merge 1 commit into from

Conversation

fredrikekre
Copy link
Collaborator

This patch adds a --fail-fast flag to the CLI that can be used to exit early instead of running remaining checks. The default behavior have changed from failing fast to running all checks.

This patch adds a `--fail-fast` flag to the CLI that can be used to exit
early instead of running remaining checks. The default behavior have
changed from failing fast to running all checks.
@fredrikekre fredrikekre requested a review from ericphanson June 19, 2025 14:17
Copy link
Member

@ericphanson ericphanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fredrikekre
Copy link
Collaborator Author

Hmm, looks like without --fail-fast you still miss some diagnostics because the various passes bail early, e.g.

throw(StaleImportsException(submodule,
.

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

Successfully merging this pull request may close these issues.

2 participants