bluesky / event-model

data model for event-based data collection and analysis
https://blueskyproject.io/event-model
BSD 3-Clause "New" or "Revised" License
13 stars 30 forks source link

Check for collisions in run router #195

Closed danielballan closed 3 years ago

danielballan commented 3 years ago

While working on tests for https://github.com/bluesky/bluesky-live/pull/3 I accidentally fed RunRouter the same 'start' doc twice. It accepted it without complaint, leading to weird subsequent behavior that took me awhile to understand. This proactive collision-checking would have made the problem immediately clear.