[family] Bump Microsoft.Data.Sqlite to ≥ 10.0.13 (pool hands one handle to two users, efcore#39009) #26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Microsoft.Data.Sqlite 10.0.7 (pinned family-wide) has a connection-pool fault that can hand one handle to two users (dotnet/efcore#39009, fixed in 10.0.13). scadaproj#25 (Secrets 0.6.4) only shields the Secrets migration with an unpooled connection; other Secrets store operations and the LocalDb consumers (ScadaBridge, OtOpcUa) are still exposed. Bump Microsoft.Data.Sqlite (and the matching SQLitePCLRaw transitive pin, currently 2.1.12) to ≥ 10.0.13 in each library's Directory.Packages.props and in every app, then republish/re-pin. Check NuGetAudit after.
Library part done on main
1baa384: Microsoft.Data.Sqlite 10.0.7 → 10.0.13 in Secrets, LocalDb and Auth (GalaxyRepository and Overview don't use it). 10.0.13 pulls SQLitePCLRaw.bundle_e_sqlite3 2.1.13, so the lib.e_sqlite3 pin moved 2.1.12 → 2.1.13 (else NU1109).dotnet list package --vulnerable --include-transitiveclean in all three. Tests green: Secrets 224/17/49/196/38, LocalDb 216, Auth 141/19/153/18. Versions (unpublished): Secrets 0.6.5, LocalDb 0.3.5, Auth 0.4.3. App pins today: OtOpcUa 10.0.7 + bundle 2.1.12; ScadaBridge 10.0.7 + lib 2.1.12 (+ EF Core Sqlite 10.0.7); mxaccessgw 10.0.7 + lib 2.1.12; HistorianGateway 10.0.7 + lib 3.50.3 (different native line). Per-app issues filed; keeping this open as the tracker until they land.All four apps now pin the fixed versions on their default branches (verified from origin 2026-11-09): OtOpcUa Microsoft.Data.Sqlite 10.0.13 + SQLitePCLRaw.bundle_e_sqlite3 2.1.13; ScadaBridge, mxaccessgw, HistorianGateway Microsoft.Data.Sqlite 10.0.13 + SQLitePCLRaw.lib.e_sqlite3 2.1.13 (ScadaBridge also EF Core Sqlite 10.0.13, #98). Their direct/CPM pins override the 10.0.7 the published library versions bring transitively, so the efcore#39009 exposure is closed in every app build. The library side (Secrets 0.6.6 / LocalDb 0.3.6 / Auth 0.4.4 on 10.0.13) is in source and rides the next normal publish. Not deployed: the wonder boxes still run older builds.