Class: Events::RetailerProbeCompleted

Inherits:
ApplicationEvent show all
Defined in:
app/events/events.rb

Overview

Published by CatalogItemRetailerProbe after_create_commit for every
terminal-status probe (success / failed / not_found / product_mismatch),
covering both probe paths (Retailer::PriceChecker sync checks and the
Oxylabs batch Retailer::WebhookResultProcessor). Listeners reconcile
probe-derived dependents — ListingIssues::RetailerProbeCompletedHandler
syncs the item's retailer_probe listing issues — so a probe result takes
effect within seconds instead of waiting for the next daily
ListingIssues::Sync sweep (which stays as the backstop, and as the only
path for non-probe state changes like inventory).

Payload:
catalog_item_id: Integer
probe_id: Integer — CatalogItemRetailerProbe id

Method Summary

Methods inherited from ApplicationEvent

#data