Skip to content

chord fails when there's only one task #3574

Closed

Description

@chripede

Because of this commit 867a3aa a chord is changed if it's in the form of chord([A], B)
However the task_id is always set, even if it's None. That causes the code here https://github.com/celery/celery/blob/v4.0.0/celery/canvas.py#L268 to skip task id generation, and the task will ultimately fail with ValueError: AsyncResult requires valid id, not <type 'NoneType'>

Activity

  1. calvinwyoung commented on Dec 9, 2016

    @calvinwyoung

    FWIW, there's another discussion about this here: #3597

  2. alukach commented on Jul 25, 2017

    @alukach
    Contributor

    These all seem to be the same: #3317 #3709 #3597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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