Skip to content

Reduce the amount of concurrency in Deadlock_on_inserts_and_deletes_with_dependents_is_handled_correctly to a avoid sporadic timeout on LocalDB - #39180

Merged
AndriySvyryd merged 1 commit into
mainfrom
ReduceTimeoutFlakiness
Oct 8, 2026
Merged

AndriySvyryd merged 1 commit into
mainfrom
ReduceTimeoutFlakiness

Conversation

@AndriySvyryd

Copy link
Copy Markdown
Member

… to a avoid sporadic timeout on LocalDB

…ith_dependents_is_handled_correctly to a avoid sporadic timeout on LocalDB
@AndriySvyryd
AndriySvyryd requested a review from a team as a code owner October 6, 2026 02:38
Copilot AI lite review requested due to automatic review settings October 6, 2026 02:38
@AndriySvyryd AndriySvyryd changed the title Reduce the amount of concurrency in Deadlock_on_inserts_and_deletes_with_dependents_is_handled_correctly... Reduce the amount of concurrency in Deadlock_on_inserts_and_deletes_with_dependents_is_handled_correctly to a avoid sporadic timeout on LocalDB Oct 6, 2026
@AndriySvyryd
AndriySvyryd enabled auto-merge (squash) October 6, 2026 02:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

The revised scheduling may no longer exercise the competing lock sets required by the regression test.

Review effort: Lite
Findings: None

What changed in this PR

Reduces concurrency in the SQL Server deadlock regression test to avoid sporadic LocalDB timeouts.

Changes:

  • Runs operations in smaller sequential waves.
  • Retains repeated iterations and cleanup.
File Review
test/​EFCore.SqlServer.FunctionalTests/​BatchingTest.cs Moderate concern: reduced overlap may weaken deadlock and retry coverage; preserve bounded competing operations.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage

The overall line coverage in commit 1a5139f in the ReduceTimeoutFlakine... branch remains at 76%, unchanged from commit 7adff35 in the main branch.

Show a line coverage summary of the most impacted files.
File main 7adff35 ReduceTimeoutFlakine... 1a5139f +/-
src/EFCore.SqlS...SqlGenerator.cs 91% 94% +3%
src/EFCore.SqlS...ModelFactory.cs 84% 89% +5%
src/EFCore.Rela...odeGenerator.cs 89% 97% +8%
src/EFCore.Cosm...lientWrapper.cs 84% 92% +8%
src/EFCore.SqlS...ssionVisitor.cs 58% 67% +9%
src/EFCore.SqlS...ssionVisitor.cs 77% 88% +11%
src/EFCore.Desi...ngEngineHost.cs 25% 84% +59%
src/EFCore.Cosm...chTranslator.cs 8% 73% +65%
src/EFCore.Desi...delGenerator.cs 3% 92% +89%
src/EFCore.Desi...erExtensions.cs 0% 100% +100%

@AndriySvyryd
AndriySvyryd requested a review from wtgodbe October 7, 2026 00:29
@AndriySvyryd
AndriySvyryd merged commit 3a1c8ff into main Oct 8, 2026
25 checks passed
@AndriySvyryd
AndriySvyryd deleted the ReduceTimeoutFlakiness branch October 8, 2026 23:59
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 9, 2026
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.

3 participants