Skip to content

Allow forced creation when release plans already exist#12516

Merged
smw-ms merged 14 commits into
Azure:mainfrom
smw-ms:existing-release-plan-during-creation
Nov 12, 2025
Merged

Allow forced creation when release plans already exist#12516
smw-ms merged 14 commits into
Azure:mainfrom
smw-ms:existing-release-plan-during-creation

Conversation

@smw-ms

@smw-ms smw-ms commented Oct 15, 2025

Copy link
Copy Markdown
Member

Issue: #12489

Copilot AI review requested due to automatic review settings October 15, 2025 22:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements support for forcing the creation of release plans even when existing plans are found, addressing issue #12489. The change adds a new --force-create-release flag that bypasses duplicate detection.

Key changes:

  • Added a new command-line option to force release plan creation
  • Enhanced duplicate detection to check both pull request URL and product/API version combinations
  • Updated documentation to guide users on handling existing release plans

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
ReleasePlanTool.cs Added --force-create-release option and conditional duplicate checking logic
DevOpsService.cs Added GetReleasePlansForProductAsync method to query existing plans by product and API version
create-release-plan.instructions.md Updated workflow to handle existing release plans and present force creation option

Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
Comment thread eng/common/instructions/azsdk-tools/create-release-plan.instructions.md Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Co-authored-by: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com>
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs Outdated
Comment thread tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs Outdated
smw-ms and others added 2 commits October 28, 2025 22:57
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@smw-ms

smw-ms commented Oct 30, 2025

Copy link
Copy Markdown
Member Author

/check-enforcer override

@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@smw-ms smw-ms requested a review from maririos November 12, 2025 07:45
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Comment thread eng/common/instructions/azsdk-tools/create-release-plan.instructions.md Outdated
@azure-sdk

Copy link
Copy Markdown
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@smw-ms

smw-ms commented Nov 12, 2025

Copy link
Copy Markdown
Member Author

/check-enforcer override

@smw-ms smw-ms merged commit 8f39e5d into Azure:main Nov 12, 2025
13 of 16 checks passed
smw-ms added a commit to Azure/azure-sdk-for-js that referenced this pull request Nov 12, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#12516 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
smw-ms added a commit to Azure/azure-sdk-for-rust that referenced this pull request Nov 12, 2025
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#12516 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Summer Warren <summerwarren@microsoft.com>
@smw-ms smw-ms deleted the existing-release-plan-during-creation branch December 19, 2025 19:11
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.

AzSDK MCP server: Create release plan to check for existing release plan

6 participants