Skip to content

Merge | Port #528 and #2091 to netfx #3376

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

Merged
merged 2 commits into from
May 29, 2025
Merged

Conversation

edwardneal
Copy link
Contributor

Description

This ports an earlier set of memory usage reductions from netcore to netfx.

Issues

Relates to #1261.
Ports #528 and #2091.

Testing

Unit tests pass locally. I don't see anything specifically targeting these changes, so I assume that they're covered by the overall test suite - they're fairly frequently exercised.

@edwardneal edwardneal requested a review from a team as a code owner May 26, 2025 15:13
@cheenamalhotra
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 2 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.

A couple of spurious ? checks.

I didn't dig into the full logic that was added/modified - I don't have enough experience with SqlCommand for that yet.

@cheenamalhotra
Copy link
Member

/azp run

@cheenamalhotra cheenamalhotra requested a review from a team May 27, 2025 17:25
@cheenamalhotra cheenamalhotra added this to the 6.1-preview2 milestone May 27, 2025
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link

codecov bot commented May 27, 2025

Codecov Report

Attention: Patch coverage is 96.64430% with 5 lines in your changes missing coverage. Please review.

Project coverage is 58.80%. Comparing base (b8948f2) to head (d60c800).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...t/netfx/src/Microsoft/Data/SqlClient/SqlCommand.cs 97.27% 4 Missing ⚠️
...netcore/src/Microsoft/Data/SqlClient/SqlCommand.cs 50.00% 1 Missing ⚠️

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

HEAD has 1 upload less than BASE
Flag BASE (b8948f2) HEAD (d60c800)
addons 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3376      +/-   ##
==========================================
- Coverage   67.04%   58.80%   -8.25%     
==========================================
  Files         300      292       -8     
  Lines       65376    65307      -69     
==========================================
- Hits        43831    38403    -5428     
- Misses      21545    26904    +5359     
Flag Coverage Δ
addons ?
netcore 62.80% <50.00%> (-9.40%) ⬇️
netfx 59.88% <97.27%> (-5.30%) ⬇️

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.

Copy link
Contributor

@benrr101 benrr101 left a comment

Choose a reason for hiding this comment

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

Since this is porting changes into netfx, I'm onboard with these changes

@benrr101 benrr101 merged commit 4ce9c83 into dotnet:main May 29, 2025
237 checks passed
@edwardneal edwardneal deleted the port/pr-2091 branch May 29, 2025 19:25
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