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

Merge | TdsParser cosmetic changes #3222

Merged
merged 13 commits into from
Apr 3, 2025

Conversation

edwardneal
Copy link
Contributor

@edwardneal edwardneal commented Mar 17, 2025

This cleans up the diff of TdsParser. Contributes to #2953.

I recommend disabling whitespace when viewing this, it'll bring the PR size down to +239/-148.

Most of TdsParser is pretty similar. We've refactored a few methods, some of the members are in different orders and there are other cosmetic differences though, so this needs to be aligned before we can see where the true differences lie. This PR is the first of a few which do that. I'm fairly sure that once we've done that, only a few dozen lines of code will truly be different.

This dovetails with #2985, which handles some of the refactoring.

If someone from the SqlClient team can run CI, this should be enough to validate it. I don't expect that anything will have changed in the compiled DLL.

@paulmedynski
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

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

Need comment from @benrr101 regarding constrainted regions.

Copy link

codecov bot commented Mar 17, 2025

Codecov Report

Attention: Patch coverage is 50.29586% with 84 lines in your changes missing coverage. Please review.

Project coverage is 66.02%. Comparing base (e0fa87b) to head (05d8a51).
Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
.../netcore/src/Microsoft/Data/SqlClient/TdsParser.cs 34.37% 63 Missing ⚠️
...nt/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs 71.23% 21 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (e0fa87b) and HEAD (05d8a51). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (e0fa87b) HEAD (05d8a51)
addons 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3222      +/-   ##
==========================================
- Coverage   72.64%   66.02%   -6.63%     
==========================================
  Files         288      282       -6     
  Lines       59600    59331     -269     
==========================================
- Hits        43299    39173    -4126     
- Misses      16301    20158    +3857     
Flag Coverage Δ
addons ?
netcore 68.82% <34.37%> (-6.35%) ⬇️
netfx 65.00% <71.23%> (-6.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulmedynski paulmedynski self-assigned this Mar 21, 2025
@paulmedynski paulmedynski added this to the 6.1-preview1 milestone Apr 2, 2025
@mdaigle mdaigle self-assigned this Apr 2, 2025
@mdaigle mdaigle merged commit ae02b60 into dotnet:main Apr 3, 2025
123 checks passed
@edwardneal edwardneal deleted the merge/tdsparser-diff-round-1 branch April 3, 2025 20:38
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