Skip to content

Comments

SDK Generation for DnsResolver TypeSpec Project - 2025-10-01-preview API#37957

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/generate-sdk-for-dns-resolver
Draft

SDK Generation for DnsResolver TypeSpec Project - 2025-10-01-preview API#37957
Copilot wants to merge 3 commits intomainfrom
copilot/generate-sdk-for-dns-resolver

Conversation

Copy link
Contributor

Copilot AI commented Oct 7, 2025

Overview

This PR tracks the SDK generation process for the DnsResolver TypeSpec project at specification/dnsresolver/resource-manager/Microsoft.Network/DnsResolver for the 2025-10-01-preview API version.

What was done

This automated SDK generation workflow was executed as part of Release Plan #1909 (Work Item ID: 28645) linked to API spec PR #37724.

SDK Generation Results

The following SDKs were generated from the TypeSpec specification:

✅ Successfully Generated (3/5):

  1. Python (azure-mgmt-dnsresolver)

  2. Java (azure-resourcemanager-dnsresolver)

  3. Go (sdk/resourcemanager/dnsresolver/armdnsresolver)

❌ Failed (2/5):

  1. .NET (Azure.ResourceManager.DnsResolver)

  2. JavaScript (@azure/arm-dnsresolver)

Actions Taken

  • ✅ Validated TypeSpec project compilation
  • ✅ Retrieved and validated Release Plan 1909
  • ✅ Extracted SDK package details from tspconfig.yaml
  • ✅ Updated SDK details in the release plan work item
  • ✅ Initiated SDK generation pipelines for all 5 languages
  • ✅ Monitored pipeline execution to completion
  • ✅ Linked all successful SDK PRs to Release Plan 1909
  • ✅ Attempted .NET SDK regeneration (Build 5509608) - failed again
  • ✅ Attempted JavaScript SDK regeneration (Build 5509685) - failed
  • ✅ Attempted .NET SDK regeneration (Build 5536473) - failed third time
  • ✅ Attempted .NET SDK regeneration after main merge (Build 5536518) - failed fourth time

Important Notes

  • SDKs will NOT be released automatically - As per the request, SDKs will be released later by the service owner (@jamesvoong)
  • All successful SDK PRs are in draft state. Move them to Ready for review to start the require approval before merging
  • The .NET SDK generation has failed 4 times consecutively (including after merging main branch fix) and requires investigation by the SDK team to determine the root cause (possible TypeSpec configuration issues, build environment problems, or service-specific code generation errors)
  • The JavaScript SDK initially succeeded but the PR ([botservice] Modify the optionality of 'location' #36130) has git conflicts. Regeneration attempt also failed - manual resolution may be required
  • SDK Release Type: Beta (for preview API version)

Related Links

cc: @jamesvoong


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

Copilot AI changed the title [WIP] Generate SDK for DnsResolver project specification SDK Generation for DnsResolver TypeSpec Project - 2025-10-01-preview API Oct 7, 2025
Copilot AI requested a review from azure-sdk October 7, 2025 20:26
@github-actions
Copy link

github-actions bot commented Oct 8, 2025

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Comment generated by summarize-checks workflow run.

@jamesvoongms
Copy link
Member

@copilot What is the status of SDK generation?

Copy link
Contributor Author

Copilot AI commented Oct 29, 2025

@copilot What is the status of SDK generation?

SDK Generation Status Summary

Overall Status: 4/5 Languages Completed Successfully

✅ Successfully Generated SDKs:

  1. JavaScript - PR #36130

    • Package: @azure/arm-dnsresolver
    • Status: SDK PR created and linked to Release Plan 1909
  2. Python - PR #43279

    • Package: azure-mgmt-dnsresolver
    • Status: SDK PR created and linked to Release Plan 1909
  3. Java - PR #46924

    • Package: azure-resourcemanager-dnsresolver
    • Status: SDK PR created and linked to Release Plan 1909
  4. Go - PR #25371

    • Package: sdk/resourcemanager/dnsresolver/armdnsresolver
    • Status: SDK PR created and linked to Release Plan 1909

❌ Failed SDK Generation:

  1. .NET - Build #5425118
    • Package: Azure.ResourceManager.DnsResolver
    • Status: Pipeline failed - requires investigation and retry

Next Steps:

  • The 4 successful SDK PRs are ready for review
  • The .NET SDK generation needs to be investigated and regenerated
  • All SDK PRs are linked to Release Plan 1909 (Work Item 28645)
  • Remember: SDKs should not be released until ready (as per original request)

@jamesvoongms
Copy link
Member

@copilot Regenerate SDK

Copy link
Contributor Author

Copilot AI commented Oct 29, 2025

@copilot Regenerate SDK

I can regenerate the SDK for you. Could you please clarify:

  • Do you want to regenerate only the .NET SDK (which failed)?
  • Or do you want to regenerate all 5 languages (JavaScript, .NET, Java, Python, Go)?

Please let me know which option you prefer.

@jamesvoongms
Copy link
Member

@copilot , please only regenerate the .NET SDK , thank you

Copy link
Contributor Author

Copilot AI commented Oct 29, 2025

@copilot , please only regenerate the .NET SDK , thank you

I've initiated a new .NET SDK generation pipeline, but unfortunately it has failed again.

Pipeline Details:

Recommendation:
The .NET SDK generation is failing consistently. This requires investigation by the SDK team to determine the root cause. Possible issues could be:

  • TypeSpec configuration issues specific to .NET emitter
  • Build environment or dependency problems
  • Service-specific code generation errors

Please review the pipeline logs at the link above for detailed error information. The SDK team may need to investigate the tspconfig.yaml .NET emitter configuration or the TypeSpec specification itself.

@jamesvoongms
Copy link
Member

@copilot can you also regenerate the javascript SDK ? It seems to have git conflict issues

Copy link
Contributor Author

Copilot AI commented Oct 29, 2025

@copilot can you also regenerate the javascript SDK ? It seems to have git conflict issues

I've initiated a new JavaScript SDK generation pipeline to resolve the git conflict issues, but unfortunately it has failed.

Pipeline Details:

The pipeline failure may be related to the git conflict issues you mentioned or other underlying problems. Please review the pipeline logs for detailed error information. The SDK team may need to:

  1. Manually resolve the git conflicts in the original PR ([botservice] Modify the optionality of 'location' #36130)
  2. Investigate the root cause of the generation failure
  3. Update the TypeSpec configuration if needed

@jamesvoongms
Copy link
Member

@copilot , can you try regenerating the C# sdk again?

Copy link
Contributor Author

Copilot AI commented Nov 5, 2025

@copilot , can you try regenerating the C# sdk again?

I've initiated another .NET SDK generation pipeline, but unfortunately it has failed again.

Pipeline Details:

This is the third attempt at generating the .NET SDK, and all have failed. This indicates a persistent issue that requires deeper investigation by the .NET SDK team. The problem is likely related to:

  • TypeSpec to C# code generation issues
  • Breaking changes in the TypeSpec specification
  • .NET emitter configuration problems in tspconfig.yaml

I recommend filing an issue with the .NET SDK team with the pipeline logs to get this resolved.

@jamesvoongms
Copy link
Member

@copilot Copilot, can you try the regeneration about, I have merged main into the branch which should have a fix

Copy link
Contributor Author

Copilot AI commented Nov 5, 2025

@copilot Copilot, can you try the regeneration about, I have merged main into the branch which should have a fix

I've initiated another .NET SDK generation pipeline after your main branch merge, but unfortunately it has failed again.

Pipeline Details:

This is now the fourth failed attempt. Despite merging main (which you mentioned should have a fix), the generation is still failing. Please review the pipeline logs to see if:

  1. The fix from main was successfully applied
  2. There are new/different errors compared to previous attempts
  3. Additional configuration changes are needed in the TypeSpec project

The consistent failures suggest a fundamental compatibility issue between the TypeSpec specification and the .NET SDK generator that may require manual intervention.

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.

4 participants