Skip to content

Conversation

@weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Aug 8, 2025

Currently, these patches are to revert the changes to accept headers on request without response body.

Copy link
Member Author

@weidongxu-microsoft weidongxu-microsoft Aug 11, 2025

Choose a reason for hiding this comment

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

This file name change is not due to the adding of patches in "sync_sdk" apply_patches

Just my feeling that we'd better to make this file .patch too (instead of .diff).

@@ -0,0 +1,2009 @@
From 0c42d779a7065394e10a48d3985e81702eb754b3 Mon Sep 17 00:00:00 2001
Copy link
Member

Choose a reason for hiding this comment

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

Curious how are those patch files generated? By agent?

Copy link
Member

Choose a reason for hiding this comment

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

How other languages handle accepted header changes?

Copy link
Member Author

@weidongxu-microsoft weidongxu-microsoft Aug 12, 2025

Choose a reason for hiding this comment

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

These patches are generated by my reverts on SDK PR Azure/azure-sdk-for-java#46302
git format-patch -n 1 <sha>

At present, only .NET and Java has this "regen" step.
.NET has recording both on data-plane and mgmt-plane. On data-plane, they would let Redmond to solve. On mgmt-plane, they plan to update TestBase to let test-proxy ignore this header.

Copy link
Member

@haolingdong-msft haolingdong-msft Aug 14, 2025

Choose a reason for hiding this comment

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

Thanks! curious why do we change the generated sdk, instead of updating the recording to reflect the real sdk serialized headers?

@weidongxu-microsoft weidongxu-microsoft merged commit 38d6f27 into main Aug 13, 2025
6 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the eng_sync-sdk-bump-commit branch August 13, 2025 05:56
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