Conversation
5 tasks
Copilot
AI
changed the title
[WIP] Register IEventOutbox as SQLiteEventOutbox in AddSQLiteOutbox
feat: Register IEventOutbox as SQLiteEventOutbox in AddSQLiteOutbox()
Apr 13, 2026
Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/2386aa0d-7097-45df-9338-3377ee00e20b Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
08a3a55 to
864976d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #371 +/- ##
==========================================
+ Coverage 84.98% 85.34% +0.35%
==========================================
Files 106 107 +1
Lines 3837 3897 +60
Branches 351 354 +3
==========================================
+ Hits 3261 3326 +65
+ Misses 489 485 -4
+ Partials 87 86 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
@copilot Also add Integration tests similar to |
Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/96f9106f-396b-4d74-b93f-2bb8ed177738 Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
…eAdoNetInitializer Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/96f9106f-396b-4d74-b93f-2bb8ed177738 Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
Contributor
Author
Added in commit
All 203 integration tests pass. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IEventOutboxwas not registered when using SQLite, causing DI to fall back toOutboxEventStorewithout the SQLite-specific transaction scope wiring. Mirrors the SQL Server and PostgreSQL provider patterns.Changes
New:
SQLiteEventOutboxIEventOutboximplementation for SQLite — delegates toIOutboxRepository.AddAsync(), which enlists in any activeSqliteTransactionviaIOutboxTransactionScopeOutboxMessagewithPendingstatusNew:
AddSQLiteOutbox()overloadsFunc<IServiceProvider, string>factory,Action<OutboxOptions>) — all callAddOutbox()internally and registerIEventOutbox → SQLiteEventOutbox(Scoped)UseSQLiteOutbox()retained for backward compatibilityNew:
AddSQLiteOutboxTransactionScope<TUnitOfWork>()IOutboxTransactionScope(Scoped) soSQLiteEventOutboxenlists in the caller'sSqliteTransactionautomaticallyTests
SQLiteEventOutboxTests: constructor validation,StoreAsyncwith/without transaction scope, correlation ID overflow, stored message field assertionsSQLiteExtensionsTests: registration assertions for all three overloads, verifiesIEventOutbox → SQLiteEventOutbox(Scoped),AddSQLiteOutboxTransactionScopecoverageSQLiteAdoNetOutboxTests: integration tests mirroringSqlServerAdoNetOutboxTests— usesSQLiteAdoNetInitializerto create the outbox schema via ADO.NET and configuresAddSQLiteOutbox(connectionString), inheriting the fullOutboxTestsBasetest suite