Skip to content

[BUG] "Scheduling timed out" does not show as an error #3922

@vnghia

Description

@vnghia

Describe the issue
When using aio_run_many and the children task can not run because of scheduling timed out, the status of the parent is still success. This is very misleading and could lead to bigger problem because the error is not addressed correspondingly.

Environment

  • SDK: Python v1.33.5
  • Engine: Selfhosted v0.86.7

Expected behavior
When the children task can not because of scheduling timed out, the status of the parent should show error

Code to Reproduce, Logs, or Screenshots

# set child_wf concurrency to 1
# spawn 100 child tasks
# sleep like 10s
# schedule timeout to 10s
child_wf.aio_run_many([])

Additional context
Thank you very much for Hatchet :D

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