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] Fix FormattingHelpers.CountDigits(UInt128) and add more tests for Int128/UInt128.ToString #74536

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #74501 to release/7.0

/cc @tannergooding

Customer Impact

Developers will not be able to successfully format certain Int128 or UInt128 strings

Testing

Additional tests were added covering the explicitly flagged scenarios as well as other boundary values to validate correct formatting.

Risk

Minimal, there are now tests explicitly covering each of the possible CountDigits code paths. This code path is only used by Int128/UInt128 which are new types in .NET 7

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@tannergooding tannergooding added the Servicing-consider Issue for next servicing release review label Aug 24, 2022
@danmoseley
Copy link
Member

danmoseley commented Aug 24, 2022

Approved -- customer reported defective/incomplete 7.0 scenario, and risk of change is limited to the new feature. Also, it's memory corruption

@danmoseley danmoseley removed the Servicing-consider Issue for next servicing release review label Aug 24, 2022
@danmoseley
Copy link
Member

I'm not sure whether were using the labels or not right now -- the others apparently aren't .. removing labels, but it's approved

@ghost
Copy link

ghost commented Aug 25, 2022

Tagging subscribers to this area: @dotnet/area-system-runtime
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #74501 to release/7.0

/cc @tannergooding

Customer Impact

Developers will not be able to successfully format certain Int128 or UInt128 strings

Testing

Additional tests were added covering the explicitly flagged scenarios as well as other boundary values to validate correct formatting.

Risk

Minimal, there are now tests explicitly covering each of the possible CountDigits code paths. This code path is only used by Int128/UInt128 which are new types in .NET 7

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Runtime

Milestone: -

@carlossanlop
Copy link
Member

Approved and signed off.
CI is green.
Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 621ad66 into release/7.0 Aug 25, 2022
@carlossanlop carlossanlop deleted the backport/pr-74501-to-release/7.0 branch August 25, 2022 18:14
@ghost ghost locked as resolved and limited conversation to collaborators Sep 24, 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