Latest Records Wait For First Upload

Step 2: Wait For First Upload

Poll GET /ingestions/{{latest_records_task_id}} until the task is terminal. Retries are bounded by {{latest_records_poll_retries}}.

Why it's needed

The upload in step 1 returns a pending task immediately; the bytes are processed asynchronously. Until processing finishes, the facility locations do not exist, so there is nothing for step 3's upload to supersede โ€” and a second upload racing the first would leave which record wins decided by timing.

This step is the barrier that makes the demonstration deterministic.

Next Step

โ†’ Step 3: Re-Upload With A Later Window โ€” the same facilities again, with a later end_date.