Skip to content

Automate release plan create#44137

Merged
praveenkuttappan merged 23 commits into
mainfrom
automate_release_plan_create
Jun 30, 2026
Merged

Automate release plan create#44137
praveenkuttappan merged 23 commits into
mainfrom
automate_release_plan_create

Conversation

@praveenkuttappan

@praveenkuttappan praveenkuttappan commented Jun 22, 2026

Copy link
Copy Markdown
Member

Create a release plan automatically when API spec PR merges and if that API spec PR adds a new api version.

Comment thread .github/workflows/src/create-release-plan.js Outdated
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Protected Files has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide


Comment generated by summarize-checks workflow run.

Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
@praveenkuttappan praveenkuttappan requested a review from benbp June 22, 2026 16:46
Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
Comment thread .github/workflows/create-release-plan-analyze.yaml Outdated
Comment thread .github/workflows/create-release-plan-generate.yaml Outdated
@praveenkuttappan praveenkuttappan requested a review from lirenhe June 26, 2026 14:34

High-level lifecycle:

1. A spec PR merges into `main` in `Azure/azure-rest-api-specs` or `Azure/azure-rest-api-specs-pr`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we only target merge spec PR only in Azure/azure-rest-api-specs repo? We could not release SDK from the spec private repo.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SDK stage will not run for private repo. It is only to create private preview release plan for KPI completion.

@@ -0,0 +1,181 @@
# Release Plan Auto-Generation

This document explains how release plans are automatically discovered or created by the `eng/tools/release-plan` tool and the `eng/pipelines/release-plan.yml` pipeline.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you help to describe the problem you plan to solve? What are the challenges we are facing today?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently release plan needs to be created using the agent. This can lead to agent nondeterministic behavior and also costs tokens when this can be automated without using agent at all. So, a service team does not have to worry about creating a release plan or missing release plan for their spec. Every auto generated SDK pull requests will have a release plan linked to it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add SDK generation as the second stage of this pipeline so SDK pull request will be auto generated after a release plan is created once API spec is merged. Currently one of the concerns from a few service teams is that they need to run these steps manually using the agent. This will also ensure SDK PR has a release plan.

Comment thread eng/pipelines/release-plan.yml Outdated
@praveenkuttappan

Copy link
Copy Markdown
Member Author

Comment thread eng/pipelines/release-plan.yml Outdated
Comment thread eng/pipelines/release-plan.yml Outdated
Comment thread .github/workflows/release-plan-test.yaml
Comment thread .github/workflows/release-plan-tests.yaml Outdated
Comment thread eng/pipelines/release-plan.yml Outdated
Comment thread eng/pipelines/release-plan.yml Outdated
Comment thread eng/tools/release-plan/package.json Outdated

@mikeharder mikeharder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, but a few remaining small fixes

@praveenkuttappan praveenkuttappan merged commit 491ca87 into main Jun 30, 2026
73 of 75 checks passed
@praveenkuttappan praveenkuttappan deleted the automate_release_plan_create branch June 30, 2026 22:28
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.

4 participants