Skip to content

[AutoPR azure-resourcemanager-deviceregistry]-generated-from-SDK Generation - Java-6811147 - #50400

Open
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-resourcemanager-deviceregistry-6811147
Open

azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-resourcemanager-deviceregistry-6811147

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Configurations: 'specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/DeviceRegistry/tspconfig.yaml', and CommitSHA: '73972b766e47d15a5342c90913a738bb7809ccee' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6811147 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=36491 Submitted by: henrymorales@microsoft.com

Copilot AI lite review requested due to automatic review settings September 10, 2026 17:15
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Sep 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
35 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label Sep 10, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generated stable 1.2.0 release has two blocking issues:

  1. The 2026-11-01 TypeSpec changes break public APIs from the published 1.1.0 package. Changing SystemAssignedServiceIdentity to ManagedServiceIdentity changes existing getter/setter signatures, and renaming the four nested-resource operations from listByResourceGroup to listByNamespace removes the existing Java methods. TypeSpec's @typeChangedFrom and @renamedFrom preserve versioning metadata but do not generate Java compatibility shims. Please preserve the old Java APIs as deprecated compatibility members or use a major package version.

  2. The intentionally retired Credential/Policy preview APIs are still referenced by DeviceRegistryCredentialsAndPoliciesFlowTest. This causes deterministic compilation failures across the Java CI jobs (Policy, BringYourOwnRoot, ActivateBringYourOwnRootRequest, policies(), and credentials() cannot be resolved). Please update or remove the obsolete handwritten test as part of this regeneration.

Source changes:

@weidongxu-microsoft

Weidong Xu (weidongxu-microsoft) commented Sep 11, 2026

Copy link
Copy Markdown
Member

If these changes are expected, please fix the DeviceRegistryCredentialsAndPoliciesFlowTest test. It is owned by service.

Since we are removing APIs from SDK, I guess we will need to bump version to 2.0.0

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

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants