Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TestProxy from Net6 to Net8 #9012

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

JimSuplizio
Copy link
Member

@JimSuplizio JimSuplizio commented Sep 19, 2024

I was going to update TestProxy by itself in its own PR but, unfortunately, Azure.Sdk.Tools.Assets.MaintenanceTool.sln has a dependency on TestProxy which required both projects to be updated.

I removed the conditional includes from the TestProxy since net5 is deader than disco. When upgrading the framework to Net8 I also updated Azure.Core and Microsoft.VisualStudio.Web.CodeGeneration.Design to their latest RTM versions.

I also updated the version of Azure.Code and Azure.Storage.Blobs Azure.Sdk.Tools.TestProxy.StorageBlobSample.csproj to later versions which also did not require code changes.

@scbedd - I know once this is merged and published that I need to create another PR to update eng/common/testproxy/target_version.txt with that version.

@JimSuplizio JimSuplizio self-assigned this Sep 19, 2024
Copy link
Member

@benbp benbp left a comment

Choose a reason for hiding this comment

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

LGTM but I'd get sign-off from @scbedd

@JimSuplizio
Copy link
Member Author

LGTM but I'd get sign-off from @scbedd

@benbp, I wouldn't check this in without @scbedd's approval.

@JimSuplizio JimSuplizio added the Test-Proxy Anything relating to test-proxy requests or issues. label Sep 19, 2024
Copy link
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

Headers.Add used to exception if a duplicate was being added. Now it merely adds the value to the string array for the existing header.

This SHOULDN'T be a behavioral change that causes the target_version update to break anyone, but it's something to watch out for if you see weird test failures.

LMK when the eng/common prs are out, sdk-for-net has an additional change necessary to actually use the new proxy.

@JimSuplizio JimSuplizio merged commit 2176fa3 into Azure:main Sep 19, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test-Proxy Anything relating to test-proxy requests or issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants