luc-pimentel commented on PR #74650:
URL: https://github.com/apache/airflow/pull/74650#issuecomment-6251891060

   #70961 merged today and rewrote `Trigger.clean_unused`. Each retry attempt 
now runs in its own session from `create_session`, which rolls back on any 
exception, so #74614 is already covered on main. That is also why this branch 
conflicts, and after a rebase there is nothing left to roll back.
   
   Should this one be closed, with a note on #74614 that #70961 fixed it?
   
   I ran a test in Breeze on SQLite that closes the DBAPI connection under the 
task_instance UPDATE: `PendingRollbackError` at this PR's base, passes at this 
head, passes on current main without this change.
   
   ---
   Drafted-by: Claude Code 2.1.302; reviewed by @luc-pimentel before posting
   


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