littlehorse-enterprises / littlehorse

This repository contains the code for the LittleHorse Server, Dashboard, CLI, and Java/Go/Python SDK's. Brought to you by LittleHorse Enterprises LLC
https://littlehorse.dev/
Other
117 stars 10 forks source link

Add `parent_wf_run_id` to `rpc SearchWfRun` #725

Open coltmcnealy-lh opened 7 months ago

coltmcnealy-lh commented 7 months ago

We should add a field:

optional WfRunId parent_wf_run_id = ?;

to the message SearchWfRunRequest. This will allow users to restrict the results from an rpc SearchWfRun to only those that are children of a specific WfRun.

As for implementation, here are some notes:

In the long term, we need to optimize this. How?

coltmcnealy-lh commented 7 months ago

@diablouma had requested this for the control plane. We won't add it quite yet...but the short-term implementation is no more than a half day of work.

Maybe Nelson or Mateo could take this when time permits? Alternatively, it might be a good starter issue for our new hire.