Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimedOut task has no duration or end time #15944

Open
kevingrismore opened this issue Nov 7, 2024 · 0 comments
Open

TimedOut task has no duration or end time #15944

kevingrismore opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kevingrismore
Copy link
Contributor

kevingrismore commented Nov 7, 2024

Bug summary

Using the following sample flow to produce a TimedOut task and flow, the flow run receives a duration and end time but the task run does not.

from prefect import flow, task
import requests

@task(timeout_seconds=5)
def timeout_task():
    requests.get("http://httpbin.org/delay/10")

@flow
def timeout_flow():
    timeout_task()


if __name__ == "__main__":
    timeout_flow()
image image

Version info

Version:             3.1.0
API version:         0.8.4
Python version:      3.12.4
Git commit:          a83ba39b
Built:               Thu, Oct 31, 2024 12:43 PM
OS/Arch:             darwin/arm64
Profile:             default
Server type:         cloud
Pydantic version:    2.9.1

Additional context

No response

@kevingrismore kevingrismore added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant