feat(vehicles): model-browse fallback for no-catalog VINs #149
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a VIN can't be decoded by any source but its WMI brand is known and
has a browse-able catalog (SERVICE_TO_BRAND), return a structured
{ noCatalog: { brandName, display }, vin } 200 response instead of
dead-ending. The web surfaces a "kataloğunu modelden incele" CTA that
deep-links into the existing /dashboard/catalog browse, where the parts
usually exist (Fiat Egea NM4356 -> PL24 TIPO-EGEA; old Renault VF1 -> 147k
emex parts) but aren't reachable by the specific VIN's index entry.
Brands with no browse catalog (Honda, Maserati, Alfa, ...) keep the
existing informative dead-end. New analytics: vin_decode_no_catalog +
vin_no_catalog_browse_clicked (this case no longer emits vin_decode_error).
Tests: 2 api (browseable -> fallback, non-browseable -> throws) + 1 web
(CTA renders, no error banner). RCA writeup:
/home/s/ss/katalogsiz-vin-rca-2026-06-23.md
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
When a VIN can't be decoded by any source but its WMI brand is known and has a browse-able catalog (SERVICE_TO_BRAND), return a structured { noCatalog: { brandName, display }, vin } 200 response instead of dead-ending. The web surfaces a "kataloğunu modelden incele" CTA that deep-links into the existing /dashboard/catalog browse, where the parts usually exist (Fiat Egea NM4356 -> PL24 TIPO-EGEA; old Renault VF1 -> 147k emex parts) but aren't reachable by the specific VIN's index entry. Brands with no browse catalog (Honda, Maserati, Alfa, ...) keep the existing informative dead-end. New analytics: vin_decode_no_catalog + vin_no_catalog_browse_clicked (this case no longer emits vin_decode_error). Tests: 2 api (browseable -> fallback, non-browseable -> throws) + 1 web (CTA renders, no error banner). RCA writeup: /home/s/ss/katalogsiz-vin-rca-2026-06-23.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>