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

Head commit for run:
ff5f04257db6c3d020b29dcd07ba1db9c603a532 / hterik <[email protected]>
Use new exception type inheriting BaseException for SIGTERMs

When a task is terminated, it get sent a SIGTERM signal,
(through standard_task_runner.terminate).
This signal is picked up by taskinstance.py, where it injects an
AirflowException into the current running task.

The exception raised there is now changed into a new
AirflowTaskTerminated exception.
This new exception inherits BaseException, so that it
is not caught and ignored accidentally by code that tries
to perform ordinary error handling. Because termination requests
should not be ignored.

This will improve reliability of cancelling tasks and will make
error logs and error categorization more clear about the reason
for failure.

(The terminate function does eventually send SIGKILL if the
 SIGTERM is ignored, but waiting for that should not be necessary)

See https://docs.python.org/3/library/exceptions.html#exception-hierarchy

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

With regards,
GitHub Actions via GitBox


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

Reply via email to