RaceStatus
Full lifecycle status of a race — see packages/types/src/state-machines.ts
for the canonical transition map. Operators may move freely among the
non-terminal states (forward or back) so a mis-click or false start can be
corrected; the natural flat lifecycle traverses the stalls sequence
(GOING_BEHIND, GOING_IN_STALLS) while jump races skip it. WEIGHED_IN,
RACE_VOID, and ABANDONED are terminal — recovery from these is a separate,
deliberate flow, never a status step-back.
Values
Section titled “Values”| Value | Description |
|---|---|
DORMANT | Race created, not yet started. |
DELAYED | Race start has been delayed. Reachable from any pre-race state. |
PARADING | Horses are in the parade ring. |
GOING_DOWN | Horses are leaving the paddock for the start. |
GOING_BEHIND | Horses are going behind the stalls (flat only). |
GOING_IN_STALLS | Horses are being loaded into the stalls (flat only). |
AT_THE_POST | Horses have reached the starting position. |
UNDER_ORDERS | Under starter’s orders — the moment before the race begins. |
FALSE_START | False start called; the start sequence will be retried. |
OFF | Race has started. |
FINISHED | Horses have crossed the line; result not yet announced. |
PHOTOGRAPH | Photo finish under review. |
RESULT | Result has been announced. |
WEIGHED_IN | Result confirmed official; bets settle. Terminal. |
RACE_VOID | Race ran but the result has been voided (e.g. wrong course). Terminal. |
ABANDONED | Race did not run or was stopped. Terminal. |