MarcusCramer91 opened a new issue, #57791:
URL: https://github.com/apache/airflow/issues/57791

   ### Apache Airflow version
   
   3.1.1
   
   ### If "Other Airflow 2/3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When triggering a Cloud Run Job via `CloudRunExecuteJobOperator` with 
deferrable=True, the task is marked as successful in Airflow when in fact the 
job has been canceled on the Google side. 
   
   It is correctly marked as failed when deferrable=False.
   
   ### What you think should happen instead?
   
   The task should be marked as failed in both cases.
   
   ### How to reproduce
   
   Build a DAG with two `CloudRunExecuteJobOperator`s, one with 
`deferrable=True`, the other with `deferrable=False`. Quickly switch over to 
the Google UI and cancel both tasks.
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-google==18.1.0
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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