M9-S3: seller query endpoints + ExtendedBiddingTriggered handler carry-forward#106
Merged
Merged
Conversation
…y-forward Obligations BC: GET /api/obligations/status?sellerId= — pure IQuerySession read over the existing ObligationStatusView inline projection. Settlement BC: SellerSettlementSummary handler-driven projection from SettlementCompleted, with GET /api/settlement/summaries?sellerId= endpoint. Rides the settlement-settlement-events queue alongside PendingSettlementHandler under Separated dispatch. Listings BC: AuctionStatusHandler.Handle(ExtendedBiddingTriggered) advances CatalogListingView.ScheduledCloseAt; publish route added to listings-auctions-events in Program.cs. Cache-bridge burst-final hardening evaluated and deferred — the fix is localised but affects three SPAs and the seller cache bridge doesn't exist yet; natural landing point is the @critterbids/shared extraction (M9-S5/S7). All five seller-facing endpoint gaps from the M9 milestone audit are now closed. 10 new integration tests (326 total, 0 failures).
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
GET /api/obligations/status?sellerId=— pureIQuerySessionread over the existingObligationStatusViewinline projection (no new types, no module changes)SellerSettlementSummaryhandler-driven projection fromSettlementCompleted+GET /api/settlement/summaries?sellerId=endpoint; ridessettlement-settlement-eventsqueue alongsidePendingSettlementHandlerunder Separated dispatchAuctionStatusHandler.Handle(ExtendedBiddingTriggered)advancesCatalogListingView.ScheduledCloseAt; publish route added tolistings-auctions-events(M8-S7 Finding 1 carry-forward)@critterbids/sharedextraction (M9-S5/S7)All five seller-facing endpoint gaps from the M9 milestone audit (§2) are now closed. Backend precursor slices (S2 + S3) complete.
Build: 0 errors, 2 CS0108 warnings (baseline)
Tests: 326 all pass (316 baseline + 10 new across 3 BCs)
Test plan
GET /api/obligations/status?sellerId=returns seller's obligation views (happy path, empty, seller isolation)SellerSettlementSummaryHandlercreates summary fromSettlementCompleted(creation + redelivery idempotency)GET /api/settlement/summaries?sellerId=returns seller's settlements (happy path, empty, seller isolation)ExtendedBiddingTriggeredhandler advancesScheduledCloseAton open listingsExtendedBiddingTriggeredhandler no-ops on Withdrawn listings