Silent film with burned-in narrationOpen WebM directly
Stock projection / 43.36s
Sold-out products leave the search results.
A warehouse update marks a product as sold out, and it disappears from search. It returns when new stock is received.
About this film · test data
Recorded in July 2026 in the development environment using test data. The film preserves the interface and narration from that time; the linked guide explains the implementation and later changes. AI tools helped prepare this material.
What to notice
- Start sellableThe Astra wireless headset appears with six available units.
- Warehouse write-offStock records the reduction and the product leaves normal storefront search.
- Goods receiptA goods receipt adds twelve units in Stock.
- Discovery returnsThe same product reappears after the updated availability reaches Catalog search.
Why it matters
Search follows stock updates so customers can find products that are available to buy.
The visibility path may be asynchronous, but it never grants inventory. Checkout still asks Stock for the authoritative reservation.
Behind the scenes
Stock changeSave the full availability update
⇢
Kafka eventEvent keyed by stock aggregate
⇢
Catalog projectionAvailability + durable index work
⇢
Search visibilityElasticsearch document updated
What this film shows
On screen
A warehouse write-off removes the product from search and a receipt restores it.
Not claimed
Search still keeps a product visible while a variant has unknown stock. It hides the product when every Catalog variant is projected out of stock. Recommendation uses stricter eligibility checks. The film does not exercise all these rules.
How we test changesRead about testing and deployment