Replies: 1 comment 1 reply
-
|
Does |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
e.g. Format Checking / Linting tasks should run to completion even if sibling tasks fail
Non-goals
Background
All formatting tasks in my monorepo are unaffected by each other, so it makes sense that if run in parallel, the exiting with a non-zero exit code of one should not lead to the exiting of another.
Workaround
Within the scripts you can append a
|| trueor|| echo ''which overwrites the status code, though this does make it harder to see if something does fail at a glance since it is marked as successful.Proposal
This could be implemented by configuring a job as something like
can_failso a failure in the task will only affect dependent tasks, but not unrelated tasks being run in parallel.I'd be happy to contribute though may need a bit of a hand at first navigating the repo.
Beta Was this translation helpful? Give feedback.
All reactions