The GitHub Actions job "Tests (ARM)" on airflow.git/v3-3-test has failed.
Run started by GitHub user shahar1 (triggered by shahar1).

Head commit for run:
2a6d16c46cfd7f11e6c4beed608f929214a1da6d / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v3-3-test] Make airflow dags test wait for Human-in-the-loop input instead of 
hanging (#68492) (#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 <[email protected]>
Co-authored-by: Rahul Vats <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/28334713894

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to