PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.33k stars 1.5k forks source link

Add fix for bad result references from the API #14239

Closed cicdw closed 1 week ago

cicdw commented 1 week ago

This PR fixes the situation in which the API rejects a Running state and returns a Completed state with a stale result reference - results should be entirely handled by the transactional machinery. This PR bandaids that situation with a try / except that we'll be able to remove once the API is less heavy-handed.