Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Aug 22, 2025

Extend AddIncludePriorDatesToGetXComSlice version change to include GetXcomFilterParams in addition to GetXComSliceFilterParams.

This ensures that the include_prior_dates field is properly handled in API version migrations for both XCom endpoints:

  • GET /xcoms/{dag_id}/{run_id}/{task_id}/{key} (single XCom)
  • GET /xcoms/{dag_id}/{run_id}/{task_id}/{key}/slice (XCom slice)

This was missed in #53809


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Extend `AddIncludePriorDatesToGetXComSlice` version change to include
`GetXcomFilterParams` in addition to `GetXComSliceFilterParams`.

This ensures that the include_prior_dates field is properly handled
in API version migrations for both XCom endpoints:
- GET /xcoms/{dag_id}/{run_id}/{task_id}/{key} (single XCom)
- GET /xcoms/{dag_id}/{run_id}/{task_id}/{key}/slice (XCom slice)

This was missed in apache#53809
@kaxil kaxil requested review from amoghrajesh and ashb as code owners August 22, 2025 01:10
@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Aug 22, 2025
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good catch!

@amoghrajesh amoghrajesh added this to the Airflow 3.1.0 milestone Aug 22, 2025
@kaxil kaxil merged commit 2821393 into apache:main Aug 22, 2025
106 checks passed
@kaxil kaxil deleted the fix/xcom-include-prior-dates-versioning branch August 22, 2025 16:10
mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
Extend `AddIncludePriorDatesToGetXComSlice` version change to include
`GetXcomFilterParams` in addition to `GetXComSliceFilterParams`.

This ensures that the include_prior_dates field is properly handled
in API version migrations for both XCom endpoints:
- GET /xcoms/{dag_id}/{run_id}/{task_id}/{key} (single XCom)
- GET /xcoms/{dag_id}/{run_id}/{task_id}/{key}/slice (XCom slice)

This was missed in apache#53809
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API

Development

Successfully merging this pull request may close these issues.

2 participants