All engineering notes

Operations

Designing a dispatch exception queue

Give dispatchers a clear queue when carrier events arrive late, twice, or out of order.

Design the workflow

Store the carrier event identifier, event timestamp, and receipt timestamp. Deduplicate using the carrier’s identifier and keep receipt time for diagnosing delays.

Make exceptions actionable

Show the last reliable shipment status beside the unresolved event. Define who owns each exception and test late, duplicate, and out-of-order events before rollout.