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

   The helper can't be used under the scheduler's `prohibit_commit`: 
`MetastoreBackend.get_variable`'s `@provide_session` opens the same scoped 
session and its commit trips the guard, so such callers must duplicate the 
backend walk.
   
   Fix: optional keyword-only `session=None`, forwarded only to 
`MetastoreBackend`. Then the duplicated loop in 
`serialization/definitions/dag.py` can be deleted (see #68917).
   
   ---
   Drafted-by: Claude Code (Fable 5); reviewed by @seanghaeli 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