‹ Field Guide

One seat, two tickets

Letters from Miko Town · 02 · Advanced

Koko sends a reservation to the ticket office. A strip of paper slips out of the printer. Before Michi can read the seat number, the radio goes quiet. On Koko’s screen, the request has timed out.

“Should I press it again?”

Play one turn

Turn over the office ledger. Seat 12 is already reserved under reservation B-17. The office finished its work and lost the acknowledgement on the way back.

Choose the next move. Send the booking again under a fresh number, look up B-17, or tell the visitor the first attempt definitely failed.

Look up B-17. If the service supports an idempotent retry, send the same operation with its original reservation ID. The office must enforce that ID and return the original receipt. Giving a fresh retry a new ID makes it look like a different purchase.

What the cats learned

A timeout says what the caller observed. It leaves the remote outcome uncertain. In a durable workflow, restoring the caller’s checkpoint can restore its place in the sequence while the ticket office already holds a reservation. The two systems need a shared way to identify the intended booking. Temporal’s activity idempotency guide

Your turn

Two passengers really do want two seats. Which identifier should be different across their bookings, and which should stay the same across retries of the first booking?

Journal prompt. Sketch the instant when a seat has been reserved but Koko still has no receipt. Label what each side knows.

Play The stamp that came back twice · Read the first letter