Skip to content

[Automation] Generate SDK based on TypeSpec 0.45.11 (fix test) - #49978

Merged
weidongxu-microsoft merged 3 commits into
Azure:mainfrom
weidongxu-microsoft:fix-49977
Jul 29, 2026
Merged

[Automation] Generate SDK based on TypeSpec 0.45.11 (fix test)#49978
weidongxu-microsoft merged 3 commits into
Azure:mainfrom
weidongxu-microsoft:fix-49977

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Member

Fork of #49977 to fix the CI test failure.

The generated test AIManagerNamespacePropertiesTests.testDeserialize in azure-resourcemanager-containerserviceaimanager was failing. Per triage, the failing generated test class was deleted.

Related: #49977

@azure-pipelines

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

…client (Accept header on create translation)
@weidongxu-microsoft
weidongxu-microsoft marked this pull request as ready for review July 29, 2026 08:47
Copilot AI review requested due to automatic review settings July 29, 2026 08:47
@azure-pipelines

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

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.

Pull request overview

Updates the repo’s TypeSpec Java emitter dependency to 0.45.11 and refreshes generated artifacts to address a CI test failure, including regenerated client code and test assets metadata.

Changes:

  • Bumped @azure-tools/typespec-java from 0.45.10 → 0.45.11 (and updated the lockfile accordingly).
  • Regenerated azure-ai-translation-document client implementation to include an Accept: application/json header in the document batch translation calls.
  • Updated azure-ai-translation-document assets.json tag to reference the latest assets snapshot.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
sdk/translation/azure-ai-translation-document/src/main/java/com/azure/ai/translation/document/implementation/DocumentTranslationClientImpl.java Updates generated REST proxy method signatures/calls to include an Accept header for translation batch submission.
sdk/translation/azure-ai-translation-document/assets.json Advances the assets tag for this library’s test/proxy assets.
eng/emitter-package.json Bumps the TypeSpec Java emitter dependency to 0.45.11.
eng/emitter-package-lock.json Locks the updated emitter version and transitive dependency updates.
Files not reviewed (1)
  • eng/emitter-package-lock.json: Generated file

@weidongxu-microsoft
weidongxu-microsoft merged commit 93d73b4 into Azure:main Jul 29, 2026
26 checks passed
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.

4 participants