potiuk commented on PR #38743:
URL: https://github.com/apache/airflow/pull/38743#issuecomment-2037907603

   > I think the code is right. If the table has been dropped, the decrypt is 
not run. Because in 2.8.4, we still have the trigger table, the decryption ran 
and failed. The code path is only evaluated at the end of migrations so if user 
is going from 2.9.0 to 2.0.0, it will only be run when the migration completes 
and DB in 2.0.0 state
   
   Ah. OK then our migration to 2.0.0 and back is not really testing all the 
code paths. Maybe we should consider doing migration tests also to the previous 
latest MINOR version. I think we rarely change past migration scripts - so if 
we add just migration down one MINOR version, we should catch all such cases.


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