Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 18, 2025

This PR documents the completion of SDK generation for the TypeSpec project specification/dataprotection/DataProtection.Management as requested in the GitHub issue.

Summary

Successfully generated SDKs for 3 out of 4 requested languages for the DataProtection Management API (API version 2025-07-01):

✅ Successfully Generated SDKs:

❌ JavaScript SDK Generation Failed:

The JavaScript SDK generation encountered TypeScript compilation errors due to incompatible interface inheritance in the generated models:

Interface 'AdlsBlobBackupDatasourceParameters' incorrectly extends interface 'BlobBackupDatasourceParameters'.
Types of property 'objectType' are incompatible.

Interface 'AzureBackupRestoreWithRehydrationRequest' incorrectly extends interface 'AzureBackupRecoveryPointBasedRestoreRequest'.
Types of property 'objectType' are incompatible.

This appears to be a bug in the TypeSpec-to-TypeScript code generator when handling discriminated unions with inheritance relationships.

Actions Completed:

  1. Validated TypeSpec specification compiles without errors
  2. Initiated SDK generation pipelines for all 4 requested languages
  3. Monitored pipeline execution until completion
  4. Collected SDK pull request links for successful generations
  5. Updated release plan work item (28756) with SDK package details
  6. Analyzed pipeline failures and documented root causes

Next Steps:

  • The 3 successful SDK pull requests are ready for service team review and merge
  • The JavaScript generation issue should be reported to the TypeSpec tooling team
  • Once the TypeScript generator issue is resolved, the JavaScript SDK can be regenerated

The service team can proceed with beta release preparation for Go, Java, and Python SDKs.

Fixes #37544.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] [TypeSpec] Generate SDK for TypeSpec project specification/dataprotection/DataProtection.Management SDK generation completed for TypeSpec DataProtection.Management project Sep 18, 2025
Copilot AI requested a review from azure-sdk September 18, 2025 02:53
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.

[TypeSpec] Generate SDK for TypeSpec project specification/dataprotection/DataProtection.Management

3 participants