Skip to content

Add missing SQLitePCLRaw.bundle_e_sqlite3 reference to SQLite benchmarks#38294

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-efcore-sqlite-benchmarks
Closed

Add missing SQLitePCLRaw.bundle_e_sqlite3 reference to SQLite benchmarks#38294
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-efcore-sqlite-benchmarks

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

SQLitePCLRaw 3.x registers the native provider via [ModuleInitializer] in bundle packages. Since #36551 bumped to 3.x, EFCore.Sqlite.Benchmarks has no bundle reference and every benchmark silently fails at [GlobalSetup] with You need to call SQLitePCL.raw.SetProvider(). BDN marks all methods NA and exits 0, so CI has reported green-with-zero-measurements for ~122 builds.

  • Added <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" /> to benchmark/EFCore.Sqlite.Benchmarks/EFCore.Sqlite.Benchmarks.csproj (version centrally managed in Directory.Packages.props)

SQLitePCLRaw 3.x requires a bundle package reference to register the
provider via ModuleInitializer. Without it, all SQLite benchmarks fail
with "You need to call SQLitePCL.raw.SetProvider()".

Agent-Logs-Url: https://github.com/dotnet/efcore/sessions/2835a5c3-ee54-4940-98c4-975848ab0862

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix EFCore.Sqlite.Benchmarks silent failure due to missing bundle reference Add missing SQLitePCLRaw.bundle_e_sqlite3 reference to SQLite benchmarks May 19, 2026
Copilot AI requested a review from AndriySvyryd May 19, 2026 00:52
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.

[Benchmarks] EFCore.Sqlite.Benchmarks silently fails since SQLitePCLRaw 3.x bump — missing bundle reference

2 participants