sidshas03 opened a new pull request, #63355:
URL: https://github.com/apache/airflow/pull/63355

   Fixes #63183
   Implemented a focused fix for duplicate terminal state update conflict.
   
   What I changed:
   - added guard in task runner for API 409 `invalid_state`
   - if API says TI is already in requested state (example: 
`previous_state=success` while sending success), task runner will not fail the 
process
   - if API state does not match requested state, existing failure behaviour is 
kept
   
   Tests added:
   - duplicate success conflict is ignored
   - conflicting state update still raises error
   
   Ran targeted task-sdk tests and lint locally.


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