Azure / Azure/azure-sdk-tools

Automated email to report failed automatic releases

Open
#16,506 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

SDK will be auto released after merging SDK pull requests tagged with `auto-release` label. Release pipeline updated the release status as `Release In Progress` and link to release pipeline.

- [ ] Add a new CLI command in azsdk CLI similar to CLI command to find list of failed SDK generation. CLI command should identify automatically triggered release pipelines in last 24 hours (configurable using an env variable) with the help of release plans and release status of SDK in it. Check if any of these release pipeline in failed status. Create a list of release plans and failed automatic releases and include it in an email notification to azsdkexp@microsoft.com.

- [ ] Create a pipeline that's only run on a daily schedule (no PR or CI trigger). This pipeline should configure email service URL variable and run CLi command to get list of failed auto releases.

Contributor guide

Open the contributing guide

Research direction

Start by locating the azsdk CLI command that finds failed SDK generation and the release-plan and SDK release-status data it uses. Then inspect the pipeline configuration: done means a configurable recent-failure query produces a release-plan list and a daily scheduled run sends that list through the configured email service URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, cli, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.