github-actions[bot] opened a new pull request, #50351:
URL: https://github.com/apache/airflow/pull/50351

   * Raise exception if downgrade can't proceed due to no `ab_user` table
   
   We only log the error that the downgrade can't proceed if the `ab_user`
   table is not found, but we should raise an exception instead.
   Currently, the CI migrations don't exit on error, which prevents the 
necessary tests from running.
   
   Also updated the CI migration tests to export DB manager at the shell
   because it seems that's not happening, hence why downgrade is running 
correctly.
   
   * result can be none so check before accessing row_count
   
   * dont raise in unittest mode
   (cherry picked from commit 0f0fc02d60bf68b7a1b61095cfa4aab75cb2ae71)
   
   Co-authored-by: Ephraim Anierobi <[email protected]>


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