deepujain commented on PR #64375:
URL: https://github.com/apache/airflow/pull/64375#issuecomment-4151316023

   Replying to the 3.x question: I do not have a separate user reproduction on 
a released 3.x build, but the broken code path is present on current `main` 
before this fix. In `providers/fab/.../user_command.py`, 
`user_reset_password()` still looked the user up via one 
`get_application_builder()` context and then called `reset_password()` inside a 
second one, which is the same pattern that triggers the SQLAlchemy / Flask 
app-context error reported for 2.11.x.
   
   So this is partly observed and partly inference:
   - observed: the issue is reproduced by reporters on 2.11.1 and 2.11.2
   - observed: the same broken two-context implementation was still on `main` 
before this PR
   - inference: the bug should affect 3.x FAB CLI as well unless another 
surrounding change masks it in a particular environment
   
   That is why I targeted `main` here rather than treating it as 2.11-only.


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