Skip to content

Implement Python task handlers for YAML run tasks - #75316

Closed
abhijeets25012-tech wants to merge 1 commit into
apache:mainfrom
abhijeets25012-tech:implement-python-task-handler-yaml-run
Closed

abhijeets25012-tech wants to merge 1 commit into
apache:mainfrom
abhijeets25012-tech:implement-python-task-handler-yaml-run

Conversation

@abhijeets25012-tech

Copy link
Copy Markdown
Contributor

Adds Python task handler support for YAML Dag run tasks.

  • Introduces the public task_handler(dag_id=..., task_id=...) decorator and a registry for handler functions.
  • Adds PythonCoordinator to load and resolve handlers from the configured bundle.
  • Dispatches stub tasks to their registered handlers at runtime.
  • Validates run task arguments against handler signatures when possible.
  • Documents handler setup and usage.
    Closes Implement Python task_handler decorator for YAML Dag ‘run’ tasks #75273
    Verification
  • Ruff format and Ruff check passed for changed Python files.
  • git diff --check passed.
  • Tests were not run. breeze verify could not run because the installed uv version did not meet the repository requirement.

@boring-cyborg boring-cyborg Bot added area:coordinator Coordinator: The interface to spawn Lang-SDK subprocesses area:task-sdk kind:documentation labels Oct 21, 2026
@kaxil

kaxil commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

@abhijeets25012-tech Closing this. #75273 is assigned to a maintainer who has already linked #75405 to it, so commenting "I will do it" and opening a PR 25 minutes later is not how this works.

Also, the PR says no tests were run, and for a change like this unit tests alone wouldn't be enough anyway. We need real evidence it works end to end: screenshots, a demo video or a gif of a YAML Dag actually running its handler.

Please check an issue is unassigned before you pick it up, and maybe start with the good first issue ones.

@kaxil kaxil closed this Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:coordinator Coordinator: The interface to spawn Lang-SDK subprocesses area:task-sdk kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Python task_handler decorator for YAML Dag ‘run’ tasks

2 participants