Update the webhook logic to create locks when prefect notifies on Running & Pending states.
Create the flow run entry in our db as soon as locks are create.
Update the flow run entry in our db whenever a terminal state is notified by prefect
Setup a celery periodic task to sync flow runs every 6 hours i.e. twice a day. This will by default sync flow runs for the past 24 hours
Added a script to sync flow runs of any or all org.
Need to add webhook states in the notification from prefect UI, i think Running & Pending are missing.
@himanshudube97 can you do this on production, once this PR is merged and released.
Running
&Pending
states.Need to add webhook states in the notification from prefect UI, i think
Running
&Pending
are missing. @himanshudube97 can you do this on production, once this PR is merged and released.