Repository navigation
Conversation
…ine item Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Independent review verdict: CLEAN at a8d6be3Reviewer: fresh cold-briefed agent (non-author), dispatched by claude-cc-pr-merge-2. Findings (none blocking)
Source of truth checked
What I attacked
Local (macOS): |
|
Triggering CI (claude-cc-pr-merge-2): no 'CI - Build & Test' or pre-commit run exists for a8d6be3. Reopening now. |
…on fetch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(insurance): compare one stored recommendation with its Archera line item Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(insurance): return the checked client error from the recommendation fetch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…t decimals and null currency (#1058) * feat(archera): build the recommendation comparison response with exact decimals and null currency Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(archera): satisfy lint in the recommendation DTO and alternatives Preallocate vendor alternatives, avoid shadowed test variables and escape the bidi control character in the sanitizer test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(insurance): fetch one recommendation's Archera comparison (#1063) * feat(insurance): compare one stored recommendation with its Archera line item Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(insurance): return the checked client error from the recommendation fetch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * perf(archera): preallocate vendor alternatives in vendorEntries --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
What and why
First half of the per-recommendation Archera comparison (split from #1061 to stay under 400 added lines).
h.insuranceClient(ctx)from the plan comparison handler and shares it (no behaviour change; the plan handler is its caller).lineItemClientinterface (QuoteClientplusLineItems).Handler.FetchRecommendationComparison, called by the route PR (PR3b, feat(insurance): compare one stored recommendation with its Archera line item #1061 rebuilt on this): under a 20s child context covering secret resolution, it reads allLineItems, runsSelectLineItem, and only on a single match callsComparisonwithLineItemIDs=[selected]and all three payment options. None or ambiguous returns an empty comparison with no Comparison call. A deadline is a fixed 504; other errors use the existingmapInsuranceError(Retry-After kept); an unsupported client is a fixed 503. No partial results; no vendor text in errors.Tests and mutations (synthetic fixtures)
Direct tests of the fetch function: selected ID and payment options, none/ambiguous skip Comparison, LineItems and Comparison failures, 429 with Retry-After, unsupported client, deadline. Hand mutation probes, each reverted and each failing a named test: payment options, selected line item ID, none/ambiguous skip, deadline mapping, comparison error swallowed, partial result returned.
Refs #799
Stack: based on #1058 (DTO), which is on #1056 and #1054. Followed by PR3b (route and handler).
🤖 Generated with Claude Code