You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Celery dispatches the next chain link and any `link` callbacks from inside
`trace_task` after the body returns but before `task_postrun`, so the task they
follow still looks current and they were being recorded as its children.
They're successors, not subtasks.
Nothing on the wire distinguishes them from a publish the body made itself, so
this matches against the running task's own `request.chain`/`request.callbacks`
rather than inspecting the stack.
Retries still nest — a retry republishes the same task, which isn't among its
own successors.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments