Warehouse → storefront / 43.16s

Stock updates appear without reloading.

A warehouse adjustment marks a product as sold out. Receiving new stock makes it available again. The open product page updates both times without a reload.

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.

Silent film with burned-in narrationOpen WebM directly
About this recording

A recording from the development environment using test data. This copy is preserved in the 16 July 2026 archive.

Related scenario: STK-001-DUAL in the film registry. The link identifies the scenario. The original test report and deployed version were not saved with this copy.

What to notice

  1. Record damageStock checks and saves the warehouse adjustment and its reason.
  2. Product becomes sold outThe open storefront receives the resulting availability state.
  3. Record a receiptStock records the newly received quantity.
  4. The product can be bought againThe connected product page becomes sellable again without reload.

Why it matters

The product page displays stock updates. The Stock service decides what is available.

The page first loads current availability, then receives full availability updates while connected.

Behind the scenes

Stock transactionQuantity, movement and outbox
⇢
Availability eventFull resulting state
⇢
Catalog projectionSnapshot + live stream
→
Open product pagePurchase action follows availability
Full state is safe to replay. The browser reconnects with backoff and obtains a fresh snapshot after disconnection.

What this film shows

On screen

Damage and receipt change the open product page without a browser reload.

Not claimed

The live projection informs the customer but does not reserve quantity or guarantee the final unit.

Read the live availability sequence.

How we test changesRead about testing and deployment