Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

notify users on job failure #51

Closed
bmc-msft opened this issue Sep 29, 2020 · 3 comments
Closed

notify users on job failure #51

bmc-msft opened this issue Sep 29, 2020 · 3 comments
Labels
internal-request Requested by internal teams

Comments

@bmc-msft
Copy link
Contributor

If a job gets launched and something is wrong with it (example: the setup script has a syntax error), then the task is marked as failed and the error is recorded.

When jobs are launched via CICD, users have no way to know their jobs have failed. It would be good to provide a notification for these failures.

(Suggestion: Teams message)

@bmc-msft bmc-msft added the internal-request Requested by internal teams label Sep 29, 2020
@bmc-msft
Copy link
Contributor Author

This will be built on top of #52

@bmc-msft
Copy link
Contributor Author

Arbitrary notifications can be built on top of the combination of #296 #303.

{
    "job_id": "00000000-0000-0000-0000-000000000000",
    "task_id": "00000000-0000-0000-0000-000000000000",
    "error": {
        "code": 468,
        "errors": [
            "example error message"
        ]
    },
    "user_info": {
        "application_id": "00000000-0000-0000-0000-000000000000",
        "object_id": "00000000-0000-0000-0000-000000000000",
        "upn": "example@contoso.com"
    }
}

@bmc-msft
Copy link
Contributor Author

For the time being, webhook events with user information will be our default method to enable customized notification schemes. These features are merged into main, and will be in the next release.

Users can use services like Azure Logic Apps, to wire in these event based webhooks into arbitrary 3rd party services, including Outlook 365, ICM, Teams, Slack, Twillo, and more.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
internal-request Requested by internal teams
Projects
None yet
Development

No branches or pull requests

1 participant