-
Notifications
You must be signed in to change notification settings - Fork 221
Add CLI command to list past due release plans #13026
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
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 adds a new CLI command to identify in-progress release plans that are past their SDK release deadline. The implementation includes pagination support for efficiently fetching large result sets from Azure DevOps and corrects several incorrect work item field names discovered during development.
- Added
list-overduecommand to the release-plan tool for identifying overdue release plans - Created new
ReleasePlanListResponsetype for returning multiple release plans - Fixed incorrect work item field names (
Custom.SDKReleasemonth,Custom.ReleasePlanSubmittedby) and addedOwnerfield mapping
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/ReleasePlan/ReleasePlanTool.cs | Adds the list-overdue command registration and handler that calls the DevOps service to retrieve overdue plans |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/Services/DevOpsService.cs | Implements ListOverdueReleasePlansAsync with date comparison logic, adds FetchWorkItemsPagedAsync for pagination, and corrects work item field name mappings |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/Models/Responses/ReleasePlan/ReleasePlanListResponse.cs | New response type for returning a list of release plans with formatted output |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/CHANGELOG.md | Documents the new feature in the unreleased version section |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli.Tests/Mocks/Services/MockDevOpsService.cs | Adds mock implementation for the new ListOverdueReleasePlansAsync method |
Issue: #12611
This command will be used to help with #12059