Skip to content

xcom_pull called via AirflowGUI can't be set include_prior_dates=True #56840

@kawatatatsuya

Description

@kawatatatsuya

Apache Airflow version

3.1.0

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

I tried to retrieve a value that was pushed to XCom in DAG A from DAG B.
When I intentionally changed the scheduled execution times of DAG A and DAG B and ran them, I was unable to retrieve the XCom value from DAG B.
After making a small modification to the source code, I found that the parameter include_prior_dates=True was not being passed, and in all calls made from the Airflow GUI, this value was set to False, which caused the return value not to be retrieved.

What you think should happen instead?

That the value of include_prior_dates is correctly passed.

How to reproduce

Start the attached DAG_A, and then start DAG_B from the Airflow GUI.
DAG_B.py
DAG_A.py

Operating System

Ubuntu 22.04.4 LTS

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

uv 0.9.3
Python 3.10.7

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions