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

[Projects] Notify Slack when scheduled load project failed [1.1.x] #2794

Merged
merged 8 commits into from Dec 22, 2022

Conversation

yonishelach
Copy link
Collaborator

@yonishelach yonishelach commented Dec 21, 2022

message example:
image

@yonishelach yonishelach marked this pull request as ready for review December 21, 2022 14:43
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}"
Copy link
Collaborator

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)
Copy link
Member

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

Copy link
Collaborator

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

@quaark quaark merged commit fd179fb into mlrun:1.1.x Dec 22, 2022
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 this pull request may close these issues.

None yet

3 participants