Similarly to #1530, for the queuing usecase we would like to be able to ask plans what their expected runtime would be for a given set of parameters. From the plan side we would need to be able to define a function that can calculate this in some way, from the BlueAPI side we would then need to be able to associate the run time calculator with it's given plan.
From our perspective this could be the same endpoint as the validate e.g. we pass in a set of plans and we get if they are valid and how long we think they would take. If they are separate endpoints this is also fine but we want it to be performant enough that we can validate/check runtime of ~100 plans in <1s
Acceptance Criteria
- We agree a way of adding this metadata to plans - may be worth discussing with the Bluesky community
- There is an endpoint in BlueAPI that lets us get this for a plan
Similarly to #1530, for the queuing usecase we would like to be able to ask plans what their expected runtime would be for a given set of parameters. From the plan side we would need to be able to define a function that can calculate this in some way, from the BlueAPI side we would then need to be able to associate the run time calculator with it's given plan.
From our perspective this could be the same endpoint as the validate e.g. we pass in a set of plans and we get if they are valid and how long we think they would take. If they are separate endpoints this is also fine but we want it to be performant enough that we can validate/check runtime of ~100 plans in <1s
Acceptance Criteria