sourcegraph / src-cli

Sourcegraph CLI
https://sourcegraph.com
Apache License 2.0
267 stars 57 forks source link

Add fail-fast flag to src batch #1049

Open gabtorre opened 7 months ago

gabtorre commented 7 months ago

This adds a new --fail-fast flag to the src batch commands. When enabled, any errors encountered while executing steps in a repository will stop the execution of the whole batch spec. The flag is off by default, so existing behavior is preserved.

Test plan

Updated tests.

BolajiOlajide commented 6 months ago

Hey @gabtorre

Apologies for the long delay. I'll review this soon. Thank you so much.