Skip to content

Generate SDK tool is failing when package name is missing in the release plan #15808

@praveenkuttappan

Description

@praveenkuttappan

SDK generation MCP tool failed with below error. Tool should instead try to parse the package name instead of failing the SDK generation.

Release plan work item with ID 34516 does not have a package name specified for .NET. Update the SDK details using the information in tspconfig.yaml.

Generate SDK MCP tool should check if a package name is present in the release plan. If package name is not present, then call UpdateSDKDetailsInReleasePlan in ReleasePlanTool.cs from Generate SDK.

Generate SDK must sent an update to mcp client to send a status before running update SDK details to inform the client about missing SDK details and auto updating SDK details based on TypeSpec project config.

code path: tools\azsdk-cli\Azure.Sdk.Tools.Cli.

Note: This issue is based on the telemetry from actual usage of MCP tool.
Impact: Simplify SDK generation using azsdk agent.

Metadata

Metadata

Labels

API Spec & SDK release processAPI Spec & SDK library creation, generation, and publishing processes.

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions