You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the provider-independent inbox acceptance cases from #42/#234 now, without waiting for MongoDB.Driver Native AOT support. Existing PostgreSQL/EF tests in tests/Relayer.Outbox.PostgreSql.Tests/InboxTests.cs already exercise the behavior, but cannot be inherited by another provider.
Scope and acceptance criteria:
Extract a shared inbox contract suite under tests/Shared, with a PostgreSQL/EF adapter against real PostgreSQL.
Cover atomic business/inbox/outbox commit before settlement, duplicate telemetry, identity scoped by consumer, concurrent commit and rollback, rollback on handler failure/cancellation/non-complete settlement, and redelivery after acknowledgement loss.
Keep deterministic provider-specific contention observation in the adapter; do not replace native transaction or conflict semantics.
Retain PostgreSQL-specific configuration, SQL failure and disposal tests in the existing suite.
Document how future providers reuse the inbox contracts. Run inherited cases and the remaining PostgreSQL inbox tests, plus the documentation build.
This is an independently mergeable sibling under #42. MongoDB native sessions, transaction conflict retries, disposal behavior and the MongoDB adapter remain #234, blocked by #233. No production API change or MongoDB support claim is included.
Activity
test: extract shared inbox transaction contracts (#253)
test: extract shared inbox transaction contracts (#253) (#254)