<@ULVA73B9P> I have a weekly scheduled flow. It ra...
# ask-marvin
h
@Marvin I have a weekly scheduled flow. It ran on the previous week and this week it was cancelled. I see no logs, but under the Details section the State Message is: “This flow run is missing infrastructure tracking information and cancellation cannot be guaranteed”. What do it mean and why was it cancelled?
m
The message "This flow run is missing infrastructure tracking information and cancellation cannot be guaranteed" indicates that Prefect was unable to find the necessary infrastructure details to properly manage the cancellation of your flow. This could happen if: 1. Infrastructure Support: The infrastructure that your flow was running on does not support cancellation, or the infrastructure's identifier scope did not match, preventing the worker from cancelling the flow run. 2. Missing Infrastructure Information: If the infrastructure associated with the flow run cannot be found or has already been terminated, Prefect marks the flow run as cancelled but cannot guarantee the cancellation. 3. Unexpected Errors: If an unexpected error occurs during the cancellation process, the flow run may or may not be cancelled depending on where the error occurred. To address this, you may need to review your infrastructure setup and ensure that it supports proper tracking and cancellation. More details can be found in the Prefect documentation on cancellation.