-
Notifications
You must be signed in to change notification settings - Fork 809
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
fix(dependent pipelines): failure to trigger a dependend pipeline shouldn't affect others #3258
fix(dependent pipelines): failure to trigger a dependend pipeline shouldn't affect others #3258
Conversation
…uldn't affect others Failure in planning a, say, a single v2 templated pipeline will cause no dependent pipelines to start. This is due to exception not being localized to each individual pipeline
} else { | ||
return pipeline | ||
} | ||
} | ||
}.findAll({ pipeline -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, i don't need this anymore...
…ine shouldn't affect others
try { | ||
return V2Util.planPipeline(contextParameterProcessor, executionPreprocessors, pipeline) | ||
} catch (Exception e) { | ||
log.error("Failed to plan V2 templated pipeline {}", pipeline.getOrDefault("id", "<UNKNOWN ID>"), e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should prob add a metric for this? what do you think @dreynaud ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought unless it's on the dashboard noone will look at it.. 🤷♂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there's necessarily a lot of value in throwing that on a dashboard. Is it a page-able offense though? If yes it deserves a metric, otherwise let's keep it in logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for fixing this. 👍
Failure in planning a, say, a single v2 templated pipeline will cause no dependent pipelines to start.
This is due to exception not being localized to each individual pipeline