Skip to content

Refine handling of moving between replay and continue states #3337

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Wraith2
Copy link
Contributor

@Wraith2 Wraith2 commented May 7, 2025

fixes #3336

Refines moving between ReplayRunning and ContinueRunning states fixing an issue with varbinary reads.

@cheenamalhotra
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cheenamalhotra cheenamalhotra added this to the 6.1-preview2 milestone May 7, 2025
Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 59.45946% with 15 lines in your changes missing coverage. Please review.

Project coverage is 59.54%. Comparing base (b8948f2) to head (6485691).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../netcore/src/Microsoft/Data/SqlClient/TdsParser.cs 0.00% 5 Missing ⚠️
...nt/netfx/src/Microsoft/Data/SqlClient/TdsParser.cs 0.00% 5 Missing ⚠️
...c/Microsoft/Data/SqlClient/TdsParserStateObject.cs 78.26% 5 Missing ⚠️

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

HEAD has 1 upload less than BASE
Flag BASE (b8948f2) HEAD (6485691)
addons 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3337      +/-   ##
==========================================
- Coverage   67.04%   59.54%   -7.51%     
==========================================
  Files         300      293       -7     
  Lines       65376    65077     -299     
==========================================
- Hits        43831    38749    -5082     
- Misses      21545    26328    +4783     
Flag Coverage Δ
addons ?
netcore 62.85% <68.75%> (-9.34%) ⬇️
netfx 60.79% <68.75%> (-4.40%) ⬇️

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.

@Wraith2
Copy link
Contributor Author

Wraith2 commented May 9, 2025

The CI failures are caused by nuget timeouts.
I'll need this merged to build on it and fix #3331

@Wraith2 Wraith2 requested a review from a team as a code owner May 20, 2025 19:35
@Wraith2
Copy link
Contributor Author

Wraith2 commented May 20, 2025

Can I get CI and review on this please? There are further fixes waiting that build on this one.

@mdaigle
Copy link
Contributor

mdaigle commented May 20, 2025

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Wraith2
Copy link
Contributor Author

Wraith2 commented May 20, 2025

I'm not sure if the CI is having problems or there is a real issue with the code.

@mdaigle
Copy link
Contributor

mdaigle commented May 21, 2025

It looks like one job timed out, but everything else succeeded. I kicked that one job.

@Wraith2
Copy link
Contributor Author

Wraith2 commented May 21, 2025

When I looked (and subsequently commented) the CI had been running for 3 hours without either timing our or completing so i was concerned that I'd introduced a hanging behaviour. If it managed to complete then I haven't

Can you start the CI please.

@mdaigle
Copy link
Contributor

mdaigle commented May 21, 2025

/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 comments.

@@ -638,7 +638,7 @@ DROP TABLE IF EXISTS [{tableName}]
command.Parameters.Clear();
var result = (byte[])await command.ExecuteScalarAsync();

Debug.Assert(data.SequenceEqual(result));
Assert.Equal(data, result);
Copy link
Contributor

Choose a reason for hiding this comment

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

Great thanks! We don't run tests in Debug (yet) so this wouldn't have failed during CI if there was an actual problem.

@paulmedynski
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

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.

6.1 Preview 1 Bug reading VARBINARY
4 participants