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

[release/7.0] Change some exception types thrown in Tar APIs #74893

Merged
merged 17 commits into from
Sep 2, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 31, 2022

Backport of #74845 to release/7.0

/cc @carlossanlop

Customer Impact

We reviewed all the exceptions thrown by the System.Formats.Tar APIs and determined some of them need to be changed to a more appropriate one.

We also found a couple of bugs in places where the exceptions had to be thrown but weren't, and included them in the PR.

Testing

Added many more tests to fill some gaps, and adapted the existing ones to the new exceptions.

Risk

New assembly. The risk is low.

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

…or called by all other public conversion constructors. Add missing test gap.
…ser tries to set an empty string. Add tests.
@carlossanlop
Copy link
Member

@rainersigwald @baronfel heads up: if this gets approved and merged, it will go into RC2 and may cause failures in the sdk containers repo in the dependency updates PR. I can help fix the problems if you ping me.

@carlossanlop
Copy link
Member

This PR was executed 2h before the CI went down for maintenance. I asked the maintenance folks if the running CI legs were allowed to finish, or killed silently. If the former, then this is good. If the latter, I'll have to close and reopen the PR to re-run CI. Awaiting confirmation.

@carlossanlop
Copy link
Member

Update: I was told the safe thing to do is to close and reopen PRs that may have been impacted by the system being down. The CI runs might have kept running during maintenance, but the results probably didn't flow to GitHub.

@carlossanlop carlossanlop reopened this Sep 1, 2022
@carlossanlop
Copy link
Member

This was approved by @danmoseley for backport in the main PR: #74845 (comment)

Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

:shipit:

@carlossanlop carlossanlop merged commit e5d8792 into release/7.0 Sep 2, 2022
@carlossanlop carlossanlop deleted the backport/pr-74845-to-release/7.0 branch September 2, 2022 15:55
@ghost ghost locked as resolved and limited conversation to collaborators Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants