The GitHub Actions job "Tests AMD" on airflow.git/backport-a18fc01-v3-1-test 
has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
cec499dd8b407b16a82d0ffe3f77e6bc153a6a5d / Kaxil Naik <[email protected]>
[v3-1-test] 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
(cherry picked from commit a18fc01dbda319d6670cfab9071b2760a7fc9fe3)

Co-authored-by: Kaxil Naik <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to