estella00911 commented on issue #75531: URL: https://github.com/apache/airflow/issues/75531#issuecomment-6416027140
Thanks @amoghrajesh for the clarification! I tried a similar state check that only allows `AWAITING_INPUT` and `DEFERRED`, but I noticed two possible `RUNNING` scenarios: - **Early response (200):** `RUNNING` → HITL request created → User responds before parking → `SCHEDULED` - **Timeout resume (409):** `AWAITING_INPUT` → Timeout → `SCHEDULED` → `RUNNING` (handling timeout event) → `FAILED` I found that `TIAwaitingInputStatePayload` seems to handle early responses. Should we also consider the `RUNNING` state when deciding whether to return 409? I reproduced the original issue, but haven't reproduced these `RUNNING` scenarios myself yet. -- 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]
