Skip to content

Make TaskInstanceState and DagRunState public in task-sdk - #54945

Merged
vatsrahul1001 merged 4 commits into
apache:mainfrom
astronomer:fix-task-sdk-imports-TaskInstanceState-DagRunState
Sep 5, 2025
Merged

vatsrahul1001 merged 4 commits into
apache:mainfrom
astronomer:fix-task-sdk-imports-TaskInstanceState-DagRunState

Conversation

@sunank200

@sunank200 sunank200 commented Aug 26, 2025 •

Copy link
Copy Markdown
Collaborator

Make TaskInstanceState and DagRunState public in task-sdk. Remove imports from airflow-core for TaskInstanceState and DagRunState from task-sdk.

closes: #54902
closes: #54901


^ 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.

@sunank200
sunank200 force-pushed the fix-task-sdk-imports-TaskInstanceState-DagRunState branch 3 times, most recently from 6896e2b to 2fe03e0 Compare August 26, 2025 16:49
@sunank200
sunank200 marked this pull request as ready for review August 26, 2025 18:19

@amoghrajesh amoghrajesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One comment, either do that in this PR or a follow up.

@sunank200 sunank200 mentioned this pull request Sep 1, 2025
3 of 9 tasks
@sunank200
sunank200 force-pushed the fix-task-sdk-imports-TaskInstanceState-DagRunState branch 2 times, most recently from 12553b9 to fe918a7 Compare September 3, 2025 05:21
@amoghrajesh

amoghrajesh commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

Public facing docs and examples need updates too, DagRunState is used in public-airflow-interface.rst for example.

@sunank200
sunank200 force-pushed the fix-task-sdk-imports-TaskInstanceState-DagRunState branch from c52c914 to 0c0f2e7 Compare September 4, 2025 11:48
@sunank200
sunank200 force-pushed the fix-task-sdk-imports-TaskInstanceState-DagRunState branch from 0c0f2e7 to 880d5bb Compare September 5, 2025 09:42

@amoghrajesh amoghrajesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just one comment, LGTM otherwise

@vatsrahul1001
vatsrahul1001 merged commit 0ae578d into apache:main Sep 5, 2025
@vatsrahul1001
vatsrahul1001 deleted the fix-task-sdk-imports-TaskInstanceState-DagRunState branch September 5, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Make DagRunState public in task-sdk Make TaskInstanceState public in task-sdk

3 participants