Skip to content

Performance regression: The execution API load serialized Dag for every task #75791

Closed

Description

@jason810496

Body

  • The following section load serialized Dag for each task even if the task is normal Python task.
  • The expected behavior is that we should only load the serialized Dag for the non-Python task.

serialized_task = get_task(dag_bag, ti, session=session)
# Only set for lang-SDK (foreign-runtime) tasks with a captured TaskFlow arg
# spec; the route excludes unset fields, keeping regular responses lean.
if client_supports_arg_bindings() and (arg_bindings := get_arg_bindings(serialized_task)):

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. self-assigned this
    on Oct 27, 2026
  2. added
    priority:high
    affected_version:3.4.0rc
    on Oct 27, 2026
  3. added
    priority:critical
    and removed
    priority:high
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affected_version:3.4.0rcpriority:critical

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions