[Automation] Generate SDK based on TypeSpec 0.45.11 (fix test) - #49978
Merged
Conversation
|
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
marked this pull request as ready for review
July 29, 2026 08:47
weidongxu-microsoft
requested review from
a team,
benbp,
jrjrguo,
mikeharder,
raych1 and
zhangeugenia
as code owners
July 29, 2026 08:47
|
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. |
Contributor
There was a problem hiding this comment.
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-javafrom 0.45.10 → 0.45.11 (and updated the lockfile accordingly). - Regenerated
azure-ai-translation-documentclient implementation to include anAccept: application/jsonheader in the document batch translation calls. - Updated
azure-ai-translation-documentassets.jsontag 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
XiaofeiCao
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork of #49977 to fix the CI test failure.
The generated test
AIManagerNamespacePropertiesTests.testDeserializeinazure-resourcemanager-containerserviceaimanagerwas failing. Per triage, the failing generated test class was deleted.Related: #49977