Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 2, 2025

Summary

This PR demonstrates the complete SDK generation workflow from TypeSpec specification using the Azure SDK coding agent. The work includes initiating SDK generation for all supported languages, creating release plans, and setting up monitoring for the TypeSpec project specification/contosowidgetmanager/Contoso.WidgetManager.

Changes Made

✅ SDK Generation Pipeline Setup

  • TypeSpec Validation: Verified the specification compiles successfully with no errors or warnings
  • Multi-language SDK Generation: Initiated SDK generation pipelines for all 5 supported languages:
    • Python: Build ID 5041424
    • Java: Build ID 5041426
    • C#: Build ID 5041427
    • JavaScript: Build ID 5041428
    • Go: Build ID 5041429

✅ Release Management

  • Release Plan Creation: Created release plan work item (ID: 27875) for coordinated SDK releases
  • Package Configuration: Updated release plan with SDK package details for all languages:
    • Python: azure-contoso-widgetmanager
    • Java: azure-contoso-widgetmanager
    • .NET: Azure.Template.Contoso
    • JavaScript: @azure-rest/contoso-widgetmanager
    • Go: azmanager

✅ Project Configuration

  • API Version: 2022-11-01-preview (as specified in requirements)
  • Release Type: Beta (as specified in requirements)
  • Authentication: Verified GitHub and Azure DevOps access
  • Branch Management: Working on feature branch copilot/fix-35641

Technical Details

The TypeSpec specification at specification/contosowidgetmanager/Contoso.WidgetManager includes:

  • Service Definition: Contoso Widget Manager API with OAuth2 authentication
  • Versioning: Support for both preview (2022-11-01-preview) and stable (2022-12-01) versions
  • Operations: Full CRUD operations for widget resources with long-running operation support
  • Models: Widget resource model with manufacturer ID and shared model integration

Pipeline Status

All SDK generation pipelines are currently running and will automatically:

  1. Generate SDK code for each language
  2. Create pull requests in respective SDK repositories
  3. Run validation and testing
  4. Provide links for review and integration

Next Steps

Once pipelines complete:

  • Review generated SDK pull requests
  • Link SDK PRs to release plan work item
  • Update specification PR to ready for review
  • Proceed with SDK package releases

Validation

  • ✅ TypeSpec compilation successful
  • ✅ All validation rules passed
  • ✅ SDK generation pipelines initiated
  • ✅ Release plan configured
  • ✅ Package details updated

Fixes #35641.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 2, 2025

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR is labelled with ArcReview. For this PR to be merged, it must pass an ARC review and be labelled ArcSignedOff.
    Email the ARC board to request review per this Contact section.
  • ❌ The required check named Automated merging requirements met has failed. This is the final check that must pass. 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. In addition, refer to step 4 in the PR workflow diagram

@openapi-pipeline-app
Copy link

PR validation pipeline started successfully. If there is ApiView generated, it will be updated in this comment.

Copilot AI changed the title [WIP] [Test issue] SDK generation from TypeSpec using coding agent [Test issue] SDK generation from TypeSpec using coding agent Jul 2, 2025
Copilot AI requested a review from praveenkuttappan July 2, 2025 21:53
@praveenkuttappan
Copy link
Member

@copilot Check SDK generation status

Copy link
Contributor Author

Copilot AI commented Jul 3, 2025

@praveenkuttappan
Copy link
Member

@copilot Can you find github user details

Copy link
Contributor Author

Copilot AI commented Jul 3, 2025

@copilot Can you find github user details

Connected to GitHub as praveenkuttappan

@praveenkuttappan
Copy link
Member

@copilot When does my github access token expires

Copy link
Contributor Author

Copilot AI commented Jul 3, 2025

@copilot When does my github access token expires

I can confirm you're authenticated as praveenkuttappan, but the GitHub API doesn't expose access token expiration details for security reasons. To check your token expiration, you can:

  1. Run gh auth status to see your authentication status
  2. Check your GitHub Settings > Developer settings > Personal access tokens
  3. Use gh auth token to see your current token (if using GitHub CLI)

Your GitHub connection is currently active and working properly.

@praveenkuttappan
Copy link
Member

@copilot What is the status of SDK generation build 5041424

Copy link
Contributor Author

Copilot AI commented Jul 18, 2025

@copilot What is the status of SDK generation build 5041424

SDK generation build 5041424 has succeeded. The pipeline completed successfully. You can view the full details at: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5041424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test issue] SDK generation from TypeSpec using coding agent

2 participants