The GitHub Actions job "Tests AMD" on 
airflow.git/fix-email-notification-db-constraint has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
438cc12b8f9570e4ae452da1d16c061396778c92 / Kaxil Naik <[email protected]>
Fix scheduler crash with email notifications

The ``EmailNotificationRequest`` class name (25 characters) exceeded the
database constraint for ``DbCallbackRequest.callback_type column`` (20
characters), causing scheduler crashes when email notifications were
triggered for task failures or retries.

This fix renames the class to ``EmailRequest`` (12 characters) to fit within
the constraint. A backwards compatibility alias ensures existing DB
entries with `'EmailNotificationRequest'` can still be deserialized via
getattr lookup.

The 20-character limit is arbitrary and does not affect performance.
In a follow-up PR for 3.2, we should increase this to 50+ characters
to accommodate descriptive class names without requiring abbreviations.

Fixes #56426

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

With regards,
GitHub Actions via GitBox


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

Reply via email to