It's been more than half a year since this topic was last brought up, and
the PR has finally been merged and backported! Now new AirflowException
will be blocked by the CI!

https://github.com/apache/airflow/pull/55416
https://github.com/apache/airflow/pull/64992

Best,
Wei

Amogh Desai <[email protected]> 於 2025年9月15日週一 下午11:28寫道:

> Thanks for taking this on, Wei.
>
> It is unfortunate that entirely removing AirflowException isn't easy but
> this is a
> good step ahead to halting any more occurrences intentionally /
> unintentionally.
>
> Reviewed your PRs :)
>
> Thanks & Regards,
> Amogh Desai
>
>
> On Sat, Sep 13, 2025 at 12:25 PM Wei Lee <[email protected]> wrote:
>
> > Lazy consensus passed. Mark the 2 PRs as ready to review.
> >
> > Wei Lee <[email protected]> 於 2025年9月9日 週二 上午11:31寫道:
> >
> > > Hi all,
> > >
> > > Following positive feedback on
> > > https://lists.apache.org/thread/5rv4tz0oc27bgr4khx0on0jz8fpxvh55, I
> > > propose a lazy consensus to avoid new direct *AirflowException* usage
> > > (i.e., *raise AirflowException*).
> > >
> > > Relevant PRs:
> > > * docs(contributing-docs): avoid raise AirflowException directly #55420
> > > <https://github.com/apache/airflow/pull/55420>: adding this as the
> best
> > > practices in the contribution guide
> > > * build(prek-hook): Check whether new "raise AirflowException" is added
> > > #55416 <https://github.com/apache/airflow/pull/55416>: adding a prek
> > hook
> > > to block "raise AirflowException"
> > >
> > > If there are no objections by Friday, the 12th of September 2025, 1 pm
> > > AoE, this will be considered accepted.
> > >
> > > Best regards,
> > > Wei Lee
> > >
> >
>

Reply via email to