jscheffl commented on code in PR #68028: URL: https://github.com/apache/airflow/pull/68028#discussion_r3364707498
########## airflow-core/docs/tutorial/hitl.rst: ########## @@ -23,6 +23,17 @@ HITLOperator (Human-in-the-loop) Human-in-the-Loop (HITL) functionality allows you to incorporate human decision-making directly into your workflows. This powerful feature enables workflows to pause and wait for human input, making it perfect for approval processes, manual quality checks, and scenarios where human judgment is essential. +.. versionchanged:: 3.3 + + A HITL task waiting for input now uses a dedicated, scheduler-managed ``awaiting_input`` task state + instead of deferring onto the triggerer. While waiting, the task holds neither a worker slot nor the + triggerer, so the triggerer can scale to zero even while tasks await a response; tasks resume on a human + response or on the scheduler's response-timeout sweep. On Airflow 3.1 and 3.2, HITL tasks use the older + trigger-based deferral. + + A waiting ``awaiting_input`` task does not occupy a pool slot. This differs from the older deferral Review Comment: Did not consider pool slot in first view but cool! Yeah should not be counted in and adding complexity in pool slot cal would be bad, so a dedicated state is really helpful here! -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
