evanvolgas commented on issue #57470:
URL: https://github.com/apache/airflow/issues/57470#issuecomment-3672546381

   Hey Y'all
   
   I wanted to share some findings after digging through the codebase and PR 
history. I may have missed something, so please correct me if I'm wrong.
   
   What I found:
   
   1. PR #57815 (Nov 8) attempted a fix but broke K8s tests and was fully 
reverted in PR #58097 (Nov 9)
   2. PR #58196 (Nov 12) partially re-applied the fix, focusing on the session 
scoping in app.py
   3. PR #59245 (Dec 9) added further refinements to the login flow
   
   The root cause appears to be incompatible session types introduced during 
the FAB 5 upgrade (#50960), where sqlalchemy.orm.session.Session and 
sqlalchemy.orm.scoping.scoped_session were being mixed.
   
   Key finding: The fix from PR #58196 (commit 54634ea47e) is currently in main 
and v3-1-test branches, but doesn't appear to be in any stable 3.1.x release 
yet (checked through 3.1.5).
   
   For those still experiencing this issue:
   
   If you're running Airflow 3.1.1-3.1.5, the fix may not be in your version 
yet. You might need to:
   - Wait for the next 3.1.x release that includes commit 54634ea47e
   - Build from the v3-1-test branch if you need an immediate fix
   - Monitor this issue for backport announcements
   
   Could maintainers confirm whether this fix is scheduled for backporting to 
3.1.x stable?
   
   Happy to help investigate further if anyone is still seeing this issue on 
recent builds from main.


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