The GitHub Actions job "Tests (AMD)" on airflow.git/feature/chart-bidirectional-migrations has failed. Run started by GitHub user jykae (triggered by jykae).
Head commit for run: 85fcb3f585a9093d4956958209ebc4ec8dacabb2 / Ville JyrkkÀ <[email protected]> Chart: Run migrate-database-job as post-install,pre-upgrade hook The previous commit ran the job as pre-install,pre-upgrade. That breaks fresh install because the chart-bundled postgres (and any other regular resources the job depends on) does not exist yet when pre-install hooks run, so the job pod sits waiting for the DB and Helm eventually times out. The downgrade requirement is only that the hook runs *before* helm rolls the new image, so the OLD api-server pod is still up and the reverse alembic scripts (which ship in the OLD image, not the new one) are reachable via kubectl exec. pre-upgrade satisfies that. For fresh install the job runs post-install (after the bundled postgres is up), decide_action() returns 'fresh' because there is no alembic row, and the regular 'airflow db migrate' branch executes. The downgrade branch is unreachable on fresh install. Apply the same hook phase to the supporting ServiceAccount, Role and RoleBinding (with weight -5 vs the Job's 1) so they exist before the Job runs in either phase. Report URL: https://github.com/apache/airflow/actions/runs/27197459573 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
