You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2026/06/28 12:22:12 UTC

[PR] [v3-3-test] Make airflow dags test wait for Human-in-the-loop input instead of hanging (#68492) [airflow]

github-actions[bot] opened a new pull request, #69104:
URL: https://github.com/apache/airflow/pull/69104

   * Make airflow dags test wait for Human-in-the-loop input instead of hanging
   
   Previously a HITL task that parked in awaiting_input made `airflow dags
   test` loop "No tasks to run. unrunnable tasks: ..." once per second
   forever, with no way to make progress (the in-process runner also
   swallows SIGTERM, so even `timeout` could not stop it).
   
   dag.test() now treats parked HITL tasks as waiting rather than
   unrunnable, and never resolves them itself: the run stays alive, logging
   which tasks await input, until a response recorded from outside flips
   them back to SCHEDULED -- at which point the existing loop resumes them.
   This matches how a parked task behaves on a real deployment, and the
   existing response channels work unchanged: the Required Actions UI or
   the HITL REST API (PATCH .../hitlDetails) of an api-server sharing the
   metadata database (e.g. airflow standalone). Humans and AI agents can
   drive HITL pipelines locally by running dags test and submitting the
   response through that API.
   
   Interactive console prompting in the dags test CLI is left for a
   follow-up.
   
   * Document the HITL REST API calls for responding during dags test
   (cherry picked from commit 63cee22e9be3e1901b9002dc6be58198ed09eef1)
   
   Co-authored-by: Kaxil Naik <ka...@gmail.com>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-3-test] Make airflow dags test wait for Human-in-the-loop input instead of hanging (#68492) [airflow]

Posted by "shahar1 (via GitHub)" <gi...@apache.org>.
shahar1 merged PR #69104:
URL: https://github.com/apache/airflow/pull/69104


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-3-test] Make airflow dags test wait for Human-in-the-loop input instead of hanging (#68492) [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #69104:
URL: https://github.com/apache/airflow/pull/69104#issuecomment-4826335845

   Hi maintainer, this PR was merged without a milestone set.
   We've automatically set the milestone to **[Airflow 3.3.1](https://github.com/apache/airflow/milestone/146)** based on: merged to version branch
   If this milestone is not correct, please update it to the appropriate milestone.
   
   > This comment was generated by [Milestone Tag Assistant](https://github.com/apache/airflow/blob/main/.github/workflows/milestone-tag-assistant.yml).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org