audit: phase 1 round 03 quality assumptions#519
Closed
samtrion wants to merge 1 commit into
Closed
Conversation
Add Q33-Q48 documenting 16 new falsifiable quality assumptions covering: outbox + EF SaveChangesAsync atomicity, scope mismatch in PublishAsync, OutboxEventHandler double-dispatch, NullMessageTransport silent discard, DefaultTopicNameResolver collisions, ComputeNextRetryAt negative MaxRetryDelay loop, default SendBatchAsync non-atomic double-delivery, STJ polymorphism gap, missing W3C traceparent on outbox boundary, idempotency key length validation, source generator constraint check gap, AddEntityFrameworkOutbox last-wins, EF outbox fetch lacks row locks, MapCommand/MapQuery client-cancel handling, RateLimited vs Prioritized dispatcher exception inconsistency, and EventType column length validation.
Contributor
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Summary
Round 03 of the Phase 1 NetEvolve.Pulse audit — 16 new falsifiable quality assumptions (Q33–Q48), zero overlap with Q01–Q32 from prior rounds.
Coverage pushes into new territory:
SaveChangesAsyncflushing mid-business-tx (Q33), fresh DI scope per Publish breaks atomicity (Q34),OutboxEventHandleropen-generic double-dispatch (Q35),NullMessageTransportsilent discard (Q36).DefaultTopicNameResolvergeneric-arity collisions (Q37),EventTypecolumn length not pre-validated (Q48).ComputeNextRetryAtproduces past timestamps for negativeMaxRetryDelay(Q38).IMessageTransport.SendBatchAsyncnon-atomic + processor treats failure as all-failed → duplicate delivery (Q39).traceparentpropagation across outbox (Q41).AddEntityFrameworkOutbox<TContext>last-wins (Q44).FOR UPDATE SKIP LOCKED(Q45).MapCommand/MapQuerydon't differentiate client-abort from server error (Q46).RateLimitedEventDispatcherswallows post-cancel handler exceptions whilePrioritizedEventDispatcherdoesn't (Q47).Each assumption includes file:line evidence, why-it-matters context, and a falsifiable test idea. Read-only audit; no fixes proposed.
Test plan
DbContextidentity between user scope and outbox scope.ActivityListenercapturing publisher vs processor activity parent IDs.EntityFrameworkOutboxRepositoryinstances concurrently and asserting overlapping fetch sets.Branch:
audit/phase1-r03-qualityReport:
audit/assumptions/round-03-quality.md