Skip to content

Conversation

@sunank200
Copy link
Collaborator

@sunank200 sunank200 commented Jun 24, 2025

This PR reorganises and updates the content for task-sdk:

  • Landing page (task-sdk/docs/index.rst):
    1. Introduction & Getting Started
    2. Public Interface
    3. DAG Authoring Enhancements
    4. Example DAG References
    5. Concepts
    7. API References

  • Add concepts:
    – Details task lifecycle: scheduling → execution → heartbeats → XCom communication → retries/teardown
    – Supervisor & Task Runner

  • Move following to airflow 3
    – Compares Airflow 2.x vs 3.x architectures

Screenshot 2025-07-02 at 7 27 59 PM Screenshot 2025-06-25 at 3 18 25 AM Screenshot 2025-06-25 at 3 18 34 AM Screenshot 2025-06-25 at 3 18 46 AM Screenshot 2025-06-25 at 3 19 00 AM Screenshot 2025-06-25 at 3 19 08 AM Screenshot 2025-06-25 at 3 19 17 AM Screenshot 2025-06-25 at 3 19 28 AM Screenshot 2025-06-25 at 3 19 35 AM

closes: #49627
related: #51590


^ 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 requested a review from cmarteepants June 24, 2025 21:41
@sunank200 sunank200 force-pushed the task-sdk-docs-concepts branch 2 times, most recently from 092c4dc to eb70f52 Compare June 24, 2025 21:54
@sunank200 sunank200 force-pushed the task-sdk-docs-concepts branch 2 times, most recently from 88ef0d3 to fd59275 Compare June 25, 2025 17:58
@sunank200 sunank200 requested a review from amoghrajesh June 26, 2025 08:12
@sunank200 sunank200 force-pushed the task-sdk-docs-concepts branch 4 times, most recently from f58f14e to 0bed9ee Compare July 2, 2025 15:26
Copy link
Collaborator

@cmarteepants cmarteepants left a comment

Choose a reason for hiding this comment

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

Great job! I think moving the architecture changes to Upgrade to Airflow 3 was the right call. I also like the addition of the Supervisor & Task Runner to the Task SDK docs. Beefs it up a bit, and feels like it reinforces the split.

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.

Good work on this @sunank200! I have some nits, but overall really like the way this one is being put together.

Shoutout to @TJaniF for the AF3 book as well, which provides a bulk of the content and images for this PR!

@sunank200 sunank200 force-pushed the task-sdk-docs-concepts branch from 823a908 to 4657f55 Compare July 3, 2025 09:10
@sunank200 sunank200 force-pushed the task-sdk-docs-concepts branch from 4657f55 to f755c43 Compare July 3, 2025 09:11
@vatsrahul1001 vatsrahul1001 merged commit 261d33d into apache:main Jul 3, 2025
56 checks passed
@vatsrahul1001 vatsrahul1001 deleted the task-sdk-docs-concepts branch July 3, 2025 11:37
@sunank200 sunank200 added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Jul 3, 2025
sunank200 added a commit to astronomer/airflow that referenced this pull request Jul 3, 2025
…tions (apache#52196)

docs(task-sdk): reorganize landing page into six core sections
(cherry picked from commit 261d33d)

Co-authored-by: Ankit Chaurasia <8670962+sunank200@users.noreply.github.com>
kaxil pushed a commit that referenced this pull request Jul 3, 2025
…tions (#52196) (#52774)

docs(task-sdk): reorganize landing page into six core sections
(cherry picked from commit 261d33d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:task-sdk backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Airflow Task SDK Docs

5 participants