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

Allow RushTI to ignore minor errors on OPT task type #86

Closed
nicolasbisurgi opened this issue Oct 17, 2024 · 1 comment · Fixed by #87
Closed

Allow RushTI to ignore minor errors on OPT task type #86

nicolasbisurgi opened this issue Oct 17, 2024 · 1 comment · Fixed by #87

Comments

@nicolasbisurgi
Copy link
Contributor

Hi,
Currently RushTI has a binary behavior when it comes to return codes. If all processes finish successfully then it returns 0, if any process fails (for whatever reason) it return a non-zero value.
It would be great to introduce a flag per task that allows processes that end with HasMinorErrors to be considered successful (i.e.: to give a returnCode of 0).
Though it's a TI responsibility to handle possible minor errors, there could be times where this is not either possible or even followed.

This parameter must OPTIONAL and, IMHO, should only be applicable to OptimizedTasks as they are the ones that you would use when you want to have more precise control on the outcome of the TI processes invoked by RushTI.

It would look like this:
id="1" predecessors="" require_predecessor_success="" succeed_on_minor_errors="1" instance="tm1srv01" process="export.actuals" pMonth=Jan

Thoughts?

@MariusWirtz
Copy link
Collaborator

Yes. This makes sense

nicolasbisurgi added a commit to nicolasbisurgi/rushti that referenced this issue Oct 25, 2024
MariusWirtz pushed a commit that referenced this issue Nov 1, 2024
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 a pull request may close this issue.

2 participants