Skip to content

Update tasklock logic to read directly from prefect's database instead of the webhook #1035

@Ishankoradia

Description

@Ishankoradia

Noora's syncs were locked by system user hours after the job was finished.

Clearly, the webhook notifications are not reliable. They work sometimes and dont work the other time.

We could read the flow run status directly from prefect's database flow_run_state, not using the api but raw sql query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions