The GitHub Actions job "Tests AMD" on airflow.git/main has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
a18fc01dbda319d6670cfab9071b2760a7fc9fe3 / Kaxil Naik <[email protected]>
Fix scheduler crash with email notifications (#56429)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to