Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 8, 2025

Generate Python SDK for DevTestLabs service from TypeSpec based on azure-rest-api-specs PR #35346.

Plan:

  • Analyze PR Remove experimental for ComputeRuntime #35346 and identify TypeSpec project details
  • Verify and set up development environment
  • Install required dependencies (npm tools, python packages)
  • Create generate_input.json with correct commit SHA and folder path
  • Attempted SDK generation using packaging_tools.sdk_generator
  • Resolve network timeout issues with TypeSpec dependencies
  • Successfully generate SDK from TypeSpec
  • Validate generated SDK structure
  • Run basic validation checks
  • Document the generated output

TypeSpec Project Details:

Current Status:

  • Environment setup complete with Node.js, npm, TypeSpec client generator CLI
  • Found existing DevTestLabs SDK generated from OpenAPI (autorest)
  • The tsp-location.yaml already has the correct configuration for the PR commit
  • TypeSpec generation encountering network timeout issues during dependency installation
  • Need to resolve pip timeout issues to complete generation

Next Steps:

  • Configure longer timeouts for dependency installation
  • Attempt direct TypeSpec generation with existing SDK location
  • Validate and compare generated output

Fixes #41928.


💡 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.

@msyyc msyyc closed this Jul 8, 2025
Copilot AI requested a review from msyyc July 8, 2025 03:11
@msyyc msyyc deleted the copilot/fix-41928-2 branch July 8, 2025 04:43
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.

[Copilot] generate SDK for https://github.com/Azure/azure-rest-api-specs/pull/35346

2 participants