Flaky Test: Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.actionWithoutCommitting_DoesNotLeakSession
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Locate Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests and focus on actionWithoutCommitting_DoesNotLeakSession. Re-run that test, review workflow run 27980378389, and compare its session-leak timing with the neighboring leak tests. Done means the test reliably passes without masking genuine session leaks.
Written by the indexing model from the issue text.
Description
The automated dependency reviewer bot detected a flaky test failure in PR #766.
Failed Test: Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.actionWithoutCommitting_DoesNotLeakSession
Failure Summary: Test actionWithoutCommitting_DoesNotLeakSession failed, likely due to session leak detection timing/flakiness.
Workflow Run: https://github.com/googleapis/dotnet-spanner-entity-framework/actions/runs/27980378389
Log Excerpt:
actionWithoutCommitting_DoesNotLeakSession [14 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3055360Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.AddUniqueConstraintOperation [10 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3056470Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkMockUsingMutationsServerTests.UpdateFailsIfVersionNumberChanged [17 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3057560Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.CreateTableOperation_no_key [12 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3058550Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseOuterJoin [12 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3569410Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseStringContains [8 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3608970Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkMockUsingMutationsServerTests.VersionNumberIsAutomaticallyGeneratedOnInsertAndUpdate [12 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3610580Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.AddForeignKeyOperation_with_name [14 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3611620Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseStringConcat [7 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3613110Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkMockUsingMutationsServerTests.InsertTicketSale [28 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3614160Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.AddColumnOperation_with_maxLength_no_model [26 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3616010Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanInsertRowWithCommitTimestampAndComputedColumn [24 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.3617250Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseSpannerDateProperties [10 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4082840Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.AddPrimaryKeyOperation [12 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4105070Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.AddColumnOperation_with_defaultValueSql [15 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4106450Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.AbortedReadWriteTransaction_DoesNotLeakSession [22 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4107590Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.DropCheckConstraintOperation [11 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4108610Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseLongToString [14 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4109590Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseDateTimeAddTicks [6 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4110600Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.RenameSequenceOperation [15 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4111650Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.FindSingerAsync_ReturnsNull_IfNotFound [5 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4607210Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.CanUseSpannerNumericListCount [9 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4619730Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.Migrations.SpannerMigrationSqlGeneratorTest.CreateTableOperation [16 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4644100Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.FindSingerAsync_ReturnsInstance_IfFound [3 ms]
unit-tests (macos-latest) UNKNOWN STEP 2026-06-22T20:15:54.4677120Z Passed Google.Cloud.EntityFrameworkCore.Spanner.Tests.EntityFrameworkSessionLeakMockServerTests.NestedTransactionsStartNewTransactions [6 ms]
unit-te
This issue was automatically created by the dependency reviewer bot.
- Dominant language
- C#
- Stars
- 34
- Forks
- 13
- Avg merge
- 5h 53m
- Merged PRs (30d)
- 11
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleapis/dotnet-spanner-entity-framework
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
googleapis/dotnet-spanner-entity-framework#775 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
googleapis/dotnet-spanner-entity-framework#777 ·
Maintainers usually reply within 1 day
-
priority: p2 samples type: bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
googleapis/dotnet-spanner-entity-framework#722 ·
Maintainers usually reply within 1 day
-
priority: p2 type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
googleapis/dotnet-spanner-entity-framework#712 ·
Maintainers usually reply within 1 day
-
priority: p3 type: feature request
Difficulty 4/5 3-5 days Newbie friendliness 45/100
googleapis/dotnet-spanner-entity-framework#681 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in googleapis/dotnet-spanner-entity-framework
Similar issues
-
:watch: Not Triaged dotnet-target-version
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
copilot documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
dotnet/dotnet-api-docs#13124 ·
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
BHoM/MidasCivil_Toolkit#441 ·