ramitkataria commented on PR #76848:
URL: https://github.com/apache/airflow/pull/76848#issuecomment-6965459384

   > Not something this PR introduced, but it's the same family of bug: 
`ComprehendStartPiiEntitiesDetectionJobCompletedSensor.INTERMEDIATE_STATES` 
only lists `IN_PROGRESS`, so in non-deferrable mode a job that's still 
`SUBMITTED` makes `poke()` return True straight away. The waiter retries on 
`SUBMITTED`, so deferrable mode is fine. Worth a small follow-up PR to add 
`SUBMITTED` there?
   
   Good catch, thanks! Confirmed: the waiter retries on `SUBMITTED` but the 
sensor only lists `IN_PROGRESS`. I'll open a follow-up.
   
   I found a few similar gaps while checking the other sensors here (ingestion 
job `STOPPING`/`STOPPED`, knowledge base `*_UNSUCCESSFUL`, OpenSearch 
Serverless `UPDATING`/`UPDATE_FAILED`), so I'll probably include those too


-- 
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]

Reply via email to