Skip to content

Conversation

@kaxil
Copy link
Member

@kaxil kaxil commented Aug 23, 2025

Follow-up of the fix in #54756

  • Move task_group_to_dict and task_group_to_dict_grid functions from task-sdk to airflow-core API services
  • Update import paths in grid.py and structure.py to use new server-side location
  • Update deprecation mappings to point to new FastAPI service module locations
  • Remove AbstractOperator from isinstance checks in server-side functions (now handles only serialized objects)
  • Split mixed tests: moved TaskGroup functionality tests to task-sdk, keep server function tests in airflow-core
  • Add comprehensive TaskGroup tests in task-sdk covering creation, relationships, decorators, and validation
  • Create clear architectural boundary: client-side TaskGroup authoring vs server-side serialized DAG processing
image

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

@kaxil kaxil changed the title Move task_group_to_dict functions to Core Move TaskGroup UI & API functions to server-side Aug 23, 2025
@kaxil kaxil force-pushed the task-group-server branch from 5fb25f5 to 0ee9b2c Compare August 23, 2025 12:17
…organize tests

Follow-up of the fix in apache#54756
- Move `task_group_to_dict` and `task_group_to_dict_grid` functions from `task-sdk` to `airflow-core` API services
- Update import paths in `grid.py` and `structure.py` to use new server-side location
- Update deprecation mappings to point to new FastAPI service module locations
- Remove `AbstractOperator` from isinstance checks in server-side functions (now handles only serialized objects)
- Split mixed tests: moved TaskGroup functionality tests to `task-sdk`, keep server function tests in `airflow-core`
- Add comprehensive TaskGroup tests in `task-sdk` covering creation, relationships, decorators, and validation
- Create clear architectural boundary: client-side TaskGroup authoring vs server-side serialized DAG processing
@kaxil kaxil force-pushed the task-group-server branch from 0ee9b2c to fb0c242 Compare August 26, 2025 17:24
@kaxil kaxil merged commit c8a0f51 into apache:main Aug 26, 2025
107 checks passed
@kaxil kaxil deleted the task-group-server branch August 26, 2025 18:11
@github-actions
Copy link

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker c8a0f51 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

mangal-vairalkar pushed a commit to mangal-vairalkar/airflow that referenced this pull request Aug 30, 2025
…organize tests (apache#54857)

Follow-up of the fix in apache#54756
- Move `task_group_to_dict` and `task_group_to_dict_grid` functions from `task-sdk` to `airflow-core` API services
- Update import paths in `grid.py` and `structure.py` to use new server-side location
- Update deprecation mappings to point to new FastAPI service module locations
- Remove `AbstractOperator` from isinstance checks in server-side functions (now handles only serialized objects)
- Split mixed tests: moved TaskGroup functionality tests to `task-sdk`, keep server function tests in `airflow-core`
- Add comprehensive TaskGroup tests in `task-sdk` covering creation, relationships, decorators, and validation
- Create clear architectural boundary: client-side TaskGroup authoring vs server-side serialized DAG processing
nothingmin pushed a commit to nothingmin/airflow that referenced this pull request Sep 2, 2025
…organize tests (apache#54857)

Follow-up of the fix in apache#54756
- Move `task_group_to_dict` and `task_group_to_dict_grid` functions from `task-sdk` to `airflow-core` API services
- Update import paths in `grid.py` and `structure.py` to use new server-side location
- Update deprecation mappings to point to new FastAPI service module locations
- Remove `AbstractOperator` from isinstance checks in server-side functions (now handles only serialized objects)
- Split mixed tests: moved TaskGroup functionality tests to `task-sdk`, keep server function tests in `airflow-core`
- Add comprehensive TaskGroup tests in `task-sdk` covering creation, relationships, decorators, and validation
- Create clear architectural boundary: client-side TaskGroup authoring vs server-side serialized DAG processing
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 area:dev-tools area:task-sdk backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Development

Successfully merging this pull request may close these issues.

2 participants