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
[Projects] Notify Slack when scheduled load project failed [1.1.x] #2794
[Projects] Notify Slack when scheduled load project failed [1.1.x] #2794
Conversation
mlrun/projects/pipelines.py
Outdated
link = f"<{url}|*view workflow job details*>" | ||
message = ( | ||
f":x: Project {project_name} workflow {workflow_name}" | ||
f" failed to run scheduling workflow remotely!\n{link}" |
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.
please add the error text message
) | ||
except Exception as error: | ||
# Notifying to slack in case of scheduling: | ||
slack = RunNotifications(with_slack=True) |
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.
Please add a TODO to change this to the new notifications once they are merged
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.
@quaark once this is merged @yonishelach will do the PR into 1.2.1 with the new mechanism
message example: