Open kmharrington opened 9 months ago
This and possibly some of the other HK errors look like they're happening when the HK database update is running. A db_file is commited first, then the agents/fields are updated. So if there are no agents in a file we should just go backwards in time to find agents.
We see this error a lot while running update-book-plan: https://prefect.simonsobs.org/flow-runs/flow-run/ce436902-324e-4aa1-90eb-9c717c9c733c. This should be handled better in data-packaging somehow.