The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).

Head commit for run:
2cacff906886fcade2128e372b601e8819fb4129 / Ephraim Anierobi 
<[email protected]>
Fix migration issues and tighten the CI upgrade/downgrade test

There was a typo that was not detected in the migration file which prevented 
upgrades.
On fixing the typo, some other migration issues were detected.
Apart from postgres, other dbs couldn't upgrade -> downgrade -> upgrade. This 
was partly
because we now create new DB from the ORM which also uses a naming convention 
to create constraints.

I have applied a fix, the side effect is that it breaks offline generation of 
sql for mysql. This is because it uses the new naming convention to create 
constraints when we run upgrade through the migration file. In
migration file 0093, we dropped unique keys with names dag_id & dag_id_2 while 
with the naming
convention in place, these two now have a unique name across all db that's 
different from the names
we use to drop the keys. Because of that, I have chosen to use sqlalchemy 
inspector to get the name
and drop them.

Report URL: https://github.com/apache/airflow/actions/runs/2906111408

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to